[Yum] Re: yum: list/update to multiple versions of a package
Derrick Brashear
shadow at gmail.com
Wed Jan 23 21:09:00 UTC 2008
On Jan 23, 2008 3:52 PM, seth vidal <skvidal at fedoraproject.org> wrote:
>
> On Wed, 2008-01-23 at 15:33 -0500, Derrick Brashear wrote:
> >
>
> > 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.
> >
>
> Right but there have only been 3 kernels released for f8. Many more for
> fedora 7 b/c it came before.
>
> 2.6.23.1-42.fc8
> 2.6.23.1-49.fc8
> 2.6.23.8-63.fc8
> 2.6.23.9-85.fc8
>
> but we purge down older updates in fedora to keep the mirrors from
> growing without bound.
>
> so what you're seeing is what is available.
>
I have a configured local repo
(/afs/grand.central.org/archive/linuxdev/fedora8/x86_64) with:
kernel-devel-2.6.23.1-42.fc8.x86_64.rpm
kernel-devel-2.6.23.1-49.fc8.x86_64.rpm
kernel-devel-2.6.23.8-63.fc8.x86_64.rpm
kernel-devel-2.6.23.9-85.fc8.x86_64.rpm
My yum.conf includes:
cat /var/lib/mock/fedora-8-x86_64/root/etc/yum.conf
...
[archive]
name=archive
baseurl=file:///afs/grand.central.org/archive/linuxdev/fedora8/x86_64/
The yum command is
yum --installroot /var/lib/mock/fedora-8-x86_64/root list kernel-devel
I get:
Installed Packages
kernel-devel.x86_64 2.6.23.9-85.fc8
installed
Available Packages
kernel-devel.x86_64 2.6.23.1-42.fc8
fedora
kernel-devel.x86_64 2.6.23.8-63.fc8
archive
2.6.23-1.49 is missing.
I reran createrepo on the archive repo to be absolutely sure it's up to
date. Same output.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20080123/1668710c/attachment-0001.htm
More information about the Yum
mailing list