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:52 PM, seth vidal <[email protected]> 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.

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.