Red Hat Bugzilla – Bug 241886
yum fails to fallback to .xml files when .sqlite files are missing
Last modified: 2014-01-21 17:58:12 EST
Description of problem:
Yum errors out when there are no .sqlite.bz2 files present in the repodata directory
Version-Release number of selected component (if applicable):
[jwboyer@zod yum.repos.d]$ rpm -q yum
Always, I guess
Steps to Reproduce:
1. Have an empty repository with all of the .xml.gz files but no .sqlite.bz2 files
2. Do a 'yum update'
Yum errors out on finding the sqlite.bz2 file and gives up.
A brief conversation with Seth suggested that yum should fall back to using the
xml files. I could be mistaken.
Error message below (mirror name changed to protect the innocent)
updates 100% |=========================| 1.9 kB 00:00
[Errno 14] HTTP Error 404: Date: Thu, 31 May 2007 13:46:44 GMT
Set-Cookie: PHPSESSID=a2d392ded8ec5bb7303a988b3db20596; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Type: text/html; charset=UTF-8
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from updates: [Errno 256] No more
mirrors to try.
Can you test this against yum 3.2.1 in f7 or 3.2.2 in updates-testing? I think I
caught this but I can't remember when
Closing due to lack of activity; if you have further information please reopen