·
·
Scientific Linux 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, for both yum and apt, to change to the latest 5.x release. These instructions are for updating between minor releases, such as from 5.0 to 5.1. Changes between major releases 4 and 5 (such as from 4.2 to 5.1), cannot be done with yum, but must be done with the main installer.
For The Impatient
1. yum clean all
2. rpm -Uvh ftp://ftp.scientificlinux.org/linux/scientific/5x/i386/misc/RPMS/yum-conf-latest.SL.noarch.rpm
3. yum update yum
4. yum update
For those a little 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. optionalyum updateThis will get your system up to date with the latest packages. It will also make the last step smaller.
4. yum clean allThis cleans up all the headers and packages from your old yum configuration. If you do not do this step, it is very likely that yum will say that there is nothing to do.
5. rpm -Uvh ftp://ftp.scientificlinux.org/linux/scientific/5x/i386/misc/RPMS/yum-conf-latest.SL.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.
6. yum update yumIt's always good to have the latest yum before doing this, just incase the latest yum has fixed some bug you would have ran into.
7. yum updateThis is the big part, where everything get's changed.
8. Check your grub settings. Although yum usually get's things right when it updates kernels, it is always a good idea to give the grub config file a check.
9. optionalyum clean allThis cleans up all the rpm's that you just downloaded, clearning up your disk space.
10. /sbin/rebootReboot into your new kernel and Scientific Linux release
创建人: dawson
¥29.8
¥9.9
¥59.8