Portal Home > Knowledgebase > Articles Database > Update centos x64 with hypervm


Update centos x64 with hypervm




Posted by xenonhost, 11-11-2011, 05:50 AM
I'm trying to update from CentOS release 5.5 (Final) to 5.6. When I run yum update, I'm getting duplicate packages arch updates (both x86 and x64). The server is in production so I don't wanna break it. ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: NetworkManager i386 1:0.7.0-13.el5 base 1.0 M NetworkManager x86_64 1:0.7.0-13.el5 base 1.1 M NetworkManager-glib i386 1:0.7.0-13.el5 base 82 k NetworkManager-glib x86_64 1:0.7.0-13.el5 base 84 k SysVinit x86_64 2.86-17.el5 base 118 k amtu x86_64 1.0.6-2.el5 base 25 k audit x86_64 1.7.18-2.el5 base 365 k audit-libs i386 1.7.18-2.el5 base 78 k audit-libs x86_64 1.7.18-2.el5 base 78 k audit-libs-python x86_64 1.7.18-2.el5 base 82 k authconfig x86_64 5.3.21-7.el5 base 456 k autofs x86_64 1:5.0.1-0.rc2.156.el5_7.4 updates 934 k avahi x86_64 0.6.16-10.el5_6 base 258 k avahi-compat-libdns_sd x86_64 0.6.16-10.el5_6 base 24 k avahi-glib x86_64 0.6.16-10.el5_6 base 15 k bash x86_64 3.2-32.el5 base 1.8 M bind-libs x86_64 30:9.3.6-16.P1.el5 base 895 k bind-utils x86_64 30:9.3.6-16.P1.el5 base 178 k centos-release x86_64 10:5-7.el5.centos base 20 k centos-release-notes x86_64 5.7-0 base 40 k coolkey i386 1.1.0-15.el5 base 94 k coolkey x86_64 1.1.0-15.el5 base 95 k coreutils x86_64 5.97-34.el5 base 3.6 M cpp x86_64 4.1.2-51.el5 base 2.9 M cpuspeed x86_64 1:1.2.1-10.el5 base 33 k crash x86_64 4.1.2-8.el5.centos base 1.7 M cryptsetup-luks i386 1.0.3-8.el5 base 717 k cryptsetup-luks x86_64 1.0.3-8.el5 base 710 k cups x86_64 1:1.3.7-26.el5_6.1 base 3.1 M cups-libs i386 1:1.3.7-26.el5_6.1 base 199 k cups-libs x86_64 1:1.3.7-26.el5_6.1 base 195 k curl i386 7.15.5-9.el5_7.4 updates 234 k curl x86_64 7.15.5-9.el5_7.4 updates 231 k dbus x86_64 1.1.2-16.el5_7 updates 234 k dbus-libs i386 1.1.2-16.el5_7 updates 124 k dbus-libs x86_64 1.1.2-16.el5_7 updates 123 k device-mapper i386 1.02.63-4.el5 base 776 k device-mapper x86_64 1.02.63-4.el5 base 808 k device-mapper-event x86_64 1.02.63-4.el5 base 23 k device-mapper-multipath x86_64 0.4.7-46.el5_7.1 updates 3.0 M dhclient x86_64 12:3.0.5-29.el5_7.1 updates 286 k dmidecode x86_64 1:2.11-1.el5 base 78 k dmraid x86_64 1.0.0.rc13-65.el5 base 744 k dmraid-events x86_64 1.0.0.rc13-65.el5 base 24 k dump x86_64 0.4b41-5.el5 base 1.1 M e2fsprogs x86_64 1.39-33.el5 base 844 k e2fsprogs-libs i386 1.39-33.el5 base 120 k e2fsprogs-libs x86_64 1.39-33.el5 base 120 k ecryptfs-utils i386 75-5.el5_7.2 updates 159 k ecryptfs-utils x86_64 75-5.el5_7.2 updates 164 k filesystem x86_64 2.4.0-3.el5.centos base 1.0 M finger x86_64 0.17-33 base 21 k freetype i386 2.2.1-28.el5_7.1 updates 312 k freetype x86_64 2.2.1-28.el5_7.1 updates 311 k gcc x86_64 4.1.2-51.el5 base 5.3 M gdbm x86_64 1.8.0-26.2.1.el5_6.1 base 28 k gettext x86_64 0.17-1.el5 base 2.4 M glibc i686 2.5-65 base 5.3 M glibc x86_64 2.5-65 base 4.8 M glibc-common x86_64 2.5-65 base 16 M glibc-devel x86_64 2.5-65 base 2.4 M glibc-headers x86_64 2.5-65 base 594 k gnome-vfs2 x86_64 2.16.2-8.el5 base 1.3 M gzip x86_64 1.3.5-13.el5.centos base 104 k hal i386 0.5.8.1-62.el5 base 395 k hal x86_64 0.5.8.1-62.el5 base 377 k httpd x86_64 2.2.21-lxcenter.2 lxlabsupdate 3.5 M hwdata noarch 0.213.24-1.el5 base 414 k initscripts x86_64 8.45.38-2.el5.centos base 1.6 M jwhois x86_64 3.2.3-12.el5 base 97 k kernel-headers x86_64 2.6.18-274.7.1.el5 updates 1.3 M kpartx x86_64 0.4.7-46.el5_7.1 updates 440 k krb5-libs i386 1.6.1-62.el5 base 668 k krb5-libs x86_64 1.6.1-62.el5 base 680 k krb5-workstation x86_64 1.6.1-62.el5 base 916 k ksh x86_64 20100202-1.el5_6.6 base 1.3 M kudzu x86_64 1.2.57.1.26-1.el5.centos.1 base 232 k less x86_64 436-7.el5 base 108 k libX11 i386 1.0.3-11.el5_7.1 updates 797 k libX11 x86_64 1.0.3-11.el5_7.1 updates 798 k libXfont x86_64 1.2.2-1.0.4.el5_7 updates 245 k libgcc i386 4.1.2-51.el5 base 96 k libgcc x86_64 4.1.2-51.el5 base 99 k libgomp x86_64 4.4.4-13.el5 base 69 k libhugetlbfs i386 1.3-8.2.el5 base 40 k libhugetlbfs x86_64 1.3-8.2.el5 base 42 k libpng i386 2:1.2.10-7.1.el5_7.5 updates 241 k libpng x86_64 2:1.2.10-7.1.el5_7.5 updates 235 k libselinux i386 1.33.4-5.7.el5 base 77 k libselinux x86_64 1.33.4-5.7.el5 base 78 k libselinux-python x86_64 1.33.4-5.7.el5 base 74 k libselinux-utils x86_64 1.33.4-5.7.el5 base 56 k libstdc++ i386 4.1.2-51.el5 base 362 k libstdc++ x86_64 4.1.2-51.el5 base 353 k libsysfs x86_64 2.1.0-1.el5 base 46 k libtiff i386 3.8.2-7.el5_6.7 base 308 k libtiff x86_64 3.8.2-7.el5_6.7 base 314 k libuser x86_64 0.54.7-2.1.el5_5.2 base 450 k libvolume_id i386 095-14.27.el5 base 44 k libvolume_id x86_64 095-14.27.el5 base 42 k libxml2 i386 2.6.26-2.1.12.el5_7.1 updates 795 k libxml2 x86_64 2.6.26-2.1.12.el5_7.1 updates 807 k libxml2-python x86_64 2.6.26-2.1.12.el5_7.1 updates 713 k logrotate x86_64 3.7.4-12 base 42 k logwatch noarch 7.3-9.el5_6 base 244 k lvm2 x86_64 2.02.84-6.el5_7.1 updates 3.1 M m2crypto x86_64 0.16-8.el5 base 498 k man x86_64 1.6d-2.el5 base 264 k man-pages noarch 2.39-17.el5 base 4.2 M mcelog x86_64 1:0.9pre-1.32.el5 base 32 k microcode_ctl x86_64 1:1.17-1.52.el5 base 505 k mkinitrd i386 5.1.19.6-71.el5 base 473 k mkinitrd x86_64 5.1.19.6-71.el5 base 461 k mysql i386 5.0.77-4.el5_6.6 base 4.8 M nash x86_64 5.1.19.6-71.el5 base 1.1 M nfs-utils x86_64 1:1.0.9-54.el5 base 404 k nscd x86_64 2.5-65 base 169 k nspr i386 4.8.8-1.el5_7 updates 120 k nspr x86_64 4.8.8-1.el5_7 updates 119 k nss i386 3.12.10-7.el5_7 updates 1.1 M nss x86_64 3.12.10-7.el5_7 updates 1.1 M nss-tools x86_64 3.12.10-7.el5_7 updates 1.2 M nss_ldap i386 253-42.el5_7.4 updates 1.4 M nss_ldap x86_64 253-42.el5_7.4 updates 1.4 M ntp x86_64 4.2.2p1-15.el5.centos base 1.3 M numactl i386 0.9.8-12.el5_6 base 45 k numactl x86_64 0.9.8-12.el5_6 base 46 k oddjob x86_64 0.27-11.el5 base 61 k oddjob-libs x86_64 0.27-11.el5 base 44 k openldap i386 2.3.43-12.el5_7.9 updates 297 k openldap x86_64 2.3.43-12.el5_7.9 updates 305 k openssh x86_64 4.3p2-72.el5_7.5 updates 289 k openssh-clients x86_64 4.3p2-72.el5_7.5 updates 452 k openssh-server x86_64 4.3p2-72.el5_7.5 updates 278 k openssl i686 0.9.8e-20.el5 base 1.4 M openssl x86_64 0.9.8e-20.el5 base 1.4 M pam_krb5 i386 2.2.14-21.el5 base 150 k pam_krb5 x86_64 2.2.14-21.el5 base 149 k pango i386 1.14.9-8.el5.centos.3 updates 334 k pango x86_64 1.14.9-8.el5.centos.3 updates 338 k paps x86_64 0.6.6-20.el5 base 34 k parted i386 1.8.1-28.el5 base 541 k parted x86_64 1.8.1-28.el5 base 520 k passwd x86_64 0.73-2 base 21 k patch x86_64 2.5.4-31.el5 base 63 k pciutils x86_64 3.1.7-3.el5 base 112 k perl x86_64 4:5.8.8-32.el5_6.3 base 12 M php x86_64 5.2.17-1 lxlabsupdate 1.4 M php-cli x86_64 5.2.17-1 lxlabsupdate 2.6 M php-common x86_64 5.2.17-1 lxlabsupdate 197 k poppler x86_64 0.5.4-4.4.el5_6.17 base 3.0 M poppler-utils x86_64 0.5.4-4.4.el5_6.17 base 76 k popt x86_64 1.10.2.3-22.el5_7.2 updates 77 k postgresql-libs i386 8.1.23-1.el5_7.2 updates 197 k postgresql-libs x86_64 8.1.23-1.el5_7.2 updates 196 k procps x86_64 3.2.7-17.el5 base 215 k psmisc x86_64 22.2-7.el5_6.2 base 62 k python x86_64 2.4.3-44.el5_7.1 updates 58 k python-numeric x86_64 23.7-2.2.2.el5_6.1 base 801 k python-urlgrabber noarch 3.1.0-6.el5 base 132 k quota x86_64 1:3.13-5.el5 base 348 k redhat-lsb i386 4.0-2.1.4.el5 base 25 k redhat-lsb x86_64 4.0-2.1.4.el5 base 24 k rmt x86_64 0.4b41-5.el5 base 253 k rng-utils x86_64 1:2.0-4.el5 base 17 k rpm x86_64 4.4.2.3-22.el5_7.2 updates 1.2 M rpm-libs x86_64 4.4.2.3-22.el5_7.2 updates 924 k rpm-python x86_64 4.4.2.3-22.el5_7.2 updates 63 k rsh x86_64 0.17-40.el5_7.1 updates 44 k rsync x86_64 3.0.6-4.el5_7.1 updates 347 k ruby x86_64 1.8.5-19.el5_6.1 base 276 k ruby-libs x86_64 1.8.5-19.el5_6.1 base 1.6 M sed x86_64 4.1.5-8.el5 base 178 k selinux-policy noarch 2.4.6-316.el5 base 420 k selinux-policy-targeted noarch 2.4.6-316.el5 base 1.3 M sendmail x86_64 8.13.8-8.1.el5_7 updates 637 k shadow-utils x86_64 2:4.0.17-18.el5_6.1 base 1.1 M sos noarch 1.7-9.54.el5 base 151 k sudo x86_64 1.7.2p1-10.el5 base 354 k sysfsutils x86_64 2.1.0-1.el5 base 40 k system-config-securitylevel-tui x86_64 1.6.29.1-6.el5 base 254 k talk x86_64 0.17-31.el5 base 20 k tmpwatch x86_64 2.9.7-1.1.el5.5 base 19 k traceroute x86_64 3:2.0.1-6.el5 base 41 k tzdata x86_64 2011l-4.el5 updates 765 k udev x86_64 095-14.27.el5 base 2.4 M util-linux x86_64 2.13-0.56.el5 base 1.8 M vim-common x86_64 2:7.0.109-7.el5 base 6.4 M vim-enhanced x86_64 2:7.0.109-7.el5 base 1.3 M vim-minimal x86_64 2:7.0.109-7.el5 base 333 k vzctl x86_64 3.0.29.3-1 openvz-utils 163 k vzctl-lib x86_64 3.0.29.3-1 openvz-utils 209 k xorg-x11-font-utils x86_64 1:7.1-3 base 78 k xorg-x11-xfs x86_64 1:1.0.2-5.el5_6.1 base 73 k xulrunner x86_64 1.9.2.24-2.el5_7 updates 11 M ypbind x86_64 3:1.19-12.el5_6.1 base 37 k yum noarch 3.2.22-37.el5.centos base 1.0 M yum-fastestmirror noarch 1.1.16-16.el5.centos base 19 k zlib i386 1.2.3-4.el5 base 51 k zlib x86_64 1.2.3-4.el5 base 52 k zsh x86_64 4.2.6-5.el5 base 1.8 M Installing for dependencies: httpd-tools x86_64 2.2.21-lxcenter.2 lxlabsupdate 119 k iscsi-initiator-utils x86_64 6.2.0.872-10.el5 base 1.0 M python-libs x86_64 2.4.3-44.el5_7.1 updates 5.9 M Transaction Summary ================================================================================ Install 3 Package(s) Upgrade 201 Package(s) Total download size: 185 M

