[Spacewalk-list] Yum/Cache, problems yumming latest nightly build, primary.sqlite.bz2 missing reference to latest build

Joshua Roys joshua.roys at gtri.gatech.edu
Wed Jan 27 17:38:32 UTC 2010


On 01/27/2010 11:53 AM, Bushby, Bruce (London)(c) wrote:
> Could this be an issue with the "repomd.xml" file? I used wget to pull
> down the file and I also downloaded it via my browser.....the files are
> identical....repomd.xml is also identical if I let yum download it.

What does this give you:
$ grep -A5 -B1 primary.sqlite repomd.xml

I get:
   <data type="primary_db">
     <location href="repodata/primary.sqlite.bz2"/>
     <checksum 
type="sha">c1765cd9415ead3efa00725bf5e167346787b172</checksum>
     <timestamp>1264588143</timestamp>
     <open-checksum 
type="sha">0aaac0a0d3d5480bd3b0624328d56453b06c28ed</open-checksum>
     <database_version>10</database_version>
   </data>

Those sha1sums should match the sha1sum of primary.sqlite{,.bz2}

> sqlite> select * from packages where name like 'spacewalk-backend'
> ...> ;
> 19|08a936beffe28571c0ac1936e5c39ec04bf0e558|spacewalk-backend|noarch|0.8.35|0|1.fc12|Common
...

Also, I get:

sqlite> select location_href from packages where name = 
'spacewalk-backend' ;
spacewalk-backend-0.8.37-1.fc12.noarch.rpm

If you still can't get the right repomd.xml/primary.sqlite.bz2, there's 
definitely a cache in the way.

Josh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100127/27eb9565/attachment.p7s>


More information about the Spacewalk-list mailing list