Bug 460413
Summary: | unable to open rpmbd - debug file attached | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Nadeer <nadeer_p> | ||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | urgent | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.2 | CC: | acb | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-09-11 07:14:25 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
Nadeer
2008-08-28 06:08:58 UTC
Created attachment 315174 [details]
debug file - RPM error
I'm unable to install any RPM file to new release of RHEL 5U2 server. The debug file is below also attached . kindly give the solution
===============================================
Component: pirut
Summary: TBbc99d12e config.py:752:_getsysver:TypeError: rpmdb open failed
Traceback (most recent call last):
File "/usr/sbin/pirut", line 490, in ?
main()
File "/usr/sbin/pirut", line 483, in main
pm = PackageManager(options.config, options.onlyrepo)
File "/usr/sbin/pirut", line 67, in __init__
GraphicalYumBase.__init__(self, False, config)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 137, in __init__
plugin_types=(yum.plugins.TYPE_CORE,))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 118, in doConfigSetup
errorlevel=errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 164, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 685, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 752, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9079eac>
distroverpkg: redhat-release
==============================================================
*** Bug 461079 has been marked as a duplicate of this bug. *** yum/pirut should handle the case of rpmdb open failing more gracefully than dumping a traceback, but... as a quick googling for "TypeError: rpmdb open failed" would have told you, the following will likely to fix the issue: # rm -f /var/lib/rpm/__* # rpm --rebuilddb If not, feel free to reopen. |