Red Hat Bugzilla – Bug 117290
Raw Hide yum breaks cachedb
Last modified: 2014-01-21 17:49:20 EST
Description of problem:
The Raw Hide yum package from today is broken. Fixed upstream in CVS,
but this should hit everyone with a current system in the meantime.
I'm posting this to avoid a flurry of complaints and duplicates.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Update yum to 126.96.36.19940229-1
2. Run yum
Actual results:Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
File "/usr/share/yum/yummain.py", line 253, in main
File "/usr/share/yum/clientStuff.py", line 919, in download_headers
cachedbdict = returnCacheDBHeaders(nulist)
File "/usr/share/yum/clientStuff.py", line 901, in returnCacheDBHeaders
mi = cachedb.dbMatch()
There is a workaround, courtesy of Seth Vidal. Set usecachedb=0
under [main] in /etc/yum.conf
Urgh, the workaround doesn't seem to work for me. I tweaked line 901
to just read
apply this diff for a real fix.
This is checked into cvs - it will be in todays daily.
thanks for finding this.
*** Bug 117314 has been marked as a duplicate of this bug. ***
*** Bug 117357 has been marked as a duplicate of this bug. ***
*** Bug 117402 has been marked as a duplicate of this bug. ***
usecachedb=0 does not work for me either. How do you apply the diff
file mentioned above?
download rpmdb-fedora from your development archive and install it
alternatively download the patch to a file: foo.patch
patch -p0 < /the/path/to/foo.patch
*** Bug 117458 has been marked as a duplicate of this bug. ***
If you want a packaged fix.
that is going to show up in rawhide in a few days.
yum-2.0.5-20040303.noarch.rpm came today and now it WFM again
*** Bug 117608 has been marked as a duplicate of this bug. ***