* [gentoo-user] Puzzled about --depclean
@ 2010-12-22 16:36 Kevin O'Gorman
2010-12-22 16:45 ` Dale
2010-12-22 17:04 ` Mark Knecht
0 siblings, 2 replies; 5+ messages in thread
From: Kevin O'Gorman @ 2010-12-22 16:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
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?
--
Kevin O'Gorman, PhD
[-- Attachment #2: Type: text/html, Size: 889 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Puzzled about --depclean
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
1 sibling, 0 replies; 5+ messages in thread
From: Dale @ 2010-12-22 16:45 UTC (permalink / raw
To: gentoo-user
Kevin O'Gorman 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?
>
> --
> Kevin O'Gorman, PhD
Did you emerge them by the exact version at some point? If you emerge
the kernel and specify the version, it is recorded in the world file
along with the version and --depclean will not remove it since it is
specifically listed. I have done this in the past to keep the current
running kernel installed and --depclean not wanting to remove it.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Puzzled about --depclean
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
1 sibling, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2010-12-22 17:04 UTC (permalink / raw
To: gentoo-user
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?
> --
> Kevin O'Gorman, PhD
>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Puzzled about --depclean
2010-12-22 17:04 ` Mark Knecht
@ 2010-12-23 16:29 ` Kevin O'Gorman
2010-12-23 18:02 ` Mark Knecht
0 siblings, 1 reply; 5+ messages in thread
From: Kevin O'Gorman @ 2010-12-23 16:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
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
--
Kevin O'Gorman, PhD
[-- Attachment #2: Type: text/html, Size: 1752 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Puzzled about --depclean
2010-12-23 16:29 ` Kevin O'Gorman
@ 2010-12-23 18:02 ` Mark Knecht
0 siblings, 0 replies; 5+ messages in thread
From: Mark Knecht @ 2010-12-23 18:02 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-23 18:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox