[Yum] Re: yum: list/update to multiple versions of a package
seth vidal
skvidal at fedoraproject.org
Wed Jan 23 21:27:02 UTC 2008
On Wed, 2008-01-23 at 16:09 -0500, Derrick Brashear wrote:
>
>
> 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.
>
okay, let's go to the source for each of these and find out what's going
on.
cd /var/cache/yum/archive
run this:
sqlite3 primary.sqlite
then run:
select name, version, release, arch from packages where \
name='kernel-devel';
tell me what it outputs
thanks,
-sv
>
More information about the Yum
mailing list