Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-23 Thread Grant
On one of my Gentoo systems, portage wants to re-emerge hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but whenever new kernel sources are emerged, I just manually rm -rf the old sources in

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-23 Thread Neil Bothwick
On Fri, 23 Feb 2007 09:49:18 -0800, Grant wrote: It is true then that emerge --depclean never unmerges slotted packages? That's correct, but that's not what --depclean is for. emerge --prune will remove all but thew highest slot - use with great care! -- Neil Bothwick - We are but packets

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-23 Thread Bo Ørsted Andresen
On Friday 23 February 2007 18:49:18 Grant wrote: How can I see which versions of hardened-sources portage thinks are currently installed?  I guess I should manually unmerge old sources as above instead of using rm -rf. Yes, you can: $ equery list --duplicates [searchstring] In

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-23 Thread Grant
It is true then that emerge --depclean never unmerges slotted packages? Just how would portage know that an old slot is no longer needed? Just because a newer version is installed doesn't mean it's been compiled or that the old is no longer needed (you might need to compile some package against

[gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-22 Thread Grant
On one of my Gentoo systems, portage wants to re-emerge hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but whenever new kernel sources are emerged, I just manually rm -rf the old sources in /usr/src. I guess

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-22 Thread Bo Ørsted Andresen
On Thursday 22 February 2007 15:16:20 Grant wrote: On one of my Gentoo systems, portage wants to re-emerge hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but whenever new kernel sources are emerged, I just

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-22 Thread Marc Joliet
Am Donnerstag, den 22.02.2007, 15:30 -0800 schrieb Grant: On one of my Gentoo systems, portage wants to re-emerge hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but whenever new kernel sources are

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-22 Thread Neil Bothwick
On Fri, 23 Feb 2007 00:51:20 +0100, Marc Joliet wrote: How can I see which versions of hardened-sources portage thinks are currently installed? I guess I should manually unmerge old sources as above instead of using rm -rf. - Grant Yes, you can: $ equery list --duplicates

Re: [gentoo-user] Portage wants to re-emerge old kernel sources

2007-02-22 Thread Alan McKinnon
On Friday 23 February 2007, Neil Bothwick wrote: It's also faster to rm -fr the directories before unmerging. You'd have to do it afterwards anyway, to remove the files that portage did not install (unless you run make mrproper) but doing it first speeds things up a lot as it avoids portage