How to Upgrade
Fermi LTS 3.0.1 to Scientific Linux Fermi LTS 3.0.3
via yum
Updated November 12, 2004
All steps must be done as root
For the impatient
-
rpm -Uvh ftp://linux.fnal.gov/linux/lts303/i386/sites/Fermi/Updates/yum-conf-303-4.LTS.noarch.rpm
-
yum update yum
-
yum upgrade
For the more cautious
-
Make sure you have done your backup's.
I haven't heard of anyone needing them, but don't you be the first.
-
Make sure you have enough disk space. In particular, make sure you have enough space in /var/cache, which is where yum downloads the rpm's to.
-
yum update
This will get your system up to date with the latest packages. It will also make the last step smaller. If you want, you really can skip this step.
-
yum clean all
This cleans up all the rpm's that you just downloaded, clearning up your disk space.
-
rpm -Uvh ftp://linux.fnal.gov/linux/lts303/i386/sites/Fermi/Updates/yum-conf-303-4.LTS.noarch.rpm
This will install the latest yum.conf for your system.
If you customized your yum.cron, or your yum.cron.excludes files,
these will not be touched. So you may want to redo them.
-
yum -d1 update yum
You need the latest yum.
-
yum install Fermi-release
Do this first so that your login says the right thing.
-
yum upgrade
Note that this is a yum upgrade and not a yum update. If there is any package that 'obsoletes' another package, it will get installed and remove the obsoleted package. An example of that would be xmms-mp3 obsoletes xmms-mpg123.
-
Check your grub and/or lilo settings. Although yum usually get's things right when it updates kernels, it is always a good idea to give the grub and/or lilo config files a check.
- If you have AFS
yum install openafs-thiscell
Since LTS 303 and greater is using the OpenAFS from Scientific Linux, it no
longer has the fnal.gov cell built into the rpms. So you have to install openafs-thiscell-FNAL to
get your thiscell set to fnal.gov.
-
NEW Upgrade all the packages that might have changed arch.
- Edit /etc/yum.conf and change
exactarch=1
to
exactarch=0
- yum update
This will update all the packages that changed arch's, such as from i386 to noarch
- Re-edit /etc/yum.conf and change
exactarch=0
to
exactarch=1
Because you don't want some to accidentally change (like glibc)
-
yum clean all
This cleans up all the rpm's that you just downloaded, clearning up your disk space.
-
/bin/reboot
Reboot into your new kernel and Scientific Linux Fermi release