LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-03-2006, 05:02 PM   #1
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Rep: Reputation: 15
FC3->FC4 yum problems


I just used the ISO CDs to upgrade from FC3 to FC4 and have run into a yum problem. I get an error that directories are missing and failures of scripts. Here is the output from my yum -y check-update

Code:
[root@note ~]# yum -y check-update
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
  File "/usr/bin/yum", line 15, 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 139, in getOptionsConfig
    self.doConfigSetup(fn = conffile, root = root)
  File "__init__.py", line 77, in doConfigSetup
  File "config.py", line 258, in __init__
  File "config.py", line 365, in _getsysver
TypeError: rpmdb open failed
These seem to be written in python, which is another language I have yet to learn.

I've searched for yum errors but haven't turned up anything remotely resembling this problem.

Bucky
 
Old 05-04-2006, 10:32 AM   #2
cux
LQ Newbie
 
Registered: May 2006
Location: México
Distribution: Debian
Posts: 26

Rep: Reputation: 15


I try to do it once and have a similar problem. I will strongly recommend a fresh install.

If the upgrade via yum is neccesary don't use the cd's.

rpm -Uvh http://download.fedora.redhat.com/pu...5-5.noarch.rpm

yum -y upgrade

Hope it helps.
 
Old 05-04-2006, 11:05 AM   #3
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Original Poster
Rep: Reputation: 15
Gracias cux for your response,

I chose to try the upgrade from FC3 to FC4 by CDs because I had the CDs.

I am running several machines with Fedora Core. One is a virtual machine hosted elsewhere running a site I manage. It is running FC4. A home machine with lots of stuff running FC3. It is this machine I really want to upgrade to match the hosted site. Then a throw-away machine that I was testing the upgrade from FC3 to FC4.

The link you provided is for Core 5. Can I do the same substituting 4 for 5? This looks almost too easy. The release in the 4 subdirectory is called "fedora-release-4-2.noarch.rpm".

Thanks again,
Bucky
 
Old 05-05-2006, 10:32 AM   #4
cux
LQ Newbie
 
Registered: May 2006
Location: México
Distribution: Debian
Posts: 26

Rep: Reputation: 15
Yes, you can do it with fedora-release-4-2.noarch.rpm. However, i recommend backing up your files because yum and rpm are not perfect. It will work, but it is better to be prepared for any problem.

Hope it helps.
 
Old 05-06-2006, 12:15 PM   #5
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Original Poster
Rep: Reputation: 15
Quote:
Yes, you can do it with fedora-release-4-2.noarch.rpm.
cux,

Thanks again. This worked great on my test/throw-away/notebook machine. When I get some time, I'll work on my home machine. For unrelated reasons, it took about four attempts to get FC3 back on the test machine, more than an hour on cable to update FC3, then three or more hours to upgrade and then update FC4.

rpm the release you want
yum upgrade
yum update

Very smooth. I haven't checked all the changes, but it is a terrific way to upgrade. I will be sure to backup anything important on my home machine before doing this upgrade.

Muchas gracias,
Bucky
 
  


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 update problems on FC4 ZeroIdea Linux - Newbie 1 04-30-2006 05:01 PM
Upgrading FC3 -> FC4 using yum WhiskeyTangoFoxtrot Linux - Newbie 7 03-20-2006 05:21 PM
Error after upgrade from FC3 to FC4 with yum mwpeng Linux - Newbie 1 08-22-2005 06:38 PM
problems updating from FC3 to FC4 gearoidc Fedora 1 07-23-2005 03:20 PM
problems with yum in FC3 nissimnabar Linux - Newbie 1 07-10-2005 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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