Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rookie mistake installing Java in XFCE4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RexAtHighSpeed
n00b
n00b


Joined: 09 Nov 2002
Posts: 52
Location: Charlotte, NC

PostPosted: Wed Apr 24, 2013 8:58 pm    Post subject: Rookie mistake installing Java in XFCE4 Reply with quote

I was about to install Sun Java and I needed to add a line in /etc/portage/package.accept_keywords so that the package would install ok. I thought I was going to be cool and do it all from the command line (with echo "yadda yadda" > /path/to/file). Before I ran the command I opened up the file package.accept_keywords file and saw there were two entries in there (but did not pay attention to what they were). I executed the command and then opened up the file again to see that there was only one line in there and the previous lined were gone! I suppose that since I only used > instead of >> that it overwrote the lines instead of adding to them.

Help!

I don't know what those two lines were for or how they will affect me down the road but I am sure I will pay dearly if I can't figure out what they were. Is there any way to find out what the lines were or what they need to be?

~Thanks
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9804
Location: Córdoba (Spain)

PostPosted: Wed Apr 24, 2013 9:16 pm    Post subject: Reply with quote

Um... the only thing I can think of...

If your system was up to date, then, before the cataclysm this command should have not reported anything

Code:
emerge -auDvN world


So, if you run it now, the output should give you hints on what needs to be re-keyworded. Specially, those marked to be downgraded. That way you can put them back there. How hard that will be depends only on the amount of keyworded packages and whether your system was up to date, prior to this.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31724
Location: 56N 3W

PostPosted: Wed Apr 24, 2013 9:25 pm    Post subject: Reply with quote

RexAtHighSpeed,

nano++

By up to date, i92guboj means only that the install you have matches the tree you have and that there are no packages left to update.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9804
Location: Córdoba (Spain)

PostPosted: Wed Apr 24, 2013 9:41 pm    Post subject: Reply with quote

Yes, but if there are pending upgrades they usually won't harm much. As said above, the downgrades if the pretend list will be far more informative.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
RexAtHighSpeed
n00b
n00b


Joined: 09 Nov 2002
Posts: 52
Location: Charlotte, NC

PostPosted: Thu Apr 25, 2013 3:37 am    Post subject: Reply with quote

It's a pretty fresh install so it will probably be relatively simple.

Thanks for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum