View previous topic :: View next topic |
Author |
Message |
RexAtHighSpeed n00b
Joined: 09 Nov 2002 Posts: 52 Location: Charlotte, NC
|
Posted: Wed Apr 24, 2013 8:58 pm Post subject: Rookie mistake installing Java in XFCE4 |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Apr 24, 2013 9:16 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Wed Apr 24, 2013 9:25 pm Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Apr 24, 2013 9:41 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
RexAtHighSpeed n00b
Joined: 09 Nov 2002 Posts: 52 Location: Charlotte, NC
|
Posted: Thu Apr 25, 2013 3:37 am Post subject: |
|
|
It's a pretty fresh install so it will probably be relatively simple.
Thanks for the help! |
|
Back to top |
|
|
|