Fedora Linux Support Community & Resources Center
  #1  
Old 24th November 2009, 05:50 AM
lynnevan Offline
Registered User
 
Join Date: May 2005
Location: boise,id
Age: 71
Posts: 92
linuxfedoramozilla
Question No Yum No Packagekit

After downloading 133 updates I got this message in a popup box:
Failed to Initialize
Failed to initialize packaging backend.
This may occur if other packaging tools are being used at the simultaneously.
Quote:
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2944, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 717, in <lambda>
repos = property(fget=lambda self: self._getRepos(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 496, in _getRepos
self.conf # touch the config class first
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 723, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 249, in _getConfig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 805, in readStartupConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 921, in _getsysver
raise Errors.YumBaseError("Error: " + str(e))
YumBaseError: Error: rpmdb open failed
I was looking at this thread earlier (than the downlad) because after the last update, no initramfs was created for the new kernel.

Tried running yum to download "hmaccalc" and got this error and the same error ever time I try to use yum:

\>>
Quote:
yum info hmaccalc
rpmdb: Program version 4.8 doesn't match environment version 4.7
error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30971)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main
:

This is my current /boot directory:
-------------------------
config-2.6.31.1-56.fc12.i686.PAE
config-2.6.32-0.48.rc7.git1.fc13.i686.PAE
config-2.6.32-0.51.rc7.git2.fc13.i686.PAE
efi/
grub/
initramfs-2.6.31.1-56.fc12.i686.PAE.img
initramfs-2.6.32-0.51.rc7.git2.fc13.i686.PAE.img
System.map-2.6.31.1-56.fc12.i686.PAE
System.map-2.6.32-0.48.rc7.git1.fc13.i686.PAE
System.map-2.6.32-0.51.rc7.git2.fc13.i686.PAE
vmlinuz-2.6.31.1-56.fc12.i686.PAE*
vmlinuz-2.6.32-0.48.rc7.git1.fc13.i686.PAE*
vmlinuz-2.6.32-0.51.rc7.git2.fc13.i686.PAE

Can anybody think of a way to get me out of this hole?

Thanks in advance for any help or hints.
  #2  
Old 24th November 2009, 07:53 AM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Same thing happened to me a couple weeks ago. Have a look see at this thread for a possible solution, http://forums.fedoraforum.org/showth...ight=initramfs

Edit: To fix the initramfs error that is ...
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB

Last edited by glennzo; 24th November 2009 at 07:56 AM.
  #3  
Old 24th November 2009, 11:48 PM
lynnevan Offline
Registered User
 
Join Date: May 2005
Location: boise,id
Age: 71
Posts: 92
linuxfedoramozilla
Quote:
Originally Posted by glennzo View Post
Same thing happened to me a couple weeks ago. Have a look see at this thread for a possible solution, http://forums.fedoraforum.org/showth...ight=initramfs

Edit: To fix the initramfs error that is ...
Yeah, I had already read that thread and was going to follow it up, but after that biig download, Packagekit & Yum don't work, so until Yum or Packagekit works I can't make an initramfs.

I'll copy the yum error here again. I think it's obvious Yum & Packagekit are having the same problem.
Quote:
yum info hmaccalc
rpmdb: Program version 4.8 doesn't match environment version 4.7
error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30971)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main
Any command to Yum gives the same error - version/environment mismatch.

Is there some way I can use an rpm downloaded from another computer to correct the version mismatch?

I've got F11 on another computer and ssh works.

Any ideas? please?

Thanks in advance.

Edit: SUCCESS. I just downloaded hmaccalc w/ yum.

Probably due to some brilliant code manipulation of mine, like powering off the computer last night.

Now I can try the info from the thread http://forums.fedoraforum.org/showthread.php?t=233882&highlight=initramfs like you mentioned.

thanks
  #4  
Old 24th November 2009, 07:56 AM
hopeful80 Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxfedorafirefox
Im sorry how do i post on this site
  #5  
Old 24th November 2009, 08:01 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Quote:
Originally Posted by hopeful80 View Post
Im sorry how do i post on this site
http://forums.fedoraforum.org/faq.ph...aq_vb3_posting



http://forums.fedoraforum.org/faq.ph..._threads_posts



http://forums.fedoraforum.org/faq.php
 

Tags
packagekit, yum

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
What DON'T you like about Packagekit? Slug71 Fedora Focus 5 20th June 2009 11:37 PM
PackageKit gnome-packagekit 4.5 SlowJet Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 11 13th March 2009 12:48 AM
PackageKit via VNC griffinmt Using Fedora 3 1st March 2009 08:09 PM
PackageKit papal Using Fedora 12 11th December 2008 05:08 PM


Current GMT-time: 01:15 (Thursday, 23-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