Header Shadow Image


RedHat Fedora: Fedora 7 to Fedora 8 upgrade.

The Fedora 7 to Fedora 8 upgrade follows the general procedure outlined on the first Fedora Core upgrade page: RedHat Fedora: Fedora Core 1 to Fedora Core 2 Upgrade .  If you have not already upgraded to F7 please visit  RedHat Fedora: Fedora Core 6 to Fedora 7 upgrade. page first before going up to FC8.

You will only need to replace step #8 with the below step:

8 ) Install fedora-relese either using the RPM's in step 2) below or use another mirror from the fedora.redhat.com site.  You can also use the mirrors from fedoralegacy.org if your distribution is too old.

 

[ THE UPGRADE PROCESS ]

1) Firstly made an empty folder somewhere on my system to contain any files during the process.  Before trying the update to Fedora 8 I ran below to ensure my system is up to date:

$ nice -n 19 yum -y upgrade
.
.
.
.
No Packages marked for Update
$

2) So I was good to update further.  I followed the above by running:

$ nice -n 19 yum clean all

which removed a number of packages.  I ran the command again and got:

$ nice -n 19 yum clean all
Yum Version: 3.2.8
COMMAND: yum clean all
Installroot: /
Ext Commands:
all
Cleaning up Everything
$

Next I got the release rpm's downloaded into my temp folder:

$ wget http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-8-3.noarch.rpm
$ wget http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm
$ rpm -Uvh fedora-release-8-3.noarch.rpm fedora-release-notes-8.0.0-3.noarch.rpm Preparing…                ########################################### [100%]
1:fedora-release-notes   ########################################### [ 50%]
2:fedora-release         ########################################### [100%]
$

3) Next I run:

$ nice -n 19 yum -y upgrade 2>&1|tee ./Fedora-8-upgrade.June.28.2008.2.00.PM.txt

and wait for the fireworks.  The 'tee' command above logs the output of 'yum -y upgrade' and also splits the output to STDOUT so in case my screen get's filled up, I can do a post mortem on the update by checking the generated ./Fedora-8-upgrade.June.28.2008.2.00.PM.txt.  It is noteworthy to also mentioned that my /etc/yum.conf also had extended logging enabled (done earlier per previous upgrade) in case of problems:

$ cat /etc/yum.conf
.
.
debuglevel=10
errorlevel=10
.
.
$

This resulted in the following in file 'Fedora-8-upgrade.June.28.2008.2.00.PM.txt'.

Dependency Process ending
Error: Missing Dependency: libxcb = 1.0-4.fc8 is needed by package libxcb-devel

Next I run ldt which on my system is only an alias equivalent to: alias ldt='ls -alitrF –color=tty'

$ ldt|grep libxcb
$ pwd /var/cache/yum/updates/packages
$

Then I got the missing RPM from the following site.

$ wget ftp://fr.rpmfind.net/linux/fedora/updates/8/i386/libxcb-1.0-4.fc8.i386.rpm

But this gave me:

$ rpm -Uvh libxcb-1.0-4.fc8.i386.rpm
Preparing…                ########################################### [100%]
package libxcb-1.1-1.fc7 (which is newer than libxcb-1.0-4.fc8) is already installed
$

So again (as in the previous upgrade with kernels) F7 package is newer then F8 package.  Here are the steps to resolve this.

$ rpm -e libxcb-1.1-1.fc7
error: Failed dependencies:
libxcb-shape.so.0 is needed by (installed) xine-lib-1.1.11.1-1.fc7.2.i386
libxcb-shm.so.0 is needed by (installed) xine-lib-1.1.11.1-1.fc7.2.i386
libxcb-xv.so.0 is needed by (installed) xine-lib-1.1.11.1-1.fc7.2.i386
libxcb.so.1 is needed by (installed) xine-lib-1.1.11.1-1.fc7.2.i386
libxcb.so.1 is needed by (installed) kaffeine-0.8.6-3.fc7.i386
$

$ yum install yum-utils
$ rpm -aq|grep yum-utils
yum-utils-1.1.14-4.fc8
$
$ yumdownloader libxcb
Setting up Package Sacks
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
./libxcb-1.0-4.fc8.i386.rpm already exists and appears to be complete
$

Because I already had it downloaded using wget earlier and instead of just downloading, yumdownload just verified that it's correct.  :)   This got me along further then after rerunning the above yum update command I got:

.
.
ERROR with rpm_check_debug vs depsolve:
Package cdrecord-devel needs cdrecord = 9:2.01-10, this is not available.
Complete!
$ rpm -aq|grep cdrecord
cdrecord-devel-2.01-10
$

Checking further, nothing else installed.

$ rpm -aq|grep fc8
libxcb-1.0-4.fc8
yum-utils-1.1.14-4.fc8
$

Removed the cdrecord-devel package since no corresponding cdrecord package could be found by Yum for Fedora 8:

$ rpm -e cdrecord-devel-2.01-10
$ rpm -aq|grep cdrecord
$

And reran the upgrade:

$ nice -n 19 yum -Cy upgrade 2>&1|tee ./Fedora-8-upgrade.June.28.2008.11.45.PM.txt
.
.
Error: Caching enabled but no local cache of //var/cache/yum/updates/filelists.sqlite.bz2 from updates
$

Catching option did not work so I had to run -y only:

$ nice -n 19 yum -y upgrade 2>&1|tee ./Fedora-8-upgrade.June.28.2008.11.50.PM.txt

This time the upgrade completed successfully without much issues and I check as follows:

$ rpm -aq|grep kernel
kernel-headers-2.6.25.6-27.fc8
kernel-2.6.25.6-27.fc8
kernel-2.6.23.17-88.fc7

________________________________________________________________________________________________

After installing, I checked the root email messages from the system:

—–
/etc/cron.daily/0anacron:
error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
—–

Checking with below for further errors

$ hald –daemon=no –verbose=yes
06:40:16.074 [I] hald.c:634: hal 0.5.10
06:40:16.074 [I] hald.c:699: Will not daemonize
06:40:16.074 [I] hald_dbus.c:5284: local server is listening at unix:abstract=/var/run/hald/dbus-9lAArDVPR6,guid=0c4e4bd966c85372d65c280048676690
06:40:16.078 [I] ck-tracker.c:387: got seat ‘/org/freedesktop/ConsoleKit/Seat1′
06:40:16.079 [I] ck-tracker.c:317: got session ‘/org/freedesktop/ConsoleKit/Session1′ for seat ‘/org/freedesktop/ConsoleKit/Seat1′
06:40:16.081 [I] ck-tracker.c:270: Got active state (ACTIVE) and uid 0 on session ‘/org/freedesktop/ConsoleKit/Session1′
06:40:16.081 [I] ck-tracker.c:338: Got all sessions on seat ‘/org/freedesktop/ConsoleKit/Seat1′
06:40:16.081 [I] ck-tracker.c:414: Got seats
06:40:16.081 [I] ck-tracker.c:796: Got seats and sessions
Runner started – allowed paths are ‘/usr/libexec:/usr/lib/hal/scripts:/usr/bin’
06:40:16.084 [I] hald_runner.c:301: Runner has pid 7526
06:40:16.085 [W] ci-tracker.c:299: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name ‘org.freedesktop.DBus’: no such name
06:40:16.085 [E] hald_dbus.c:4944: Cannot get caller info for org.freedesktop.DBus
06:40:16.085 [I] hald_runner.c:182: runner connection is 0×824f5a0
06:40:16.158 [I] mmap_cache.c:282: cache mtime is 1214709912
Error binding udev_event socket: Address already in use

________________________________________________________________________________________________

Most likely this issue is the result of the upgrade between Fedora 8 and Fedora 7.  Once the upgrade started, I left the PC to do it's work.  Once the upgrade finished early morning, the system was still in Fedora 7 and likely caused this issue. 

A post upgrade reboot resolved the issue in this case.

Leave a Reply

 


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License