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 02-11-2005, 11:51 AM   #1
djljjm
Member
 
Registered: Nov 2004
Distribution: Fedora 3
Posts: 77

Rep: Reputation: 15
Yum Update Problems


Last night I reinstalled Fedora Core 3 because I wanted to get a few things done with it...now I'm having problems with yum update. I had 237 updates right off the bat so I just ran yum update and let it go....this morning I woke up and there were 63 left and all the text was in symbols....this is the current message I am getting

[root@me0912 jrub]# yum update
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30978)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 8, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 51, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 133, in getOptionsConfig
self.conf = yumconf(configfile = yumconffile, root=root)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 196, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/lib/python2.3/site-packages/yum/config.py", line 263, in _getsysver idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed


Right when I set up yum I did the following

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

Because it said that I needed a public key and http://install.lon-capa.org/FC3_install.html said to use that one.

I also need to know how to get the yum.conf working right so I can download and install other programs such as mplayer and kaffeine....

THANK YOU
djljjm
 
Old 02-11-2005, 12:54 PM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
you might want to check out the yum extender

http://fedoranews.org/tchung/yumex/
gui for yum

can't help you with your errors, I'm pretty new to yum myself.
mine is working fine though, even with the gpgchecks activated.

i pretty much used the yum.conf file recommended through fedora support.There's lots of examples of yum.conf on the net you can just cut and paste from if you like. I think I got mplayer from the dag repository. I can email you my yum.conf later if you like and send you a couple of links for searching repositories for software.
Cheers
 
Old 03-15-2005, 03:35 PM   #3
ducod
LQ Newbie
 
Registered: Feb 2005
Location: Edmonton AB Canada
Posts: 11

Rep: Reputation: 0
I also get a TypeError when using yum extender to intall any packages.
PyXML-0.8.3-6.i386.rpm 100% |=========================| 91 kB 00:00
---> Package PyXML.i386 0:0.8.3-6 set to be updated
--> Running transaction check
Traceback (most recent call last):
File "yumex.py", line 74, in on_button
File "yumex.py", line 405, in install_packages
File "yumex.py", line 313, in get_confimation
File "yumex.py", line 327, in get_package_list
TypeError: unpack non-sequence
 
  


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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
Yum update dependency problems DJOtaku Fedora 6 12-11-2005 02:56 PM
yum update problems jjbuchan Fedora 5 11-02-2005 02:28 PM
boot problems after yum update evasion81 Red Hat 1 12-17-2004 11:50 AM
update problems yum/apt-get grapier Fedora 1 01-20-2004 08:33 AM

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

All times are GMT -5. The time now is 08:15 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