Below is output from yum update. Don't know when or what's caused the dependencies to go haywire with the apache or httpd stuff, but would appreciate pointers. The repos don't include rpmforge, only the standard CentOS repositories.# yum update Loaded plugins: fastestmirror, priorities, protectbase Loading mirror speeds from cached hostfile * base: centos.corenetworks.net * updates: mirror.anl.gov * addons: mirror.skiplink.com * extras: centos.corenetworks.net Excluding Packages in global exclude list Finished 0 packages excluded due to repository priority protections 0 packages excluded due to repository protections Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package samba-common.x86_64 0:3.0.33-3.7.el5_3.1 set to be updated ---> Package samba-client.x86_64 0:3.0.33-3.7.el5_3.1 set to be updated ---> Package kernel-headers.x86_64 0:2.6.18-128.2.1.el5 set to be updated ---> Package mod_ssl.x86_64 1:2.2.3-22.el5.centos.2 set to be updated ---> Package kernel.x86_64 0:2.6.18-128.2.1.el5 set to be installed ---> Package samba.x86_64 0:3.0.33-3.7.el5_3.1 set to be updated ---> Package httpd.x86_64 0:2.2.3-22.el5.centos.2 set to be updated --> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel ---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.2 set to be updated ---> Package httpd-manual.x86_64 0:2.2.3-22.el5.centos.2 set to be updated --> Finished Dependency Resolution httpd-devel-2.2.3-22.el5.centos.1.i386 from installed has depsolving problems --> Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (installed) --> Running transaction check ---> Package kernel.x86_64 0:2.6.18-128.1.10.el5.centos.plus set to be erased --> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel --> Finished Dependency Resolution httpd-devel-2.2.3-22.el5.centos.1.i386 from installed has depsolving problems --> Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (installed) Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (installed) # Main question is why is it looking for something from centos.1 ? Thanks.. Sam
Hi, On Fri, Jul 24, 2009 at 10:07, Sam Drinkard<sam at wa4phy.net> wrote:> ---> Package httpd.x86_64 0:2.2.3-22.el5.centos.2 set to be updated > ---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.2 set to be updated > [...] > Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by > package httpd-devel-2.2.3-22.el5.centos.1.i386 (installed)You have a 64-bit machine but a 32-bit httpd-devel package installed. To fix your problem, uninstall the 32-bit version of httpd-devel, with this command: # rpm -e httpd-devel.i386 After that, yum update should complete successfully. Now, as to why this happened, the 64-bit version of CentOS (and RHEL) includes 32-bit versions of some packages. Maybe in the past httpd-devel was provided in both 32-bit and 64-bit versions, and you ended up installing both versions of the package, but now only the 64-bit version is provided, so the upgrade of the 32-bit version is not available anymore. I've seen similar problems happen with other packages, so I believe the same might have happened with httpd-devel too. HTH, Filipe