


Code: Select all
glsa-check -f allCode: Select all
sys-devel/gcc ~x86
Okay. As you're probably aware, there are two different sorts of packages which you can use - those which are marked with the "x86" keyword, and those which are marked with the "~x86" keyword. Those which are marked with the "x86" keyword are considered stable and should work on any x86 system whatsoever without a hitch. Those marked with "~x86" are considered unstable or testing, and may break. Now, if you want to use the stable "x86" profile, but want to use certain unstable or testing packages, you SHOULD NEVER EVER EVER use the command:jchomarat wrote:Thanks guys, I think i'll stick with Little Nemo answer, emerge -Upv system.
robmoss2k, what is it for the command you mentionned?
Code: Select all
ACCEPT_KEYWORDS="~x86" emerge packageCode: Select all
emerge -UDv worldCode: Select all
sys-devel/gcc ~x86
x11-base/xfree ~x86Code: Select all
emerge sync
emerge -uDpv world
emerge -uDv world
emerge -pv depclean
emerge -v depclean
revdep-rebuild -pv
revdep-rebuild -v
dispatch-conf


Agreed! A very useful thread - it has taught me about the existence of dispatch-conf, which I never knew about! And I fully agree with robmoss2k on etc-update being filthy, especially if (like me) you came to the world of Linux via Gentoo. I wonder how many fresh nOOb Gentoo installs have been hosed by the use of this very package.Little Nemo wrote:Thanks for the comprehensive explanation, robmoss2k. This is a thread I'd like to see sticky. It seems vital for every Gentoo user.

I've read about this package.keywords file, but never bothered to look into it. Actually, according to man portage there are more files you can put in /etc/portage. Nice to (finally) discover the new features of portage 2.0.50robmoss2k wrote: The correct behaviour, which was introduced in portage-2.0.50 in an attempt to fix this, is to have a file located at /etc/portage/package.keywords, which tells portage which packages you'd like to use the unstable profile for. So an example package.keywords file might look like this:Code: Select all
sys-devel/gcc ~x86 x11-base/xfree ~x86
I'm trying this at the moment, the deplcean output seemed a little scary to merobmoss2k wrote: My system is rock stable, and I use this process to update it:
Code: Select all
emerge sync emerge -uDpv world emerge -uDv world emerge -pv depclean emerge -v depclean revdep-rebuild -pv revdep-rebuild -v dispatch-conf
Code: Select all
emerge -uDav world
Code: Select all
emerge sync && emerge -uDav world
Never ever *EVER* depclean without using -p or -a (if it supports it). If there are *ANY* packages you know you want, or don't know what they are, investigate further and just remove what you don't need. depclean can be very dangerous and I'm sure it warns of this.Carmine wrote:Results: I'm stuck with a machine I can't use to do anything, and
perhaps this is the point of no return before a reinstallation.
This is _scary_![]()
![]()
Code: Select all
*** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE CAUTION.
*** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE
*** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE ALLOWING DEPCLEAN TO
*** WARNING *** : UNMERGE ANY PACKAGES.
*** WARNING *** :
*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT.
*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT
*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS.
*** WARNING *** :
*** WARNING *** : Packages in the list that are desired may be added
*** WARNING *** : directly to the world file to cause them to be ignored
*** WARNING *** : by depclean and maintained in the future. BREAKAGES DUE
*** WARNING *** : TO UNMERGING AN ==IN-USE LIBRARY== MAY BE REPAIRED BY
*** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE
*** WARNING *** : MISSING LIBRARY.
then add acl to your world file! or forget about depclean, and don't ever use it.Carmine wrote:@nevynxxx:
Yes I was scared enough but not awake yet![]()
I'm facing now a similar problem, where depclean wants to remove
'acl" and I know that a similar action led me to suffering on the other
machine...
Regards,
Well, one thing I noticed about depclean was that it wanted to remove fileutils (provides the ls, chmod, ... stuff). After checking on gentoo-portage, I learned that the fileutils package is merged into coreutils, which I had already installed. So I figured it'd be safe to continue. Indeed, apparently no problems. My only problem is that revdep-rebuild wants to rebuild openoffice-bin, which is a known "bug". Other than that, everything went fine.Carmine wrote: First attempt with "emerge depclean" lead to:
- Removal of many many *.so library files so that:
- ls,mkdir & co didn't worked anymore.

Yes, this is the acl problem. It's stupid. VERY stupid. On the Gentoo LiveCD, they've built ls, mkdir and the rest of coreutils with acl support. But they haven't put acl into anywhere that tells portage it should keep it. As a result, ls, mkdir et al link against a file (whose name I forget, I may have to investigate) which shouldn't really be there. And when it's removed by depclean... surprise, surprise! Everything breaks.Carmine wrote:@m0sk:
Let me tell you what "a scary depclean" is!![]()
Last night (error n.1 never ever attempt doing dangerous things
when there's no sun) I have discovered this thread's existence and went
to try to fix things...
First attempt with "emerge depclean" lead to:
- Removal of many many *.so library files so that:
- ls,mkdir & co didn't worked anymore.
Having realised that it would have been better if I did things in the morning,
I went to sleep...
This morning I booted from Live CD and:
error n.2: untarred stage3 over my system.
After booting I was able to emerge and do other stuff.
After emerge -vuD world came emerge depclean...
Final Error: emerge depclean choosed to bomb a lot of things
among which stuff like: shutdown emerge ....
Results: I'm stuck with a machine I can't use to do anything, and
perhaps this is the point of no return before a reinstallation.
This is _scary_![]()
![]()