Categories
linux tecnologia

fedora yum upgrade problem

copio/incollo dal forum di LinuxQuestions.org:

I’m running a recent install of Fedore Core 2 Test 1 (Would have done Core 1, but doesn’t support all my hardware). Whenever I try to use up2date, many programs get the following error at the “Testing package set / Solving RPM inter-dependencies” screen:
{
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
XFree86-4.3.0-45.0.1 requires XFree86-libs = 4.3.0-45.0.1
XFree86-twm-4.3.0-45.0.1 requires XFree86-libs = 4.3.0-45.0.1
XFree86-xfs-4.3.0-45.0.1 requires XFree86-libs = 4.3.0-45.0.1

Please modify your package selections and try again.
}

You have slightly misunderstood what is happening. The header.info that is being downloaded is specifying that the xorg-x11 packages should be installed since then obselete XFree86 packages. The new packages are not created incorrectly, it is actually the old ones (which you have installed already) that caused these issues by having improper dependencies.

To correct this you need to upgrade to the xorg-x11 packages. This can be done with some clever manipulations of yum –exclude=package options, or you can download all the xorg-x11 packages from the mirror and install them. This has been discussed at length on the test mailing lists, so if you need further info (or I make no sense at all) search them here:
http://www.redhat.com/mailman/listinfo/fedora-test-list

Mike Harris is the maintainer for X at Red Hat, so his posts are of course the ‘authoritative’ source.

The update method I required when doing this was:
# first to update everything that did not require xorg changes…
yum –exclude=chkfontpath –exclude=anaconda –exclude=gdm \
–exclude=kdebase –exclude=xorg* update

# then update xorg which removes and replaces all of XFree86
yum install xorg*

If you have individual package problems with any of these commands you can add them to –exclude= options, or remove the package from your system temporarily.

ciuaz