Find the answer to your Linux question:
Results 1 to 2 of 2
here is what I get in the terminal 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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5

    update and installation problem fedora 10


    here is what I get in the terminal

    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)

    My computer suddenly shut down during an installation

    How do I fix it?

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Code:
    su -
    yum clean all   
    rpm --rebuilddb
    yum clean all 
    yum update
    Possible you need to remove the database first:

    Code:
    su -
    rm /var/lib/rpm/__db*
    yum clean all
    rpm --rebuilddb
    yum update

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •