------------------------------------------------------------------------
-------- Original Message --------
Subject: yum upgrade FC5->FC6 issues
From: Jim Cornette <fc-cornette@xxxxxxxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Date: 10/26/2006 03:10 PM
Rahul Sundaram wrote:
I ran into this problem with libsepol also today. I removed the db
entry using rpm --justdb --nodeps for libsepol. After removing the
database entry, I ran yum install libsepol which pulled in the glibc
libraries.
Afterwards, yum -y update took care of the rest. (of course I ran
from a terminal because the GUI is gonna get killed at some point
during the upgrade. It did, But I was at the login screen, so it did
not effect me being in runlevel 5)
Using a terminal window in the GUI will leave you with about 1000 or
so multiple entries in the database.
Removing mozilla with yum was also needed on the system which took
out yelp and a few other packages which needed mozilla previously.
You can add yelp back post upgrade without a lot of trouble.
Previously I thought of yum erase libsepol but it wanted to remove
quite a few packages. I decided to do the above instead. I did not
have errors when removing VFlib2 with rpm. It is not on FC6, so it
will not reinstall. The other two errors listed did not effect my
system.
Expect for this to take some time to complete. It took me about 3
hours on guess-timation I copied the DVD rpms over to the hard drive
core repository, downloaded the updates and testing repos to their
local repositories before upgrading. This was a one shot deal, no
re-upgrading needed.
Jim
I was really trying hard not to muck with the integrity of the rpm
database. I always assume that if I have been a good boy and not
mucked with it it knows more than I do.
So, I started looking for why libsepol-devel kept reappearing. I ran
the "yum upgrade" again and captured the output so I could look at it.
(i.e. yum upgrade | tee upgrade.log). I found that libselinux-devel
was calling for it. I then yum removed libselinux-devel and all of the
problems went away.
I will muck with the repository when I have to but it is only after a
lot of research and determining that it is my only choice.
------------------------------------------------------------------------
I think the reason for this problem with libsepol is the version number.
FC5 has (after all updates) version 1.12.28-1.fc5. FC6 has version
1.12.27-1 both for libsepol and libsepol-devel. Here is my situation. I
was doing yum upgrade FC5->FC6.
FC5 had libselinux-devel installed. New libselinux-devel requires
lisepol-devel. The version of this package on FC6 requires in turn
libsepol version 1.12.27-1, but I have libsepol 1.12.28-1.fc5 already
and it was not going to be upgraded to a lower version number.
So yum is confused and we have dependency issue. In my case I removed
lidsepol package from FC5 with --nodeps option, copied the file
/lib/libsepol.so.1 back from another system and then did yum upgrade. It
would have been easier to just save a copy of the file somewhere on the
system, but it was too late at that point. Looks like the version of
libsepol and libsepol-devel should be changed to something higher then
version on FC5 to avoid this confussion. Did anyone checked bugzilla on
that?
Searchig for fc - version6 - libsepol turned nothing.
Hope that note will help somebody.
Leon