From: Alexander Kapshuk <alexander.kapshuk@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
Date: Sat, 21 Sep 2013 14:46:45 +0300 [thread overview]
Message-ID: <523D8725.2030007@gmail.com> (raw)
In-Reply-To: <CAOEsN6bSRuutEa2WqguP9=Oi9wtwb9Jhjj4uRfoVn5xoNMsrDg@mail.gmail.com>
On 09/21/2013 02:02 PM, Randolph Maaßen wrote:
> Hi,
>
> 2013/9/21 Alexander Kapshuk <alexander.kapshuk@gmail.com>:
>> emerge --depclean wants to remove the gentoo-sources for my old kernel
>> [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the
>> time being.
>>
>> Is there a way to instruct emerge not to remove them?
>>
>> 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>.
>>
>> If I understood the instruction above, 'emerge --noreplace
>> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to
>> /var/lib/portage/world_sets, which it didn't seem to do.
> No, this it the wrong file. the file /var/lib/portage/world is THE
> world set, it contains all packages you emerged manually (and with
> --noreplace).
> The file /var/lib/portage/world_sets can contain the name of other
> sets that should be included into the world.
>
>> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13
>> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom.
>> !!! Please check ebuild(5) for full details.
>>
>>
>> box0=; ls -l `pwd`/world*
>> -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world
>> -rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets
>>
>> Or is it a matter of defining something like this:
>> CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo"
>> in /etc/portage/make.conf?
>>
>>
>> Any pointers would be much appreciated.
>>
>
>
Understood.
Thanks.
prev parent reply other threads:[~2013-09-21 11:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-21 10:27 [gentoo-user] re: emerge --depclean [gentoo-sources] Alexander Kapshuk
2013-09-21 10:36 ` Neil Bothwick
2013-09-21 11:30 ` Hinnerk van Bruinehsen
2013-09-21 11:45 ` Alexander Kapshuk
2013-09-21 11:51 ` Randolph Maaßen
2013-09-21 11:54 ` Alexander Kapshuk
2013-09-21 12:08 ` Neil Bothwick
2013-09-21 12:13 ` Alexander Kapshuk
2013-09-21 11:02 ` Randolph Maaßen
2013-09-21 11:46 ` Alexander Kapshuk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523D8725.2030007@gmail.com \
--to=alexander.kapshuk@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox