Hi everyone! :-)
While doing a regular manual yum update on my ContOS 5.3 server, yum complained as follows:
[root@sith ~]# yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * epel: ftp.icm.edu.pl * rpmforge: ftp-stud.fht-esslingen.de * base: centosb2.centos.org * updates: centose.centos.org * extras: centosb2.centos.org * addons: mirror.nsc.liu.se 2152 packages excluded due to repository priority protections Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated --> Processing Dependency: /usr/share/magic.mime for package: httpd --> Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems --> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
So what is wrong and why?
Best, :-) Marko
Marko Vojinovic wrote:
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated --> Processing Dependency: /usr/share/magic.mime for package: httpd --> Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems --> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
So what is wrong and why?
We still don't know why, but yum clean metadata or yum clean all should fix that problem.
Ralph
On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt ra+centos@br-online.de wrote:
Marko Vojinovic wrote:
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated --> Processing Dependency: /usr/share/magic.mime for package: httpd --> Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems --> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
So what is wrong and why?
We still don't know why, but yum clean metadata or yum clean all should fix that problem.
Indeed, yum clean all && yum update did fix it. Thanks! :-)
Best, :-) Marko
On May 21, 2009, at 12:08 PM, Marko Vojinovic wrote:
On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt <ra+centos@br-online.de
wrote: Marko Vojinovic wrote:
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated --> Processing Dependency: /usr/share/magic.mime for package: httpd --> Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems --> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
So what is wrong and why?
We still don't know why, but yum clean metadata or yum clean all should fix that problem.
Indeed, yum clean all && yum update did fix it. Thanks! :-)
So it wasn't just me. But I fixed it by rpm --nodeps -e file, then I could finish updating, then I did a yum install file