Personal tools
You are here: Home Documentation Tips Upgrade to the latest SLF5
Views
Document Actions

Upgrade to the latest SLF5

by Troy Dawson last modified 2013-03-28 14:43
History
Action Performed by Date and Time Comment
Publish Troy Dawson 2008-12-01 12:32 No comments.

How to Upgrade
SLF 5 to the latest 5.x
via yum

All steps must be done as root

Scientific Linux Fermi was designed so that an administrator can easily upgrade their computer between minor releases.
It is not required that administrators upgrade their release, because the security errata will be updated for all releases. But there are often features and/or packages included in later releases that were not available with the earlier releases.
Below is the steps, to change to the latest release.
These instructions are for updating between minor releases, such as from 5.1 to 5.2. Changes between major releases, such as SLF 4.5 to 5.2 may have more problems and are not discussed here.

Special Steps
Some steps will have one or more of the following markings.
Optional : This step may be skipped if wanted.
IMPORTANT : This step is very important.
x86_64 only : This step is only if you are running x86_64.


For the impatient

  1. x86_64 only yum remove perl.i386 gaim.i386 gaim-devel.i386
  2. rpm -Uvh ftp://linux.fnal.gov/linux/slf5x/i386/sites/Fermi/misc/RPMS/yum-conf-latest.SLF5.noarch.rpm
  3. rpm -Uvh ftp://linux.fnal.gov/linux/slf5x/i386/sites/Fermi/SITERPMS/Fermi-release-5.9-1.slf.i386.rpm
        NOTE: for x86_64 you will have to change the i386 to be x86_64. The exact version of Fermi-release may have changed
  4. yum clean all
  5. yum update yum
  6. yum update

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. IMPORTANT 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. x86_64 only yum remove perl.i386 gaim.i386 gaim-devel.i386
    In earlier versions of SL (5.0, 5.1 & 5.2) there was a i386 version of perl and gaim in the x86_64 release. This was taken out by the upstream version, and eventually out of SL. In order to update to newer versions of SL, you need to take out the i386 version of perl and gaim out of your x86_64 install.
  4. Optional 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.
  5. rpm -Uvh ftp://linux.fnal.gov/linux/slf5x/i386/sites/Fermi/misc/RPMS/yum-conf-latest.SLF5.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. rpm -Uvh ftp://linux.fnal.gov/linux/slf5x/i386/sites/Fermi/misc/RPMS/Fermi-release-5.7-1.i386.rpm
    This will upgrade your 'Release' to, in this example, 5.7. You will need to make sure to grab the right file for your arch. In particular, x86_64 systems will need to change all the 'i386' to 'x86_64'. As we release new versions of SLF the exact version of the Fermi-release RPM will change names. You may have to browse for the correct version from within the directory. The correct file name should be at the top of this page
  7. yum clean all
    This cleans up all the yum cache. It's possible yum might remember everything from the old yum configuration. It also cleans up your disk space.
  8. yum update yum
    You should always get latest yum.
  9. yum update
    This is the big part, where everything get's changed.
  10. IMPORTANT Check your grub settings at /boot/grub/grub.conf. Although yum usually get's things right when it updates kernels, it is always a good idea to give the grub config files a check.
  11. yum clean all
    This cleans up all the rpm's that you just downloaded, clearing up your disk space.
  12. /bin/reboot
    Reboot into your new kernel and Scientific Linux Fermi release

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: