From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Puzzled about --depclean
Date: Thu, 23 Dec 2010 10:02:06 -0800 [thread overview]
Message-ID: <AANLkTikNqiUbCtByLrTBqi7TfMieRBpwhgNvOsR0R=Ec@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik_-q0XxcPgSpJGEvEAXSeH--OqWE1KXj7PVEWz@mail.gmail.com>
On Thu, Dec 23, 2010 at 8:29 AM, Kevin O'Gorman <kogorman@gmail.com> wrote:
>
>
> On Wed, Dec 22, 2010 at 9:04 AM, Mark Knecht <markknecht@gmail.com> wrote:
>>
>> On Wed, Dec 22, 2010 at 8:36 AM, Kevin O'Gorman <kogorman@gmail.com>
>> wrote:
>> > I just ran "emerge -p --depclean" and the only thing it wants to remove
>> > is
>> > gentoo-sources-2.6.35-r12. So my system's pretty clean, but I'm quite
>> > puzzled with this result.
>> >
>> > I have 5 versions of gentoo-sources installed, and the one it wants to
>> > ditch
>> > is the one I'm actually using. I can understand why it wouldn't care
>> > about
>> > that, but why not:
>> > 2.6.31-r10 which is no longer in the tree
>> > any of the others, which are marked in exactly the same way as the
>> > victim it picked? Some are older, and some are newer than this
>> > victim. What gives?
>> >
>> > I'm just wondering about how --depclean picked on this one of the five?
>>
>>
>> Look in /var/lib/portage/world and see if you are protecting the
>> versions you think it should be cleaning but it isn't.
>>
>> Hope this helps,
>> Mark
>>
> I looked there, and there's
> sys-kernel/gentoo-sources
> so I would expect them all to be protected. Why the exception?
> ++ kevin
>
No, that means only the latest one is protected.
One of my machines has
sys-kernel/gentoo-sources
sys-kernel/gentoo-sources:2.6.33
which implies the latest is protected as well as 2.6.33. If I ran
emerge -C gentoo-sources those two at least would be saved.
If you specifically want to protect a kernel, maybe you require it for
driver reasons or something, you can add a line like the above by hand
or you can use the instructions on the screen when running emerge -p
--depclean to add it.
Hope this helps,
Mark
prev parent reply other threads:[~2010-12-23 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 16:36 [gentoo-user] Puzzled about --depclean Kevin O'Gorman
2010-12-22 16:45 ` Dale
2010-12-22 17:04 ` Mark Knecht
2010-12-23 16:29 ` Kevin O'Gorman
2010-12-23 18:02 ` Mark Knecht [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='AANLkTikNqiUbCtByLrTBqi7TfMieRBpwhgNvOsR0R=Ec@mail.gmail.com' \
--to=markknecht@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