Package updater applet corrupt

view full story

http://forums.fedoraforum.org – My PackageKit Update Applet (2.27.3)'s config seems to have got corrupt: When I try and run the system-proferred system update, it complains: Failed to initialize packaging backend. This may occur if other packaging tools are being used simultaneously. Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1893, in _runYumTransaction rpmDisplay=rpmDisplay) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3823, in processTransaction self._doTransaction(callback,display=rpmDisplay) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3937, in _doTransaction self.runTransaction( cb=cb ) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1063, in runTransaction self.verifyTransaction() File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1121, in verifyTransaction if self.rpmdb.contains(po=txmbr.po): File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 412, in contains return bool(self.searchNevra(name=name, arch=arch, epoch=epoch, ver=ver, rel=rel)) File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 396, in searchNevra return self._search(name, epoch, ver, rel, arch) File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 478, in _search mi = ts.dbMatch('name', name) TypeError: rpmdb open failed I'm not using other packaging tools simultaneously, to the best of my knowledge. I suspect the problem might have arisen when I accidentally pulled the power cable out recently, if it was in the middle of running an update. I tried running yum-complete-transaction to see if that helped, but it bombed out with: rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm /usr/lib/python2.6/site-packages/yum/config.py:884: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 raise Errors.YumBaseError("Error: " + e.message) Traceback (most recent call last): File "/usr/sbin/yum-complete-transaction", line 211, in <module> util = YumCompleteTransaction() File "/usr/sbin/yum-complete-transaction", line 118, in __init__ self.main() File "/usr/sbin/yum-complete-transaction", line 137, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 84, in doUtilConfigSetup self.conf File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 705, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 242, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 788, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 884, in _getsysver raise Errors.YumBaseError("Error: " + e.message) yum.Errors.YumBaseError: Error: rpmdb open failed Can anyone help me sort this out? I'm running Fedora 11 on an i686. Thanks, Michael (HowTos)