Bug 489230 - can't install any rpm
Summary: can't install any rpm
Keywords:
Status: CLOSED DUPLICATE of bug 495087
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 10
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-08 22:02 UTC by Iago X.
Modified: 2014-01-21 23:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-22 18:06:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Iago X. 2009-03-08 22:02:00 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.When I try to install any rpm package
2.
3.
  
Actual results:

Error Type: <type 'exceptions.TypeError'>
Error Value: rpmdb open failed
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310, in main
    backend = PackageKitYumBackend('', lock=True)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182, in __init__
    self.yumbase = PackageKitYumBase(self)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253, in __init__
    self.repos.confirm_func = self._repo_gpg_confirm
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 589, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 395, in _getRepos
    self._getConfig() # touch the config class first
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 192, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File : /usr/lib/python2.5/site-packages/yum/config.py, line 774, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File : /usr/lib/python2.5/site-packages/yum/config.py, line 844, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)



Expected results:


Additional info:

Comment 1 seth vidal 2009-03-09 18:41:03 UTC
is there another process holding open or accessing your rpmdb?

Can you run:
rpm -q --whatprovides redhat-release

Comment 2 Christopher Beland 2009-04-22 18:06:25 UTC
This looks like the same problem as in bug 495087, which documents a workaround to clear stale locks.  Since that bug has more detailed information, I'll mark this one as a duplicate.  Sorry for the malfunction, and thanks for the report!

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


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