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

  1. rpm -Uvh ftp://linux.fnal.gov/linux/lts303/i386/sites/Fermi/Updates/yum-conf-303-4.LTS.noarch.rpm
  2. yum update yum
  3. yum upgrade


For the more cautious

  1. Make sure you have done your backup's.
    I haven't heard of anyone needing them, but don't you be the first.
  2. 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.
  3. 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.
  4. yum clean all
    This cleans up all the rpm's that you just downloaded, clearning up your disk space.
  5. 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.
  6. yum -d1 update yum
    You need the latest yum.
  7. yum install Fermi-release
    Do this first so that your login says the right thing.
  8. 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.
  9. 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.
  10. 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.
  11. NEW Upgrade all the packages that might have changed arch.
    1. Edit /etc/yum.conf and change
      exactarch=1
      to
      exactarch=0
    2. yum update
      This will update all the packages that changed arch's, such as from i386 to noarch
    3. Re-edit /etc/yum.conf and change
      exactarch=0
      to
      exactarch=1
      Because you don't want some to accidentally change (like glibc)
  12. yum clean all
    This cleans up all the rpm's that you just downloaded, clearning up your disk space.
  13. /bin/reboot
    Reboot into your new kernel and Scientific Linux Fermi release