Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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/, line 2314, in <module>
    File : /usr/share/PackageKit/helpers/yum/, line 2310, in main
    backend = PackageKitYumBackend('', lock=True)
    File : /usr/share/PackageKit/helpers/yum/, line 182, in __init__
    self.yumbase = PackageKitYumBase(self)
    File : /usr/share/PackageKit/helpers/yum/, line 2253, in __init__
    self.repos.confirm_func = self._repo_gpg_confirm
    File : /usr/lib/python2.5/site-packages/yum/, line 589, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
    File : /usr/lib/python2.5/site-packages/yum/, line 395, in _getRepos
    self._getConfig() # touch the config class first
    File : /usr/lib/python2.5/site-packages/yum/, line 192, in _getConfig
    self._conf = config.readMainConfig(startupconf)
    File : /usr/lib/python2.5/site-packages/yum/, line 774, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
    File : /usr/lib/python2.5/site-packages/yum/, 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
    Boston, MA
    su -
    yum clean all   
    rpm --rebuilddb
    yum clean all 
    yum update
    Possible you need to remove the database first:

    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