public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Kapshuk <alexander.kapshuk@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] re: emerge --depclean [gentoo-sources]
Date: Sat, 21 Sep 2013 13:27:28 +0300	[thread overview]
Message-ID: <523D7490.6080204@gmail.com> (raw)

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.

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.


             reply	other threads:[~2013-09-21 10:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21 10:27 Alexander Kapshuk [this message]
2013-09-21 10:36 ` [gentoo-user] re: emerge --depclean [gentoo-sources] 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

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=523D7490.6080204@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