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 11th February 2011, 03:57 PM
senka Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
linuxchrome
Problem with Add/remove software in Fedora 14

I have a problem with the add/remove software program, when i open it or try to search for new programs i get the following message:
"An internal system error has occured

A problem that we were not expecting has occured.
Please report this bug in your distribution bugtracker with
the error description"
Under more details it says:

Error Type: <class 'yum.Errors.YumBaseError'>
Error Value: Error: rpmdb open failed
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3612, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3608, in main
backend = PackageKitYumBackend('', lock=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 264, in __init__
self.doLock()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 350, in doLock
self.yumbase.doLock(YUM_PID_FILE)
File : /usr/lib/python2.7/site-packages/yum/__init__.py, line 1585, in doLock
if self.conf.uid != 0:
File : /usr/lib/python2.7/site-packages/yum/__init__.py, line 831, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File : /usr/lib/python2.7/site-packages/yum/__init__.py, line 277, in _getConfig
startupconf = config.readStartupConfig(fn, root)
File : /usr/lib/python2.7/site-packages/yum/config.py, line 859, in readStartupConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File : /usr/lib/python2.7/site-packages/yum/config.py, line 1004, in _getsysver
raise Errors.YumBaseError("Error: " + str(e))

I am new to fedora and linux so I have no clue what this means and how to fix it,
if somebody could help me out that would be awesome.

/Senka
Reply With Quote
  #2  
Old 11th February 2011, 05:17 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 888
linuxfedorafirefox
Re: Problem with Add/remove software in Fedora 14

Hello and welcome to fedoraforum.org,

You could try this: Go Applications > System Tools > Terminal and input the following:
Code:
su -
yum clean all
yum upgrade
You will have to type in your root password after the su - .

Hope this helps
Reply With Quote
  #3  
Old 11th February 2011, 05:59 PM
senka Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
linuxchrome
Re: Problem with Add/remove software in Fedora 14

The only thing i get when doing that is new errors:

"[root@localhost ~]# yum clean all
rpmdb: PANIC: fatal region error detected; run recovery
error: db3 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
CRITICAL:yum.main:

Error: rpmdb open failed
[root@localhost ~]# yum upgrade
rpmdb: PANIC: fatal region error detected; run recovery
error: db3 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
CRITICAL:yum.main:

Error: rpmdb open failed"

Hope that says something to someone
Reply With Quote
  #4  
Old 11th February 2011, 06:13 PM
Smoking Tux's Avatar
Smoking Tux Offline
Registered User
 
Join Date: Jan 2011
Location: /home
Posts: 267
linuxfedorafirefox
Re: Problem with Add/remove software in Fedora 14

Just try to rebuild the rpm database:
Code:
# mv /var/lib/rpm/__db* /tmp
# rpm --rebuilddb
__________________
regards, Thomas
Reply With Quote
  #5  
Old 11th February 2011, 06:14 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 888
linuxfedorafirefox
Re: Problem with Add/remove software in Fedora 14

Maybe try this:
Code:
su -
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum upgrade

Last edited by AndrewSerk; 11th February 2011 at 11:31 PM.
Reply With Quote
  #6  
Old 11th February 2011, 11:11 PM
senka Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
linuxchrome
Re: Problem with Add/remove software in Fedora 14

Quote:
Originally Posted by AndrewSerk View Post
Maybe try this:
Code:
su -
rm -f /var/lib/rpm/__db*
rpm --rebulddb
yum upgrade
This worked perfect, thanks everybody for the help
Reply With Quote
Reply

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
Problem with Add Remove Software? alis Installation and Live Media 4 20th May 2009 12:32 PM
Add/Remove Software Problem henkasdf Using Fedora 1 4th September 2008 07:49 AM
Problem with add/remove software and software updater jackal_79 Using Fedora 2 9th January 2008 12:51 PM
Fedora 8 add/remove software Problem patelviren9 Using Fedora 3 24th September 2007 09:41 PM
problem with add/remove software carlman001 Using Fedora 1 18th March 2007 08:46 AM


Current GMT-time: 05:09 (Saturday, 25-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