Bug 567709
Summary: | rpmdb version mismatch? | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ffesti, james.antill, maxamillion, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | yum-3.2.28-3.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-04-29 16:15:58 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: |
Description
Lennart Poettering
2010-02-23 18:00:18 UTC
rpm -q rpm-python python I suspect you have an old or damaged rpm-python Downgrading to yum-3.2.26-4.fc13.noarch (i.e. fc14 → fc13) fixed things for me. 3.2.26-4.fc13 and 3.2.26-4.fc14 are, for yum, code identical. Now - I'm not sure which version of python might be in rawhide as opposed to fc13 but there is no change in yum, at all. But this is the one thing I did to make it work again, really. Because I couldn't use yum I downloaded the fc13 rpm from koji and installed it with rpm -Uvh --force. Since then I have also downgraded the rest of the fc14 packages I had. But the one thing that made yum work again was downgrading that single package. if you can recreate this by reinstalling the fc14 pkg I'd be interested to hear - but there shouldn't be anything in the yum pkg which changes. I guess rpm changed the error it throws, so I added this upstream: commit cfa592298e2fa3afbb9f61c697b8498ec758d03b Author: James Antill <james> Date: Thu Apr 29 12:14:32 2010 -0400 Add the new, 4.8.0, error class for "cannot open DB", BZ 567709 diff --git a/yum/config.py b/yum/config.py index 1b78fcd..3610b91 100644 --- a/yum/config.py +++ b/yum/config.py @@ -1000,6 +1000,9 @@ def _getsysver(installroot, distroverpkg): else: raise Errors.YumBaseError("Error: " + str(e)) raise Errors.YumBaseError("Error: " + str(e)) + except rpm.error, e: + # This is the "new" code for "cannot open rpmdb", 4.8.0 ish + raise Errors.YumBaseError("Error: " + str(e)) # we're going to take the first one - if there is more than one of these # then the user needs a beating if idx.count() == 0: ...it won't "fix" the underlying problem, but you should get a nicer msg. yum-3.2.28-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc13 yum-3.2.28-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc14 yum-3.2.28-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc12 yum-3.2.28-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. yum-3.2.28-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc12 yum-3.2.28-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc13 yum-3.2.28-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc14 yum-3.2.28-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. yum-3.2.28-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. yum-3.2.28-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |