Add/Remove software has an Internal Error...Help!
Hi all experienced Linux users please can you help someone who is just starting out on the road that is Linux.
I have installed Fedora 10 to my system after getting over the first hurdle which was finding a system that would drive my ancient Voodoo3 3dfx grahics card, a quick look at the hyperweb helped me there....However now i am stuck, I am trying to add some software via the add/remove updater and i get a warning telling me of an internal error. What do i do now to fix this, i have posted the code below, would appreciate any help that can be given. Error Type: <type 'exceptions.TypeError'> Error Value: rpmdb open failed File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2316, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2312, 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 2255, 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) |
what happens when you type it , and do not use the gui ( packagekit)
Code:
su - Code:
su |
Ok, I have run those 2 lines in terminal and this is what I got, thanks for helping btw, this i much appreciated
Quote:
repo id repo name status adobe-linux-i386 Adobe Systems Incorporated enabled: 17 fedora Fedora 10 - i386 enabled: 11,416 updates Fedora 10 - i386 - Updates enabled: 5,344 repolist: 16,777 |
" su - " MAKES YOU ROOT
step 1 type in su ( then a space ) - step2 type in your root password step 3 type in " yum update" Code:
su - |
Code:
su - rpmdb: Thread/process 2700/3086792384 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 |
it is the rpm database then try this
Code:
su - |
Code:
su - After entering the code in the steps shown above this is what terminal came out with at each step. [root@gothichost ~]# yum clean all Loaded plugins: refresh-packagekit rpmdb: Thread/process 2700/3086792384 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 [root@gothichost ~]# rpm --rebuilddb rpmdb: Thread/process 2700/3086792384 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) [root@gothichost ~]# yum update Loaded plugins: refresh-packagekit rpmdb: Thread/process 2700/3086792384 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 |
let's see if deleting the database first will knock some since into it
Code:
su - Code:
su - the base install with NO UPDATES h??p://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/releases/10/Everything/i386/os/Packages/rpm-4.6.0-0.rc1.7.i386.rpm - all the files -- h??p://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/releases/10/Everything/i386/os/Packages/ --------------- -- IF YOU ARE UP TO DATE then use this one h??p://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/updates/10/i386/rpm-4.6.0-0.rc1.8.i386.rpm -- all the files -- h??p://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/updates/10/i386 download and double click on it and fallow the instructions this IS NOT the normal way and not the best . but should work also you might also need "rpm-libs" and "rpm-python" just look for them from one of the two above links |
Quote:
I then moved onto rpm --rebuilddb entered it into terminal, there was a lot of indocation that it caused something in the harddrive, but again nothing appeared on screen i went back to the initial root command. Next I ran the file paths assuming an uptodate, i went to all files as it wouldn't do it at all from the link h??p://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/updates/10/i386/rpm-4.6.0-0.rc1.8.i386.rpm I found all files: rpm-4.6.0-0.rc1.8.i386.rpm and rpm-libs-4.6.0-0.rc1.8.i386.rpm and rpm-python-4.6.0-0.rc1.8.i386.rpm and downloaded each one in turn to home folder. I then went to each packets and double clicked and followed the instructions and then a box appeared that said: LOCAL INSTALL FAILED in the more detaisl this text was displayed Can't install /home/gothic/rpm-4.6.0-0.rc1.8.i386.rpm as no transaction Where do I go from here, now?????? |
Quote:
[root@gothichost ~]# yum clean all Loaded plugins: refresh-packagekit rpmdb: Thread/process 2700/3086792384 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 [root@gothichost ~]# rpm --rebuilddb rpmdb: Thread/process 2700/3086792384 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) [root@gothichost ~]# yum update Loaded plugins: refresh-packagekit rpmdb: Thread/process 2700/3086792384 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[/QUOTE] OK I thought Its a new day, i'm not getting anywhere,lets go back to that first command line and re-run it, so I did and this is what happened.... Code:
[gothic@gothichost ~]$ su - So what should i do now, because this seems a more positive step forward...should I carry on running the next commands in the next posts!!!??? |
That's all good now. You need to know that with *nix cmds, as a general rule you don't get any confirmation if everything went ok. You do if an error occurred.
If it does need to tell you anything it will, see the last set of output you got. If you really want to double check a cmd, immediately after running it, run the cmd echo $? should return 0 (zero) if ok. See any bash programming tutorial. You may find this worth bookmarking: http://rute.2038bug.com/index.html.gz |
Quote:
Now to explore if I can get my voodoo3 3dfx graphics card working in ubuntu without displaying as 800x600 or even worse 640x480.... Thanks agin, rob |
All times are GMT -5. The time now is 03:50 AM. |