Bug 291471
Summary: | F7 'yum upgrade' fails for 7.91 repository | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael McLagan <mmclagan> | ||||
Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7 | CC: | dto, james.antill, nerijus, pmatilai, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-09-18 18:29:03 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michael McLagan
2007-09-14 19:00:50 UTC
*** Bug 292431 has been marked as a duplicate of this bug. *** Can you edit /usr/lib/python2.5/site-packages/yum/rpmsack.py and add a line above line 128 (the "if not result.has_key(po.pkgid):") of print po with the same indentation? The above generated 2500+ lines, ending in: perl - 4:5.8.8-23.fc7.i386 perl - 4:5.8.8-23.fc7.i386 freshrpms - 0.7.3-1.noarch Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) I executed an 'rpm --rebuilddb' to see if it made a difference and got: perl-ExtUtils-MakeMaker - 6.30-23.fc7.i386 perl-ExtUtils-MakeMaker - 6.30-23.fc7.i386 freshrpms - 0.7.3-1.noarch Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> So I tried removing the freshrpms package and yum ran through to the end. It complained about a number of dependencies, but it didn't produce the error. I reinstalled the freshrpms package and again yum completed it's run without generating the error. That likely removed the glitch from my DB. Might want to ask the guy from #292431 since he seems to have the same problem. Looks like we're not "dead" yet. I tried a different machine and it produced the same error message. This time, I zipped up the RPM DB, copied it to another machine and tried there. The error reproduces itself, so I will be attaching a password protected rpmdb zip file to this bug. Created attachment 198131 [details]
RPM DB producing error in YUM
Password emailed directly to Jeremy Katz
Thanks, that helped a lot. Fixed in upstream yum and will be in 3.2.6 yum-3.2.6-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum' yum-3.2.6-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum' |