Re: [gentoo-user] emerge --prune: should it work?
On Thu, 2009-04-02 at 10:49 -0700, Michael Higgins wrote: I attempted to emerge 'twinkle', a soft phone, but whoever made the ebuild neglected to include a dependency on KDE libraries. Of course, since I don't have KDE libs, emerge failed. But before failing, the ebuild had pulled in, built, and installed two *new* packages. As these packages were new dependencies only needed by 'twinkle' (which failed to install), I'd expect running emerge --prune immediately afterward to remove these unnecessary packages. But it didn't. Something should, however. Rather than my asserting that --prune is broken, since it apparently does *something* (just not what I'd expect), can someone give me a helpful clue as to what WILL remove these unneeded libraries? '-) Cheers, You should *never* use --prune. It's only there for people looking for interesting ways to break their systems. The fact that it didn't remove anything indicates that maybe you don't have multiple slots of a package installed and you just got lucky. Either manually remove the packages using --unmerge or use --depclean
Re: [gentoo-user] emerge --prune: should it work?
Michael Higgins wrote: I attempted to emerge 'twinkle', a soft phone, but whoever made the ebuild neglected to include a dependency on KDE libraries. Of course, since I don't have KDE libs, emerge failed. But before failing, the ebuild had pulled in, built, and installed two *new* packages. As these packages were new dependencies only needed by 'twinkle' (which failed to install), I'd expect running emerge --prune immediately afterward to remove these unnecessary packages. But it didn't. Something should, however. Rather than my asserting that --prune is broken, since it apparently does *something* (just not what I'd expect), can someone give me a helpful clue as to what WILL remove these unneeded libraries? '-) Cheers, I would think --depclean would take care of that. I would use the -p option at first and make sure it is not going to remove something you want to keep. Dale :-) :-)
Re: [gentoo-user] emerge --prune: should it work?
Dale schrieb: Michael Higgins wrote: I attempted to emerge 'twinkle', a soft phone, but whoever made the ebuild neglected to include a dependency on KDE libraries. Of course, since I don't have KDE libs, emerge failed. But before failing, the ebuild had pulled in, built, and installed two *new* packages. As these packages were new dependencies only needed by 'twinkle' (which failed to install), I'd expect running emerge --prune immediately afterward to remove these unnecessary packages. But it didn't. Something should, however. Rather than my asserting that --prune is broken, since it apparently does *something* (just not what I'd expect), can someone give me a helpful clue as to what WILL remove these unneeded libraries? '-) Cheers, I would think --depclean would take care of that. I would use the -p option at first and make sure it is not going to remove something you want to keep. Dale :-) :-) hi, you can also use --depclean -av so you want have to tip twice ;-) kh
Re: [gentoo-user] emerge --prune: should it work?
Albert Hopkins schrieb: You should *never* use --prune. It's only there for people looking for interesting ways to break their systems. The fact that it didn't remove anything indicates that maybe you don't have multiple slots of a package installed and you just got lucky. Hi, are you saying, that --prune is broken? I do use it sometimes. It is also in the handbook (like here [1]). I always use it together with --ask but never had any problems. kh [1] http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap9
Re: [gentoo-user] emerge --prune: should it work?
On Thu, 2009-04-02 at 21:02 +0200, KH wrote: Hi, are you saying, that --prune is broken? No. That was the OP's assertion.