On 03/09/2015 21:56, [email protected] wrote: > On 09/03/2015 01:24 PM, Mick wrote: >> On Thursday 03 Sep 2015 15:27:26 Alan McKinnon wrote: >>> On 03/09/2015 15:56, [email protected] wrote: >> >>>> sys-kernel/gentoo-sources >>>> sys-kernel/gentoo-sources:3.10.17 >>>> sys-kernel/gentoo-sources:3.5.7 >>> >>> Wee bit behind on kernel versions... >> >> Yes, only the first is needed, *unless* thelma wants to keep 3.10.17 and >> 3.5.7 >> for some reason. > > Keeping in world only: > sys-kernel/gentoo-sources > > will keep the newest kernel in world and unmerge 3.10.17 the one I'm using
Kernel sources work differently. They are the only package where every version must be it's own SLOT, and one of very few that only unpacks sources and have no equivalent to a make step. gentoo-sources will always add the latest sources when you update world, and then they stay there forever. You must manually build a kernel and install it, and unmerging the package only removes the original sources. By all means have kernel sources with versions or slots in world, it only means that you want to keep the original sources around so portage won't remove them. To fully delete a kernel version you have to unmerge the package, rm the source directory in /usr/src, rm the modules dir in /lib/modules, rm the files in /boot and edit grub.conf -- Alan McKinnon [email protected]

