-------- Original Message --------
Subject:        Re: [gentoo-user] --exclude gentoo-sources
Date:   Fri, 01 Aug 2014 20:12:06 +0300
From:   Alexander Kapshuk <alexander.kaps...@gmail.com>
To:     gentoo-user@lists.gentoo.org



On 08/01/2014 07:58 PM, James wrote:
> Howdy,
>
> I know I can use this option to protect kernel sources I 
> want to keep around, from  removal, via depclean.
>
>
> However, I use to just manually edit the world file and 
> explicitly list the kernel sources versions I wanted to keep.
> This does not seem to work anymore?
>
> Other suggestions to keep the kernel sources around ?
>
> James
>
>
emerge(1)
Packages that are part of the world set will always be kept. They can be
manually added to this  set  with  emerge --noreplace <atom>.
E.g.
emerge --noreplace =sys-kernel/gentoo-sources-x.x.x

To remove the kernel sources pkg use:
emerge --deselect sys-kernel/gentoo-sources:x.x.x
>>> Removing sys-kernel/gentoo-sources:x.x.x from "world" favorites file...
Followed by 'emerge -a --depclean'



Reply via email to