Bug 426845 - cannot install packages
cannot install packages
Status: CLOSED DUPLICATE of bug 426246
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
i386 Linux
low Severity high
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-12-27 05:14 EST by Boris
Modified: 2008-05-28 15:25 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-28 15:25:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Boris 2007-12-27 05:14:14 EST
on start of add/remove software, install rpm or get a package from shell i get:

Component: pirut
Summary: TBc0c9275d config.py:680:_getsysver:TypeError: rpmdb open failed

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 476, in <module>
  File "/usr/sbin/pirut", line 469, in main
    pm = PackageManager(options.config, options.onlyrepo)
  File "/usr/sbin/pirut", line 63, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 613, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot,
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 680, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x97f3d8c>
distroverpkg: redhat-release
Comment 1 Jeremy Katz 2007-12-27 09:11:50 EST
Does 'rpm -q fedora-release' work?
Comment 2 Boris 2007-12-27 10:40:46 EST
Comment 3 Jeremy Katz 2008-05-28 15:25:50 EDT

*** This bug has been marked as a duplicate of 426246 ***

Note You need to log in before you can comment on or make changes to this bug.