Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th March 2009, 05:24 PM
mbesselm Offline
Registered User
 
Join Date: Mar 2009
Posts: 5
add remove software not working

I am using Fedora 10 on a Dell Latitude E5400 laptop. I am trying to install new software and when I bring up the Add/Remove Software app I get the following "Internal System Error":

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)


How can I fix this?

Thanks
Reply With Quote
  #2  
Old 25th March 2009, 10:52 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
this error
Quote:
Error Value: rpmdb open failed
means that the database is messed up to fix run this
AS root in the terminal ( su -)
Code:
su -
( your root password when asked )
yum clean all       ( this might give an error if so do the next one )
rpm --rebuilddb
yum clean all 
yum update
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #3  
Old 25th March 2009, 11:29 PM
tjoney Offline
Registered User
 
Join Date: Mar 2009
Posts: 9
I am having this problem as well. I tried what you said JohnVV, but I still get this:
rpm --rebuilddb
rpmdb: Thread/process 4540/3085874880 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@mylaptop ~]# yum clean all
Loaded plugins: refresh-packagekit
rpmdb: Thread/process 4540/3085874880 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.enab leplugins))
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


Any help would be appreciated.
Reply With Quote
  #4  
Old 26th March 2009, 02:32 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
then try this, remove the database file first
Code:
su -
rm -f /var/lib/rpm/__db*
yum clean all
rpm --rebuilddb
yum update
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #5  
Old 27th March 2009, 05:14 AM
kurtdriver Offline
Registered User
 
Join Date: Jul 2005
Location: Vancouver Canada
Posts: 1,285
Thank you John, This problem arose last night for me and
rm -f /var/lib/rpm/__db* solved it. Cheers, Kurt
Reply With Quote
  #6  
Old 27th March 2009, 05:21 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
normally this" rm -f /var/lib/rpm/__db*" is not needed BUT sometimes it is
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
Reply

Tags
add, remove, software, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add/Remove Software ..Not working gaaurav_singh Using Fedora 6 30th April 2009 01:45 AM
add/remove software not working popey Using Fedora 2 11th June 2008 03:43 PM
Help! Add/Remove Software & Software Updater not working after 10-11-07 updates samf Using Fedora 7 31st October 2007 07:28 AM
Software Add/Remove not working any more FeikeBoomstra Using Fedora 5 13th May 2007 12:33 PM
Add/Remove Software Not Working FC5 borgward EOL (End Of Life) Versions 10 5th February 2007 01:37 AM


Current GMT-time: 04:20 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat