Re: Re: yum: list/update to multiple versions of a package
"Derrick Brashear" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Jan 23, 2008 3:19 PM, seth vidal <[email protected]> wrote: > > 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? > The issue is I see there (as here) one version for each rpm+variant+arch per repo. One repo (my archive) has, say, 3 versions of kernel-devel x86_64 (for fc8; the fc7 x86_64 repo has many many more); I want to get a list of containing all N versions, not just the most recent in the given repo for the given rpm+arch+variant. I am getting a list which looks like the one you're getting. _______________________________________________ Yum mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum