CentOS 4.5 x86_64 with applicable rpm updates
WHM 11.2.0 cPanel 11.10.0-R16448
CENTOS Enterprise 4.5 x86_64 - WHM X v3.1.0
I noticed recently that I many packages which are installed twice (the i386 package version and the x86_64 package version).
In attempt to clean things up, I removed all of i386 packages after figuring out all of their dependencies (or lack thereof in almost all cases). Finally had all x86_64 installed packages (except for Frontpage - which wasn't package specific but required the i386 version of expat).
Last night during UPCP I see that rpm updates were automatically made which installed the i386 versions of many packages which were already installed as x86_64 packages on the server.
Can anybody give me an idea why Cpanel wants to continue to install the i386 version of packages that are already installed x86_64 packages?
For instance - compat-glibc (i386) is not needed by any other installed RPMs but yet Cpanel obviously has some requirement for it. And for each new i386 RPM that needs installed, Yum then decides that more i386 RPMs need installed to meet dependencies.
It's a pain in the neck removing the i386 versions - since after removing them you have to 'rpm -ivh --force' the x86_64 versions again so that some files (that are shared between i386 and x86_64) are again installed after removing the i386 version.
Any suggestions?
Mike
WHM 11.2.0 cPanel 11.10.0-R16448
CENTOS Enterprise 4.5 x86_64 - WHM X v3.1.0
I noticed recently that I many packages which are installed twice (the i386 package version and the x86_64 package version).
In attempt to clean things up, I removed all of i386 packages after figuring out all of their dependencies (or lack thereof in almost all cases). Finally had all x86_64 installed packages (except for Frontpage - which wasn't package specific but required the i386 version of expat).
Last night during UPCP I see that rpm updates were automatically made which installed the i386 versions of many packages which were already installed as x86_64 packages on the server.
Can anybody give me an idea why Cpanel wants to continue to install the i386 version of packages that are already installed x86_64 packages?
For instance - compat-glibc (i386) is not needed by any other installed RPMs but yet Cpanel obviously has some requirement for it. And for each new i386 RPM that needs installed, Yum then decides that more i386 RPMs need installed to meet dependencies.
It's a pain in the neck removing the i386 versions - since after removing them you have to 'rpm -ivh --force' the x86_64 versions again so that some files (that are shared between i386 and x86_64) are again installed after removing the i386 version.
Any suggestions?
Mike
Code:
Updating /scripts...
Sync Source: http://httpupdate.cpanel.net/RELEASE-x86_64/scripts
Fetching
http://httpupdate.cpanel.net/cpanelsync/RELEASE-x86_64/scripts/.cpanelsync.lock
(0)[email protected]
Fetching
http://httpupdate.cpanel.net/cpanelsync/RELEASE-x86_64/scripts/.cpanelsync.bz2
(0)[email protected]%...53%...80%...100%......Done
...Done
<snip>
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Reducing CentOS-4 - Plus to included packages only
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package glibc-devel.i386 0:2.3.4-2.36 set to be updated
---> Downloading header for compat-glibc to pack into transaction set.
---> Package compat-glibc.x86_64 1:2.3.2-95.30 set to be updated
---> Package libgcc.i386 0:3.4.6-8 set to be updated
---> Downloading header for compat-gcc-32 to pack into transaction set.
---> Package compat-gcc-32.x86_64 0:3.2.3-47.3 set to be updated
---> Downloading header for compat-glibc to pack into transaction set.
---> Package compat-glibc.i386 1:2.3.2-95.30 set to be updated
--> Running transaction check
--> Processing Dependency: compat-glibc-headers = 1:2.3.2-95.30 for package:
compat-glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for compat-glibc-headers to pack into transaction set.
---> Package compat-glibc-headers.x86_64 1:2.3.2-95.30 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
compat-gcc-32 x86_64 3.2.3-47.3 base 3.2 M
compat-glibc i386 1:2.3.2-95.30 base 1.0 M
compat-glibc x86_64 1:2.3.2-95.30 base 1.5 M
glibc-devel i386 2.3.4-2.36 base 1.9 M
libgcc i386 3.4.6-8 base 63 k
Installing for dependencies:
compat-glibc-headers x86_64 1:2.3.2-95.30 base 463 k
Transaction Summary
=============================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 8.1 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
<snip>
Installing system packages and perl modules...portsentry is up to date (Wed Mar 10
00:21:21 2004)
Using newyum support...
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Reducing CentOS-4 - Plus to included packages only
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package openssl.i686 0:0.9.7a-43.16 set to be updated
---> Package gd.i386 0:2.0.28-5.4E set to be updated
---> Package openssl-devel.i386 0:0.9.7a-43.16 set to be updated
---> Package gamin.i386 0:0.1.7-1.2.EL4 set to be updated
---> Package libxml2.i386 0:2.6.16-10 set to be updated
---> Package bind-libs.i386 20:9.2.4-27.0.1.el4 set to be updated
---> Package freetype.i386 0:2.1.9-6.el4 set to be updated
--> Running transaction check
--> Processing Dependency: libz.so.1 for package: gd
--> Processing Dependency: libglib-2.0.so.0 for package: gamin
--> Processing Dependency: libz.so.1 for package: freetype
--> Processing Dependency: libjpeg.so.62 for package: gd
--> Processing Dependency: libz.so.1 for package: libxml2
--> Processing Dependency: libXpm.so.4 for package: gd
--> Processing Dependency: libkrb5.so.3 for package: openssl
--> Processing Dependency: libgssapi_krb5.so.2 for package: openssl
--> Processing Dependency: libk5crypto.so.3 for package: openssl
--> Processing Dependency: libz.so.1 for package: openssl
--> Processing Dependency: libcom_err.so.2 for package: openssl
--> Processing Dependency: libpng12.so.0 for package: gd
--> Processing Dependency: libX11.so.6 for package: gd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glib2.i386 0:2.4.7-1 set to be updated
---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.19 set to be updated
---> Package e2fsprogs.i386 0:1.35-12.5.el4 set to be updated
---> Package zlib.i386 0:1.2.1.2-1.2 set to be updated
---> Package libjpeg.i386 0:6b-33 set to be updated
---> Package libpng.i386 2:1.2.7-3.el4 set to be updated
---> Package krb5-libs.i386 0:1.3.4-49 set to be updated
--> Running transaction check
--> Processing Dependency: libfontconfig.so.1 for package: xorg-x11-libs
--> Processing Dependency: libGL.so.1 for package: xorg-x11-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.19 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
bind-libs i386 20:9.2.4-27.0.1.el4 update 569 k
freetype i386 2.1.9-6.el4 update 763 k
gamin i386 0.1.7-1.2.EL4 base 111 k
gd i386 2.0.28-5.4E base 119 k
libxml2 i386 2.6.16-10 base 620 k
openssl i686 0.9.7a-43.16 base 1.1 M
openssl-devel i386 0.9.7a-43.16 base 1.6 M
Installing for dependencies:
e2fsprogs i386 1.35-12.5.el4 base 772 k
fontconfig i386 2.2.3-7.centos4 base 117 k
glib2 i386 2.4.7-1 base 476 k
krb5-libs i386 1.3.4-49 update 482 k
libjpeg i386 6b-33 base 127 k
libpng i386 2:1.2.7-3.el4 update 155 k
xorg-x11-Mesa-libGL i386 6.8.2-1.EL.19 update 383 k
xorg-x11-libs i386 6.8.2-1.EL.19 update 2.7 M
zlib i386 1.2.1.2-1.2 base 44 k
Transaction Summary
=============================================================================
Install 16 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 10 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction