Bug 241886 - yum fails to fallback to .xml files when .sqlite files are missing
Summary: yum fails to fallback to .xml files when .sqlite files are missing
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: James Antill
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-31 14:07 UTC by Josh Boyer
Modified: 2014-01-21 22:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-13 18:09:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Josh Boyer 2007-05-31 14:07:40 UTC
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
yum-3.2.0-1.fc7

How reproducible:

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'
3.
  
Actual results:

Yum errors out on finding the sqlite.bz2 file and gives up.

Expected results:

A brief conversation with Seth suggested that yum should fall back to using the
xml files.  I could be mistaken.

Additional info:

Error message below (mirror name changed to protect the innocent)

updates                   100% |=========================| 1.9 kB    00:00     
http://x.x.x/pub/mirrors/fedora.redhat.com/updates/7/i386/repodata/primary.sqlite.bz2:
[Errno 14] HTTP Error 404: Date: Thu, 31 May 2007 13:46:44 GMT
Server: Apache
X-Powered-By: PHP/4.3.9
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
Pragma: no-cache
Content-Length: 7028
Connection: close
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.

Comment 1 Seth Vidal 2007-08-03 20:31:40 UTC
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

Comment 2 Jeremy Katz 2007-09-13 18:09:55 UTC
Closing due to lack of activity; if you have further information please reopen
this report


Note You need to log in before you can comment on or make changes to this bug.