Description of problem: When trying to upgrade a stock installation (x86_64), we get the following error: [root@whatever ~]# yum -y --obsoletes upgrade Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached hostfile * epel: ftp.ines.lug.ro * base: ftp.gts.lug.ro * updates: ftp.gts.lug.ro * addons: ftp.gts.lug.ro * extras: ftp.gts.lug.ro Setting up Upgrade Process Resolving Dependencies --> Running transaction check ---> Package file.x86_64 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.x86_64 from installed has depsolving problems --> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.x86_64 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.x86_64 (installed) Version-Release number of selected component (if applicable): file-4.17-15 httpd-2.2.3-22.el5.centos Expected results: Upgrade should perform normally.
It happens with packages from regular RHEL-5 Update 4 (not Centos) as well. file-4.17-15.el5_3.1 httpd-2.2.3-31.el5
hello, I don't understand the situation, because the file package normally contains the /usr/share/magic.mime file
So the problem is either in rpm or in the repository metadata creation.
maybe rpm and/or yum is confused by the fact that it's a symlink...
I'm not able to reproduce this error. Which version of yum is being used? Tomas, which repo are you updating against?
It seems that it happened with old rpm and/or yum and RHEL-5.4 repositories. When I updated all the packages to 5.4 with '--exclude file' option given to yum and then updated the file package in the second step it worked.