Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 03-16-2005, 12:20 AM   #1
LQ Newbie
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Dep. Problem Upgrading from Fedora 2 to 3 Using Yum


I have recently upgraded my system from Fedora Core 1 to Core 2 using Yum, and am happy to report that it was completely painless for me and my computer. Going from Fedora Core 2 to Core 3 on the other hand .... (lots of expletives deleted) .

I have followed the instructions from these URL's:

but so far I have not been able complete this daunting task.

Here are my yum configuration files:


name=Fedora Core $releasever - $basearch - Base

name=Fedora Core $releasever - $basearch - Released Updates

#name=Fedora Core $releasever - $basearch - Unreleased Updates

#name=Fedora Core $releasever - Development Tree
name=Fedora Core $releasever - $basearch - Released Updates
name=Fedora Core $releasever - $basearch - Base
There are other configuration files too, but they are all backups of old versions of these files.

When I run 'yum update' as root, I get this output:

libxslt-1.1.11-1.i386.rpm 100% |=========================|  13 kB    00:00
---> Package libxslt.i386 0:1.1.11-1 set to be updated
---> Downloading header for yp-tools to pack into transaction set.
yp-tools-2.8-7.i386.rpm   100% |=========================| 9.6 kB    00:00
---> Package yp-tools.i386 0:2.8-7 set to be installed
---> Downloading header for howl to pack into transaction set.
howl-0.9.6-6.i386.rpm     100% |=========================| 4.6 kB    00:00
---> Package howl.i386 0:0.9.6-6 set to be installed
--> Running transaction check
--> Processing Conflict: xorg-x11-font-utils conflicts xorg-x11-base-fonts<=
--> Processing Conflict: udev conflicts kernel< 0:2.6
Traceback (most recent call last):
  File "/usr/bin/yum", line 8, in ?
  File "/usr/share/yum-cli/", line 104, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.3/site-packages/yum/", line 174, in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.3/site-packages/yum/", line 190, in resolveDeps
    (checkdep, missing, conflict, errormsgs) = self._processConflict(dep)
  File "/usr/lib/python2.3/site-packages/yum/", line 492, in _processConflict
    uplist = self.up.getUpdatesList(name=confname)
UnboundLocalError: local variable 'confname' referenced before assignment
If anybody feels like taking a shot at this, I would appreciate it.

Old 03-16-2005, 01:24 AM   #2
Registered: Mar 2004
Location: Minnesota
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 15
shouldn't the command be "yum -y upgrade" rather than "update"?
Old 03-17-2005, 09:16 PM   #3
LQ Newbie
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0

The above documentation states:

- Now you're ready to run the update:
yum upgrade
So I'm going to stick with 'yum upgrade', but I think 'yum -y --obsoletes update' should do the same thing.

Here's what the man page states for the options 'upgrade', 'update', and the -y and --obsoletes flags:

update If run without any packages, update will update every currently installed package. If one or more packages
are specified, Yum will only update the listed packages. While updating packages, yum will ensure that all
dependencies are satisfied. If no package matches the given package name(s), they are assumed to be a shell
glob and any matches are then installed.

If the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it
better for distro-version changes, for example: upgrading from somelinux 8.0 to somelinux 9.

Is the same as the update command with the --obsoletes flag set. See update for more details.

-y Assume yes; assume that the answer to any question which would be asked is yes.
Configuration Option: assume-yes

This option only has affect for an update, it enables yum´s obsoletes processing logic. For more information
see the update command above.
Configuration Option: obsoletes
I don't think the difference between 'update' and 'upgrade' is effecting me at all, but thanks for the post.
Old 03-18-2005, 03:15 PM   #4
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
I think you didn't follow the instructions closely. Because, for instance, you have repository definitions in both /etc/yum.conf and below /etc/yum.repos.d/

It doesn't become clear at all what steps you've finished already.
Old 03-20-2005, 05:45 PM   #5
LQ Newbie
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I actually did manage to convince yum to upgrade me to Fedora Core 3, but after the upgrade, X would not start. I could not find any error messages in the log files, so I gave up and downloaded the FC3 CD's and re-installed.

The problem getting the upgrade to take place was that I forgot to uninstall the 2.4 series kernel I had installed. Actuall, I had two different 2.4 series kernels installed, one via RPM, and the other I installed from source using 'make menuconfig' ... I used 'rpm -e' to uninstall the 2.4 kernel, and that got rid of the Python errors as well as the "udev conflicts kernel< 0:2.6" dependency problem.

To get rid of the "xorg-x11-font-utils conflicts xorg-x11-base-fonts<=" problem, I uninstalled "xorg-x11-font-utils" and "xorg-x11-base-fonts" rpm's with the command 'rpm -e --nodeps'. This is undoubtably what caused the problem with X not starting, but I could not figure out how to fix it for the life of me.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Yum update problem klnasveschuk Fedora 3 10-11-2005 06:26 AM
Fedora core 4 yum problem Lung-Dart Linux - Software 1 07-05-2005 08:44 PM
upgrading to fedora core2 with yum :P chrisyb Linux - Newbie 6 04-10-2005 11:04 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
yum/up2date problem with Fedora Core2 Space_Balls Fedora 7 03-05-2004 05:39 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration