バージョンアップする前には、バックアップをとっておく。
バージョン6.0から6.1にアップグレードします
# yum --releasever=6.1 update sl | 3.2 kB 00:00 sl/primary_db | 4.0 MB 00:02 sl-security | 1.9 kB 00:00 sl-security/primary_db | 1.1 MB 00:00 Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package audit.x86_64 0:2.1-5.el6 set to be updated ....... ....... ---> Package yum-metadata-parser.x86_64 0:1.1.2-16.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: audit x86_64 2.1-5.el6 sl 207 k ........ ........ yum-metadata-parser x86_64 1.1.2-16.el6 sl 26 k Transaction Summary ================================================================================ Install 0 Package(s) Upgrade 87 Package(s) Total download size: 57 M Is this ok [y/N]: y ...... (87/87): yum-metadata-parser-1.1.2-16.el6.x86_64.rpm | 26 kB 00:00 -------------------------------------------------------------------------------- Total 1.8 MB/s | 57 MB 00:32 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : libgcc-4.4.5-6.el6.x86_64 1/174 ........ yum-autoupdate.noarch 5:2-2 yum-metadata-parser.x86_64 0:1.1.2-16.el6 Complete!
アップデートが終わったら再起動する。
# shutdown -r now 一応、バージョン確認 # cat /etc/redhat-release Scientific Linux release 6.1 (Carbon)