Im using Fedora10 KDE4 and I was doing a "yum install pygtk2.i386" and after it had completed I got this in a shell on the next command : __________________________________ [aevar@aevar-laptop ~]$ su - Password: [root@aevar-laptop ~]# yum check-update Loaded plugins: refresh-packagekit rpmdb: Thread/process 16938/3087279808 failed: Thread died in Berkeley DB library error: db4 error(-30975) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30975) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 84, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig enabled_plugins=self.optparser._splitArg(opts.enableplugins)) 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) TypeError: rpmdb open failed ___________________________________________________________ And then when I tried opening a package manager I got this error, pointing me to this website. Hopefully Im delivering the bug report to the right place : Error Type: <type 'exceptions.TypeError'> Error Value: rpmdb open failed File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2198, in main backend = PackageKitYumBackend('', lock=True) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 200, in __init__ self._setup_yum() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1942, in _setup_yum self.yumbase.doConfigSetup(errorlevel=-1, debuglevel=-1) # Setup Yum Config File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 140, in doConfigSetup errorlevel=errorlevel) 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) ____________________ Any ideas how I can get my yum back ? cheers -aeVar
(In reply to comment #0) > Im using Fedora10 KDE4 and I was doing a "yum install pygtk2.i386" and after it > had completed I got this in a shell on the next command : > > __________________________________ > [aevar@aevar-laptop ~]$ su - > Password: > [root@aevar-laptop ~]# yum check-update > Loaded plugins: refresh-packagekit > rpmdb: Thread/process 16938/3087279808 failed: Thread died in Berkeley DB > library > error: db4 error(-30975) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run > database recovery > error: cannot open Packages index using db3 - (-30975) > error: cannot open Packages database in /var/lib/rpm > Traceback (most recent call last): > File "/usr/bin/yum", line 29, in <module> > yummain.user_main(sys.argv[1:], exit_code=True) > File "/usr/share/yum-cli/yummain.py", line 229, in user_main > errcode = main(args) > File "/usr/share/yum-cli/yummain.py", line 84, in main > base.getOptionsConfig(args) > File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig > enabled_plugins=self.optparser._splitArg(opts.enableplugins)) > 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) > TypeError: rpmdb open failed > ___________________________________________________________ > > And then when I tried opening a package manager I got this error, pointing me > to this website. Hopefully Im delivering the bug report to the right place : > > Error Type: <type 'exceptions.TypeError'> > Error Value: rpmdb open failed > File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in > <module> > main() > File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2198, in main > backend = PackageKitYumBackend('', lock=True) > File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 200, in __init__ > self._setup_yum() > File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1942, in > _setup_yum > self.yumbase.doConfigSetup(errorlevel=-1, debuglevel=-1) # Setup Yum > Config > File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 140, in > doConfigSetup > errorlevel=errorlevel) > 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) > > ____________________ > > Any ideas how I can get my yum back ? > > cheers > -aeVar hi, try: su - rm /var/lib/rpm/__db* rpm --rebuilddb yum clean all Richard, may I please close this bug? Doesn't look like a packagekit issue. Ankur
(In reply to comment #1) > Doesn't look like a packagekit issue. Agreed, thanks. Richard.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.