Yum upgrade from FC8 to FC9
From MyWiki
Contents |
Procedure
- Get current first
yum update yum clean all yum update yum clean all
- Update the yum repo
(not needed) rpm -Uvh http://mirror.anl.gov/pub/fedora/linux/releases/9/Fedora/i386/os/Packages/fedora-release-9-2.noarch.rpm
rpm -Uvh http://mirror.anl.gov/pub/fedora/linux/releases/9/Fedora/i386/os/Packages/fedora-release-notes-9.0.0-1.noarch.rpm
yum install fedora-release-9-5.transition rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9
- Do the update
yum -y update
- Reinstall/verify package gnupg2
yum install gnupg2
- Shut down XFS (xorg-x11-xfs is deprecated and causes X problems in F9)
service xfs stop chkconfig --level 12345 xfs off
Troubleshooting
gnupg2
There's a packaging bug. Before update, remove gnupg2, but re-install it the update.
rpm -e --nodeps gnupg2
perl-XML-Encoding
Dependency problem, fixed by:
rpm -e perl-XML-Encoding
Default Environment Variables
There has been a change in how environment variables are set for non-interactive shells. One situation where this applies is when commands are issued via SSH of the form:
ssh user@host 'command'
For example, the LANG environment variable is no longer being set, which will cause changes in the formats for dates, etc. The solution (for this specific problem) is to explicitly set the LANG environment variable as follows:
export LANG=en_US.UTF-8
This problem arose in Fedora 9 (actually starting with rpm package setup at version 2.6.12) due to a change in /etc/bashrc. Previously /etc/profile.d/* scripts were executed as part of the /etc/bashrc script, but not any more.
