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

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1201123622.6218.117.camel@cutter>
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




>
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.