Bug 212333
| Summary: | Cannot run yum, yumex, software manager | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bill Gottlieb <billg> | ||||||||
| Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 5 | CC: | charles.ferguson, samuel-rhbugs | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2007-01-25 20:12:49 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: |
|
||||||||||
Created attachment 139454 [details]
Exception from Software Manager
My exception error
-----------------------------
Component: Software Manager
Summary: TBc7d02ae3 config.py:689:_getsysver:TypeError: rpmdb open failed
Traceback (most recent call last):
File "/usr/sbin/pirut", line 363, in ?
main()
File "/usr/sbin/pirut", line 358, in main
pm = PackageManager()
File "/usr/sbin/pirut", line 56, in __init__
GraphicalYumBase.__init__(self, False)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 122, in __init__
self.doConfigSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
doConfigSetup
self.conf = config.readMainConfig(fn, root)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in readMainConfig
vars['releasever'] = _getsysver(earlyconf.installroot, earlyconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0xb15f74c>
distroverpkg: redhat-release
Created attachment 141437 [details]
Other error received
(In reply to comment #3) > Created an attachment (id=141437) [edit] > Other error received > I viewed other simular bugs and found 203233 had a "work-around" that allowed me to run yum and get updates. rm -f /var/lib/rpm/__db* deleted a corrupted db. I've run into this a couple of times too. I just delete the _* files then run "rpm --rebuilddb". Unfortunately, this has been a longstanding issue with rpm, although it does seem to be quite rare now. Created attachment 146612 [details]
CompsException in Software Manager
|
Description of problem: Cannot run yum, yumex, software manager Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Start yumex 2. Run yum update 3. Start Software Manager Actual results: Result from running "yum update": [root@dicemaster bill]# yum update rpmdb: lock_downgrade: Lock is no longer valid error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 80, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig self.doConfigSetup(fn=opts.conffile, root=root) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in doConfigSetup self.conf = config.readMainConfig(fn, root) File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in readMainConfig vars['releasever'] = _getsysver(earlyconf.installroot, earlyconf.distroverpkg) File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed