If this step fails, I recommend running the following command to capture all screen output to /tmp/yum_upgrade.
# yum upgrade 2>&1 | tee /tmp/yum_upgrade
Failures generally indicate that a currently-installed RPM has a dependency that cannot be satisfied with packages from the new Fedora Core release. Deprecated packages and packages from third party repositories may cause this problem.
The following generates a list of packages that may need to be removed prior to a successful yum upgrade. $ perl -ne 'print "$1\n" if ((/Error: Missing Dependency:.*is needed by package (.*)$/) || (/Error: Package (.*?) needs.*, this is not available./))' /tmp/yum_upgrade | sort | uniq
If the initscripts package is returned, I recommend booting into the latest Fedora Core 4 kernel, removing all previous kernels, and running yum upgrade again.
3. Reboot the system to begin using Fedora Core 5. # reboot
2 comments:
Upgrading from FC4 to FC5 is not that difficult to do without downloading CD's.
See below:
1. Download and install the Fedora Core 5 version of fedora-release from one of the Fedora Core mirrors.
Example:
# rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
2. Upgrade to Fedora Core 5.
# yum -y upgrade
If this step fails, I recommend running the following command to capture all screen output to /tmp/yum_upgrade.
# yum upgrade 2>&1 | tee /tmp/yum_upgrade
Failures generally indicate that a currently-installed RPM has a dependency that cannot be satisfied with packages from the new Fedora Core release. Deprecated packages and packages from third party repositories may cause this problem.
The following generates a list of packages that may need to be removed prior to a successful yum upgrade.
$ perl -ne 'print "$1\n" if ((/Error: Missing Dependency:.*is needed by package (.*)$/) || (/Error: Package (.*?) needs.*, this is not available./))' /tmp/yum_upgrade | sort | uniq
If the initscripts package is returned, I recommend booting into the latest Fedora Core 4 kernel, removing all previous kernels, and running yum upgrade again.
3. Reboot the system to begin using Fedora Core 5.
# reboot
not that difficult.. or is it? ;-)
Post a Comment