On Sun, Dec 04, 2005 at 10:45:41AM -0700, Richard Fish wrote

> In addition to Holly's comments, I would take a look at the
> output of "emerge --pretend --prune".  It is likely that you have
> some slotted packages that you do not use anymore and can delete.

  *DON'T* do that.  It appears that "emerge --pretend --prune" blindly
tells you to delete all but one version of a package.  That can be a
*BAAAAD* idea.  Here is part of its output on my system...

 x11-libs/gtk+
    selected: 1.2.10-r11
   protected: 2.6.10-r1
     omitted: none

 sys-devel/automake
    selected: 1.5 1.6.3 1.7.9-r1 1.4_p6 1.8.5-r3
   protected: 1.9.6-r1
     omitted: none

 sys-devel/autoconf
    selected: 2.13
   protected: 2.59-r6
     omitted: none


  But "emerge --pretend --emptytree xmms" on my system wants (amongst
other things)...

[ebuild  N    ] sys-devel/autoconf-2.13
[ebuild  N    ] sys-devel/autoconf-2.59-r6

[ebuild  N    ] sys-devel/automake-1.5
[ebuild  N    ] sys-devel/automake-1.8.5-r3
[ebuild  N    ] sys-devel/automake-1.6.3
[ebuild  N    ] sys-devel/automake-1.7.9-r1
[ebuild  N    ] sys-devel/automake-1.4_p6
[ebuild  N    ] sys-devel/automake-wrapper-1-r1
[ebuild  N    ] sys-devel/automake-1.9.6-r1

[ebuild  N    ] x11-libs/gtk+-1.2.10-r11

  That's just 1 app.  I'm sure there are others that would experience
similar breakage.  If you "emerge --pretend --emptytree --world" and an
old version listed for deletion by --prune does *NOT* show up, you'll
probably be safe removing it.  Maybe "emerge --pretend --prune" needs to
run "emerge --pretend --emptytree --world" by default, and use its
output as a sanity-check before recommending deletions.

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list

Reply via email to