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 3rd May 2007, 12:21 PM
dembondy Offline
Registered User
 
Join Date: May 2007
Posts: 2
Unhappy Yum doesn't work

Hi
I have been using Fedora Core 6 for some days now, and yum (and its graphical version pirut) have been working just fine until yesterday. Trying to open Pirut I get following error:

Component: Software Manager
Summary: TBc3704fb6 config.py:656:_getsysver:TypeError: rpmdb open failed

Traceback (most recent call last):
File "/usr/sbin/pirut", line 445, in ?
main()
File "/usr/sbin/pirut", line 438, in main
pm = PackageManager(options.config)
File "/usr/sbin/pirut", line 60, in __init__
GraphicalYumBase.__init__(self, False, config)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 124, in __init__
plugin_types=(yum.plugins.TYPE_CORE,))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 597, in readMainConfig
vars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 656, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9d9958c>
distroverpkg: redhat-release


Can anyone please help me!
Thank you.
Reply With Quote
  #2  
Old 3rd May 2007, 02:09 PM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,549
Quote:
Originally Posted by dembondy
Hi
I have been using Fedora Core 6 for some days now, and yum (and its graphical version pirut) have been working just fine until yesterday. Trying to open Pirut I get following error:

Component: Software Manager
Summary: TBc3704fb6 config.py:656:_getsysver:TypeError: rpmdb open failed

Traceback (most recent call last):
File "/usr/sbin/pirut", line 445, in ?
main()
File "/usr/sbin/pirut", line 438, in main
pm = PackageManager(options.config)
File "/usr/sbin/pirut", line 60, in __init__
GraphicalYumBase.__init__(self, False, config)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 124, in __init__
plugin_types=(yum.plugins.TYPE_CORE,))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 597, in readMainConfig
vars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 656, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9d9958c>
distroverpkg: redhat-release


Can anyone please help me!
Thank you.
This probably is due to rpm db getting corrupted because of a rpm process being terminated prematurely.
Follow instructions in http://www.rpm.org/hintskinks/repairdb/

# rm -f /var/lib/rpm/__db*
# rpm -vv --rebuilddb

This should fix your problem. Make sure you have the latest kernel update. Older versions induced a rpm db corrupted in some occasions.
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
Reply With Quote
  #3  
Old 4th May 2007, 05:13 PM
dembondy Offline
Registered User
 
Join Date: May 2007
Posts: 2
Thank you for the tip!
Pirut still doesn't work, but at least yum does... I guess I'll try installing another GUI for yum.
Reply With Quote
  #4  
Old 4th May 2007, 05:59 PM
offcenter77 Offline
Registered User
 
Join Date: Feb 2007
Posts: 318
Try yumex. I like it much better than Pirut:


yum install yumex
Reply With Quote
Reply

Tags
work, 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
massenger work but firefox and program update didnt work mahmoud200m Servers & Networking 0 27th July 2008 07:27 PM
program does not work the first time it is started, work only after restart powah Using Fedora 2 17th November 2007 02:40 PM
Great work Fedora´s programmers, Fedora8 doesnt work on PS3. akenateb Mac Chat 5 9th November 2007 07:56 PM
cedega 5.1 only 2d menus work in games but 3d doesn't seem to work rantanplan Using Fedora 2 29th May 2006 06:52 PM
My microphone doesn't work, or doesnt work with teamspeak boyd98 Hardware & Laptops 2 12th May 2006 03:00 AM


Current GMT-time: 22:29 (Friday, 24-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