LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2009, 04:44 PM   #1
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Rep: Reputation: 15
package installer and update problem- says internal error


ok so when I go to use the package installer it gives says a internal error has happened

these are the details

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)



-Anyways i cant update either of these two packages, not really sure what they are





libssh2.i386 0.18-9.el5 epel
libssh2-devel.i386 0.18-9.el5 epel

it gives me a similar error, this is basically what i did for that




[Sloan@Nexus ~]$ yum check-update
Loaded plugins: refresh-packagekit, tmprepo

libssh2.i386 0.18-9.el5 epel
libssh2-devel.i386 0.18-9.el5 epel
[Sloan@Nexus ~]$ yum update
Loaded plugins: refresh-packagekit, tmprepo
You need to be root to perform this command.
[Sloan@Nexus ~]$ su
Password:
[root@Nexus Sloan]# yum update
Loaded plugins: refresh-packagekit, tmprepo
rpmdb: Thread/process 4026/3086411456 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





Im running Fedora 10 and i just got repository for epel and RPM Fusion
any help would grateful thanks
 
Old 04-19-2009, 05:08 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first the el5 repo is for CentOS5.3 and not fedora 10 so uninstall that repo and remove/uninstall any centos5.3 rpm's you installed on fedora 10 .
then seeing as there is a bug in the install dvd use the terminal to do the yum update
Code:
yum update rpm yum
yum update
 
Old 04-19-2009, 05:25 PM   #3
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
ohh... oops i guess i should have read the fine print lol,
any my package installer has a internal error and i followed a example on how to install the repos and im not sure how to unistall the repo or do i just modify the code that installed it
 
Old 04-19-2009, 06:26 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well let's see what cent rpm's are installed run this in the terminal
Code:
su -
rpm -qa | grep el5
then use yum to uninstall the el5 packages from the list from the command above ( but leave " epel-release-5-3.noarch" this for last )
-- example --
Code:
yum uninstall epel-release-5-3
 
Old 04-19-2009, 06:52 PM   #5
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
thanks for the help. it fixed it, i did the yum update rpm yum command it said no packages were avalable so i it was just the repo

and come to find out the command is erase not uninstall
thanks again
 
Old 04-19-2009, 07:07 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
oops i keep switching "erase " and "uninstall "
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adept package installer not working if not launched by package manager iqbala Ubuntu 3 11-29-2008 06:32 AM
Problem with package installer basic(in xbuntu)..getting message.. DAVE666 Linux - Newbie 1 01-23-2008 09:16 AM
Problem with package installer nad update manager Maakheru Linux - Software 3 10-23-2007 04:43 PM
Error trying to update transcode package newmoon Linux - Software 1 04-24-2006 07:23 AM
up2date Update package conflict error Jerry110 Red Hat 4 01-11-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration