Albert Hopkins <[EMAIL PROTECTED]> writes:

[...]

>> I want to `unmerge' (-C) versions of gentoo-sources prior to -2.6.20-r6
>> 
>> However this fails:
>> 
>>   root # emerge -vpC "<"gentoo-sources-2.6.20-r6
>> 
>>   >>> These are the packages that would be unmerged:
>> 
>>   --- Couldn't find '<gentoo-sources-2.6.20-r6' to unmerge.
>
>>   >>> No packages selected for removal by unmerge
>
> Question: do you have a gentoo-sources less than 2.6.20-r6 installed?
> If not, then the output is appropriate (can't unmerge what you haven't
> merged).
>

Yikes... I think you may have it, since `eix -I'  reports:

    [...]
     Installed versions:  2.6.20-r6(2.6.20-r6))07:51:05 04/16/07()build symlink(
     Homepage:            http://dev.gentoo.org/~dsd/genpatches
     Description:         Full sources including the Gentoo patchset for the 
2.6 kernel tree

I got the idea of emerge -C from the output of `ls -F /usr/src'
CONFIG-linux-2.6.20-gentoo-r6  linux-2.6.17-gentoo-r8/
CONFIG-orig-020707             linux-2.6.19-gentoo-r4/
linux@                         linux-2.6.20-gentoo-r6/

Note the earlier version trees at that address.

I haven't installed or downloaded kernel sources outside of emerge
(far as I can remember) so those are likely installed by emerge.

My understanding of:  
   root # emerge -vpC    "<"gentoo-sources-2.6.20-r6
is that it should uninstall any version less than 2.6.20-r6.

Is that true or does that command only target the immediately prior
version?

A little further testing shows that using an exact target also fails:
  root # emerge -vCp "="gentoo-sources-2.6.19-r4

  >>> These are the packages that would be unmerged:

  --- Couldn't find '=gentoo-sources-2.6.19-r4' to unmerge.

So apparently emerge is not aware of the earlier versions in /usr/src.

-- 
[EMAIL PROTECTED] mailing list

Reply via email to