Re: Re: yum: list/update to multiple versions of a package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-01-23 at 12:37 -0500, Derrick Brashear wrote:
> I have 3.2.8-2 from fc8 
> I modified my yum.conf to include this variable.
> 
> yum  --installroot /var/lib/mock/fedora-8-x86_64/root provides
> kernel-devel
> 
> returns nothing
> 
> yum -d2 --installroot /var/lib/mock/fedora-8-x86_64/root provides
> kernel-devel 
> has some debugging output, but does actually list 10 such packages,
> sans version info. 
> 
> So I'd expect yum list to have these all (if i list all the packages
> which provide). Instead, I see only the most recent package from each
> repo. 
> 
> Is there a way to get it to really show me all versions, including
> dups, in every repository?
> 
> (I keep an old kernels archive for this project)
> 

okay 'yum provides' doesn't produce a list of nevra it returns the list
of pkg in a form you can easily cut and paste to install the most
current one.

if you're doing a search like that you'll want to do:

yum provides whatever

the name.arch it outputs on the left of the results. Take that to list
out all the versions you want. Example:

yum provides kernel-devel
kernel-devel.i686 : Development package for building kernel modules to
match the kernel

yum list kernel-devel.i686
Available Packages
kernel-devel.i586               2.6.23.9-85.fc8        updates         
kernel-devel.i586               2.6.23.1-42.fc8        fedora          
kernel-devel.i686               2.6.23.1-42.fc8        fedora          
kernel-devel.i686               2.6.23.9-85.fc8        updates         


does this help?

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux