Help with this error.

phonicx
Posts: 6
Joined: Sat Jun 19, 2010 8:27 am

Help with this error.

Postby phonicx » Sat Jun 19, 2010 8:32 am

Hi,

I keep getting a dialog box pop up saying 'Failed to initialize packaging backend'. When I click on more details I get the following,
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 3078, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 770, in <lambda>
repos = property(fget=lambda self: self._getRepos(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 511, in _getRepos
self.conf # touch the config class first
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 778, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 255, in _getConfig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 834, in readStartupConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 953, in _getsysver
raise Errors.YumBaseError("Error: " + str(e))
YumBaseError: Error: rpmdb open failed
Does anyone have any suggestions to resolve this please?

Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Help with this error.

Postby bigfoot65 » Sat Jun 19, 2010 8:52 am

Looks like you have lost connectivity to the internet. What type of install did you do i.e. full DVD, Express CD, etc?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

phonicx
Posts: 6
Joined: Sat Jun 19, 2010 8:27 am

Re: Help with this error.

Postby phonicx » Sat Jun 19, 2010 10:02 am

I used the full DVD install. Its been working fine for about 3 months and has only started giving me this error in the last few days. When I boot the machine I sometimes get the message above with a message to try yum-complete-transaction.

I still have access to the internet from the machine.

User avatar
chaosdesign
Posts: 33
Joined: Sat Mar 27, 2010 1:17 am
Location: Tauranga NZ
Contact:

Re: Help with this error.

Postby chaosdesign » Tue Jun 22, 2010 2:56 am

Maybe a YUM Database error/corruption

Found the following at Fedora

http://forums.fedoraforum.org/showthread.php?t=233437
It seems like the rpm database is hosed I would do this as root from a terminal

Code: Select all

Code: rm -f /var/lib/rpm/__db* rpm -vv --rebuilddb yum clean all
try that and report back on if it worked.
Image

phonicx
Posts: 6
Joined: Sat Jun 19, 2010 8:27 am

Re: Help with this error.

Postby phonicx » Sat Jul 03, 2010 2:32 am

A little bit late, but yes it worked! Thanks.

Who is online

Users browsing this forum: No registered users and 18 guests