Posted by thehostingme, 11-11-2011, 08:08 AM
You won't break anything. If you are using hypervm just exclude mysql yum update --exclude=mysql*

Posted by xenonhost, 11-11-2011, 08:11 AM
NetworkManager i386 1:0.7.0-13.el5 base 1.0 M NetworkManager x86_64 1:0.7.0-13.el5 base 1.1 M NetworkManager-glib i386 1:0.7.0-13.el5 base 82 k NetworkManager-glib x86_64 1:0.7.0-13.el5 base 84 k Do you think centos will work after installing both i386 and x86_64 of the same apps?

Posted by thehostingme, 11-11-2011, 08:15 AM
We did the same thing as you. And it's working.

Posted by Preetam, 11-11-2011, 08:54 AM
CentOS usually installs packages for both architectures. You probably won't have an issue, but there are some cases when you need to exclude the i386 packages. You should be fine by upgrading.

Posted by xenonhost, 11-11-2011, 09:00 AM
I really need a second opinion.

Posted by SolidJoe, 11-11-2011, 01:09 PM
Don't do live updates on production servers. Virtualize your setup and run a test before doing it on production.

Posted by PCS-Chris, 11-13-2011, 07:59 AM
Is this a 32bit OS on a Xen machine with a 64bit host kernel? If so you can specify i386 in /etc/yum.repos.d/CentOS-Base.repo instead of $arch (It goes by the kernel architecture) Or you can use: Now it shouldn't drag down 64bit packages unless it really needs to.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Serverboost.nl down?? (Views: 627)
Spry / VPSLink DOWN? (Views: 645)