テンプレートは準仮想のCentOS5.3。
スナップショット取ってからアップデート開始。
2〜3日使ってみて、問題なさそうならスナップショットは消す予定。
アップデート
アップデート開始。
yum update
エラー出た。
memcached-1.2.8-1.el5.i386 from installed has depsolving problems --> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.8-1.el5.i386 (installed) Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.8-1.el5.i386 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest
libeventインストール。
yum install --enablerepo=epel libevent
アップデート。
yum update
インストール・アップデートされるパッケージ一覧。(我が家の場合)
====================================================================================== Package Arch Version Repository Size ====================================================================================== Installing: kernel-xen i686 2.6.18-194.3.1.el5 updates 18 M kernel-xen-devel i686 2.6.18-194.3.1.el5 updates 5.4 M Updating: NetworkManager i386 1:0.7.0-10.el5 base 1.0 M NetworkManager-glib i386 1:0.7.0-10.el5 base 82 k acl i386 2.2.39-6.el5 base 68 k apr-util i386 1.2.7-11.el5 base 80 k apr-util-devel i386 1.2.7-11.el5 base 53 k at i386 3.1.8-84.el5 base 56 k audit i386 1.7.17-3.el5 base 361 k audit-libs i386 1.7.17-3.el5 base 78 k audit-libs-python i386 1.7.17-3.el5 base 79 k autofs i386 1:5.0.1-0.rc2.143.el5 base 887 k automake noarch 1.9.6-2.3.el5 base 476 k avahi i386 0.6.16-7.el5 base 250 k avahi-compat-libdns_sd i386 0.6.16-7.el5 base 23 k binutils i386 2.17.50.0.6-14.el5 base 3.0 M centos-release i386 10:5-5.el5.centos base 19 k centos-release-notes i386 5.5-0 base 40 k checkpolicy i386 1.33.1-6.el5 base 251 k chkconfig i386 1.3.30.2-2.el5 base 157 k coolkey i386 1.1.0-14.el5 base 91 k cpp i386 4.1.2-48.el5 base 2.6 M cpuspeed i386 1:1.2.1-9.el5 base 32 k crash i386 4.1.2-4.el5.centos base 1.5 M cups i386 1:1.3.7-18.el5 base 3.1 M cups-libs i386 1:1.3.7-18.el5 base 197 k curl i386 7.15.5-9.el5 base 233 k dbus i386 1.1.2-14.el5 base 235 k dbus-libs i386 1.1.2-14.el5 base 123 k device-mapper i386 1.02.39-1.el5 base 719 k device-mapper-event i386 1.02.39-1.el5 base 20 k device-mapper-multipath i386 0.4.7-34.el5 base 2.8 M dhclient i386 12:3.0.5-23.el5 base 276 k dhcpv6-client i386 1.0.10-18.el5 base 123 k dmidecode i386 1:2.10-3.el5 base 74 k dmraid i386 1.0.0.rc13-63.el5 base 725 k dmraid-events i386 1.0.0.rc13-63.el5 base 24 k dosfstools i386 2.11-9.el5 base 72 k ethtool i386 6-4.el5 base 63 k filesystem i386 2.4.0-3.el5 base 1.0 M firstboot-tui i386 1.4.27.8-1.el5.centos base 189 k gcc i386 4.1.2-48.el5 base 5.2 M gcc-c++ i386 4.1.2-48.el5 base 3.4 M glibc i686 2.5-49 base 5.2 M glibc-common i386 2.5-49 base 16 M glibc-devel i386 2.5-49 base 2.0 M glibc-headers i386 2.5-49 base 601 k hal i386 0.5.8.1-59.el5 base 389 k hmaccalc i386 0.9.6-3.el5 base 21 k httpd i386 2.2.3-43.el5.centos base 1.2 M httpd-devel i386 2.2.3-43.el5.centos base 148 k hwdata noarch 0.213.18-1.el5.1 base 380 k iproute i386 2.6.18-11.el5 base 812 k iptstate i386 1.4-2.el5 base 27 k kernel-headers i386 2.6.18-194.3.1.el5 updates 1.0 M kpartx i386 0.4.7-34.el5 base 406 k ksh i386 20100202-1.el5 base 1.2 M kudzu i386 1.2.57.1.24-1.el5.centos base 223 k less i386 436-2.el5 base 105 k libXrandr i386 1.1.1-3.3 base 15 k libXrandr-devel i386 1.1.1-3.3 base 15 k libXt i386 1.0.2-3.2.el5 base 173 k libXt-devel i386 1.0.2-3.2.el5 base 330 k libacl i386 2.2.39-6.el5 base 19 k libaio i386 0.3.106-5 base 19 k libgcc i386 4.1.2-48.el5 base 95 k libhugetlbfs i386 1.3-7.el5 base 42 k libpcap i386 14:0.9.4-15.el5 base 108 k libpcap-devel i386 14:0.9.4-15.el5 base 119 k libsepol i386 1.15.2-3.el5 base 128 k libsepol-devel i386 1.15.2-3.el5 base 187 k libstdc++ i386 4.1.2-48.el5 base 362 k libstdc++-devel i386 4.1.2-48.el5 base 2.8 M logwatch noarch 7.3-8.el5 base 243 k lvm2 i386 2.02.56-8.el5_5.1 updates 2.5 M man-pages noarch 2.39-15.el5_4 base 4.2 M man-pages-ja noarch 20060815-13.el5 base 4.9 M mdadm i386 2.6.9-3.el5 base 827 k mesa-libGL i386 6.5.1-7.8.el5 base 9.6 M mesa-libGL-devel i386 6.5.1-7.8.el5 base 461 k mesa-libGLU i386 6.5.1-7.8.el5 base 225 k mesa-libGLU-devel i386 6.5.1-7.8.el5 base 91 k microcode_ctl i386 1:1.17-1.50.el5 base 558 k mkinitrd i386 5.1.19.6-61.el5_5.1 updates 467 k mod_ssl i386 1:2.2.3-43.el5.centos base 91 k module-init-tools i386 3.3-0.pre3.1.60.el5 base 420 k nash i386 5.1.19.6-61.el5_5.1 updates 1.1 M net-tools i386 1.60-81.el5 base 360 k newt i386 0.52.2-15.el5 base 111 k nscd i386 2.5-49 base 163 k nss_db i386 2.2-35.4.el5_5 updates 763 k nss_ldap i386 253-25.el5 base 1.4 M ntsysv i386 1.3.30.2-2.el5 base 24 k numactl i386 0.9.8-11.el5 base 45 k openldap i386 2.3.43-12.el5 base 294 k openldap-devel i386 2.3.43-12.el5 base 1.5 M openssh i386 4.3p2-41.el5 base 287 k openssh-clients i386 4.3p2-41.el5 base 448 k openssh-server i386 4.3p2-41.el5 base 269 k pam_krb5 i386 2.2.14-15 base 136 k paps i386 0.6.6-19.el5 base 33 k parted i386 1.8.1-27.el5 base 541 k pax i386 3.4-2.el5_4 base 63 k pciutils i386 2.2.3-8.el5_4 base 83 k pcsc-lite i386 1.4.4-1.el5 base 123 k pcsc-lite-libs i386 1.4.4-1.el5 base 23 k policycoreutils i386 1.33.12-14.8.el5 base 619 k procps i386 3.2.7-16.el5 base 211 k readahead i386 1:1.3-8.el5 base 47 k samba i386 3.0.33-3.28.el5 base 16 M samba-common i386 3.0.33-3.28.el5 base 6.7 M samba-swat i386 3.0.33-3.28.el5 base 8.2 M selinux-policy noarch 2.4.6-279.el5 base 405 k selinux-policy-targeted noarch 2.4.6-279.el5 base 1.2 M sendmail i386 8.13.8-8.el5 base 623 k shadow-utils i386 2:4.0.17-15.el5 base 1.0 M sos noarch 1.7-9.49.el5 base 147 k sudo i386 1.7.2p1-6.el5_5 updates 230 k sysklogd i386 1.4.1-46.el5 base 74 k system-config-securitylevel-tui i386 1.6.29.1-5.el5 base 253 k tar i386 2:1.15.1-30.el5 base 747 k tcpdump i386 14:3.9.4-15.el5 base 447 k tcsh i386 6.14-17.el5 base 464 k tzdata i386 2010i-1.el5 updates 793 k vconfig i386 1.9-3 base 55 k wpa_supplicant i386 1:0.5.10-9.el5 base 258 k yp-tools i386 2.9-1.el5 base 71 k Installing for dependencies: libsmbclient i386 3.0.33-3.28.el5 base 907 k poppler i386 0.5.4-4.4.el5_4.11 base 3.0 M poppler-utils i386 0.5.4-4.4.el5_4.11 base 72 k Transaction Summary ====================================================================================== Install 5 Package(s) Upgrade 125 Package(s) Total download size: 163 M
エラー出た。
Transaction Check Error: installing package filesystem-2.4.0-3.el5.i386 needs 8KB on the /mnt filesystem installing package sos-1.7-9.49.el5.noarch needs 8KB on the /mnt filesystem installing package glibc-headers-2.5-49.i386 needs 8KB on the /mnt filesystem installing package ntsysv-1.3.30.2-2.el5.i386 needs 8KB on the /mnt filesystem installing package tzdata-2010i-1.el5.i386 needs 8KB on the /mnt filesystem installing package logwatch-7.3-8.el5.noarch needs 8KB on the /mnt filesystem installing package audit-1.7.17-3.el5.i386 needs 8KB on the /mnt filesystem installing package dmidecode-2.10-3.el5.i386 needs 8KB on the /mnt filesystem installing package acl-2.2.39-6.el5.i386 needs 8KB on the /mnt filesystem installing package libacl-2.2.39-6.el5.i386 needs 8KB on the /mnt filesystem installing package dmraid-events-1.0.0.rc13-63.el5.i386 needs 8KB on the /mnt filesystem installing package curl-7.15.5-9.el5.i386 needs 8KB on the /mnt filesystem installing package libXrandr-devel-1.1.1-3.3.i386 needs 8KB on the /mnt filesystem installing package nash-5.1.19.6-61.el5_5.1.i386 needs 8KB on the /mnt filesystem installing package sendmail-8.13.8-8.el5.i386 needs 8KB on the /mnt filesystem installing package system-config-securitylevel-tui-1.6.29.1-5.el5.i386 needs 8KB on the /mnt filesystem installing package audit-libs-1.7.17-3.el5.i386 needs 8KB on the /mnt filesystem installing package shadow-utils-4.0.17-15.el5.i386 needs 8KB on the /mnt filesystem installing package dmraid-1.0.0.rc13-63.el5.i386 needs 8KB on the /mnt filesystem installing package cpp-4.1.2-48.el5.i386 needs 8KB on the /mnt filesystem installing package httpd-2.2.3-43.el5.centos.i386 needs 8KB on the /mnt filesystem installing package mdadm-2.6.9-3.el5.i386 needs 8KB on the /mnt filesystem installing package wpa_supplicant-0.5.10-9.el5.i386 needs 8KB on the /mnt filesystem installing package mod_ssl-2.2.3-43.el5.centos.i386 needs 8KB on the /mnt filesystem installing package nss_db-2.2-35.4.el5_5.i386 needs 8KB on the /mnt filesystem installing package poppler-utils-0.5.4-4.4.el5_4.11.i386 needs 8KB on the /mnt filesystem installing package libaio-0.3.106-5.i386 needs 8KB on the /mnt filesystem installing package mesa-libGL-6.5.1-7.8.el5.i386 needs 8KB on the /mnt filesystem installing package NetworkManager-0.7.0-10.el5.i386 needs 8KB on the /mnt filesystem installing package nss_ldap-253-25.el5.i386 needs 8KB on the /mnt filesystem installing package apr-util-1.2.7-11.el5.i386 needs 8KB on the /mnt filesystem installing package sysklogd-1.4.1-46.el5.i386 needs 8KB on the /mnt filesystem installing package module-init-tools-3.3-0.pre3.1.60.el5.i386 needs 8KB on the /mnt filesystem installing package httpd-devel-2.2.3-43.el5.centos.i386 needs 8KB on the /mnt filesystem installing package newt-0.52.2-15.el5.i386 needs 8KB on the /mnt filesystem installing package dhcpv6-client-1.0.10-18.el5.i386 needs 8KB on the /mnt filesystem installing package nscd-2.5-49.i386 needs 8KB on the /mnt filesystem installing package paps-0.6.6-19.el5.i386 needs 8KB on the /mnt filesystem installing package samba-swat-3.0.33-3.28.el5.i386 needs 8KB on the /mnt filesystem installing package ksh-20100202-1.el5.i386 needs 8KB on the /mnt filesystem installing package libhugetlbfs-1.3-7.el5.i386 needs 8KB on the /mnt filesystem installing package procps-3.2.7-16.el5.i386 needs 8KB on the /mnt filesystem installing package chkconfig-1.3.30.2-2.el5.i386 needs 8KB on the /mnt filesystem installing package pax-3.4-2.el5_4.i386 needs 8KB on the /mnt filesystem installing package libstdc++-4.1.2-48.el5.i386 needs 8KB on the /mnt filesystem installing package automake-1.9.6-2.3.el5.noarch needs 8KB on the /mnt filesystem installing package glibc-common-2.5-49.i386 needs 8KB on the /mnt filesystem installing package dosfstools-2.11-9.el5.i386 needs 8KB on the /mnt filesystem installing package kernel-headers-2.6.18-194.3.1.el5.i386 needs 8KB on the /mnt filesystem installing package pciutils-2.2.3-8.el5_4.i386 needs 8KB on the /mnt filesystem installing package sudo-1.7.2p1-6.el5_5.i386 needs 8KB on the /mnt filesystem installing package openldap-devel-2.3.43-12.el5.i386 needs 8KB on the /mnt filesystem installing package apr-util-devel-1.2.7-11.el5.i386 needs 8KB on the /mnt filesystem installing package avahi-compat-libdns_sd-0.6.16-7.el5.i386 needs 8KB on the /mnt filesystem installing package libsepol-1.15.2-3.el5.i386 needs 8KB on the /mnt filesystem installing package libXrandr-1.1.1-3.3.i386 needs 8KB on the /mnt filesystem installing package iproute-2.6.18-11.el5.i386 needs 8KB on the /mnt filesystem installing package glibc-2.5-49.i686 needs 8KB on the /mnt filesystem installing package device-mapper-1.02.39-1.el5.i386 needs 8KB on the /mnt filesystem installing package dbus-1.1.2-14.el5.i386 needs 8KB on the /mnt filesystem installing package selinux-policy-targeted-2.4.6-279.el5.noarch needs 8KB on the /mnt filesystem installing package audit-libs-python-1.7.17-3.el5.i386 needs 8KB on the /mnt filesystem installing package libXt-devel-1.0.2-3.2.el5.i386 needs 8KB on the /mnt filesystem installing package libstdc++-devel-4.1.2-48.el5.i386 needs 8KB on the /mnt filesystem installing package device-mapper-event-1.02.39-1.el5.i386 needs 8KB on the /mnt filesystem installing package hmaccalc-0.9.6-3.el5.i386 needs 8KB on the /mnt filesystem installing package libgcc-4.1.2-48.el5.i386 needs 8KB on the /mnt filesystem installing package selinux-policy-2.4.6-279.el5.noarch needs 8KB on the /mnt filesystem installing package parted-1.8.1-27.el5.i386 needs 8KB on the /mnt filesystem installing package device-mapper-multipath-0.4.7-34.el5.i386 needs 8KB on the /mnt filesystem Error Summary -------------
と思ったら、/mntにCDをマウントしたままになってたのが原因だった。
umount /mnt
アップデート。
yum update
再起動
reboot
確認。
# cat /etc/redhat-release CentOS release 5.5 (Final) # uname -r 2.6.18-194.3.1.el5xen