Yum dependancy problem

in

Hello,

Long time user of the centos images. They are great, thanks for all your hard work producing them! In the most recent version of the 32-bit image I have found I cannot do a yum install because of a glibc dependency problem. For me this happens on the clean image. I don't *think* it has anything to do with my setup; although, I am running a kernel compiled from source.

I have included the output of a yum invocation. If anyone has any insights, I'd love to hear them! Thanks

-bash-3.2# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.arcticnetwork.ca
* updates: centos.arcticnetwork.ca
* addons: centos.arcticnetwork.ca
* extras: centos.arcticnetwork.ca
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.1 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.1 for package: gcc
--> Processing Dependency: libgcc >= 4.1.2-46.el5_4.1 for package: gcc
--> Processing Dependency: binutils >= 2.17.50.0.2-8 for package: gcc
--> Processing Dependency: libgomp >= 4.1.2-46.el5_4.1 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) for package: gcc
--> Processing Dependency: libc.so.6(GLIBC_2.4)(64bit) for package: gcc
--> Processing Dependency: libc.so.6(GLIBC_2.3)(64bit) for package: gcc
--> Processing Dependency: libc.so.6()(64bit) for package: gcc
--> Processing Dependency: libgcc_s.so.1()(64bit) for package: gcc
--> Running transaction check
---> Package libgcc.i386 0:4.1.2-46.el5_4.1 set to be updated
---> Package binutils.x86_64 0:2.17.50.0.6-12.el5 set to be updated
---> Package cpp.x86_64 0:4.1.2-46.el5_4.1 set to be updated
---> Package libgomp.x86_64 0:4.4.0-6.el5 set to be updated
---> Package glibc.x86_64 0:2.5-42 set to be updated
--> Processing Dependency: glibc-common = 2.5-42 for package: glibc
---> Package glibc-devel.x86_64 0:2.5-42 set to be updated
--> Processing Dependency: glibc-headers = 2.5-42 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgcc.x86_64 0:4.1.2-46.el5_4.1 set to be updated
--> Running transaction check
---> Package glibc-common.x86_64 0:2.5-42 set to be updated
--> Processing Dependency: glibc-common = 2.5-34 for package: glibc
---> Package glibc-headers.x86_64 0:2.5-42 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.18-164.6.1.el5 set to be updated
--> Processing Dependency: glibc-common = 2.5-34 for package: glibc
--> Finished Dependency Resolution
glibc-2.5-34.i386 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.5-34 is needed by package glibc-2.5-34.i386 (installed)
Error: Missing Dependency: glibc-common = 2.5-34 is needed by package glibc-2.5-34.i386 (installed)

I can't recreate this. When you say the latest version I am assuming that you mean the latest CentOS 5.4 builds. I successfully installed gcc on the 32-bit Xen and VMDKs using the command you mentioned as well as on the 64-bit vmdk. The problem you are having is related to the architecture though. You said you are running the 32-bit image but yum is clearly trying to install 64-bit packages. Here is what it *should* be installing on the 32-bit image (the latter 5 are the dependencies):

Installing:
gcc i386 4.1.2-46.el5_4.1
cpp i386 4.1.2-46.el5_4.1
glibc-devel i386 2.5-42
glibc-headers i386 2.5-42
kernel-headers i386 2.6.18-164.6.1.el5
libgomp i386 4.4.0-6.el5

As you can see the arch will be i386. I know there are ways to override what yum wants to do re: the arch but normally that should not be necessary.

Please let me know what specific file you downloaded though.


© 2010 Stacklet LLC - Privacy