On Thu, 2007-05-31 at 19:09 -0400, [EMAIL PROTECTED] wrote:
> I always stumble around endlessly whenever I attempt to use math
> symbols in emerge commands.
> 
> To Neil B and others who have patiently explained this to me on
> several occasions... I can only plead deep seated idiocy but I'm not
> getting why this happens.
> 
> 
> 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).

> 
> ==================================================
> 
> However the same command run in `install' mode works:
> 
>   root # emerge -vp "<"gentoo-sources-2.6.20-r6
> 
>   These are the packages that would be merged, in order:
> 
>   Calculating dependencies... done!
>   [ebuild  NS   ] sys-kernel/gentoo-sources-2.6.20-r5 \
>                                 USE="-build -symlink" 42,570 kB 
> 

The "NS" indicates that this version (2.6.20-r5) is not installed, which
would make sense if the answer to the above question is yes.

e.g:
        $ epm -q automake
        automake-1.9.6-r2
        automake-1.10
        automake-1.7.9-r1
        automake-1.8.5-r3
        automake-1.5
        automake-1.6.3
        
        $ emerge -Cp '<automake-1.7'
        
        >>> These are the packages that would be unmerged:
        
         sys-devel/automake
            selected: 1.5 1.6.3 
           protected: none
             omitted: 1.9.6-r2 1.10 1.7.9-r1 1.8.5-r3 
        
        $ emerge -Cp '<automake-1.5'
        
        >>> These are the packages that would be unmerged:
        
        --- Couldn't find '<automake-1.5' to unmerge.




--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list

Reply via email to