Bug 500466 - file - /usr/share/magic.mime is needed by package httpd
Summary: file - /usr/share/magic.mime is needed by package httpd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: distribution
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Dennis Gregorovic
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-12 19:49 UTC by Răzvan Sandu
Modified: 2009-10-09 08:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-09 08:09:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Răzvan Sandu 2009-05-12 19:49:08 UTC
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.

Comment 1 Tomas Mraz 2009-09-25 12:40:19 UTC
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

Comment 3 Daniel Novotny 2009-09-25 12:59:58 UTC
hello,
I don't understand the situation, because the file package normally contains
the /usr/share/magic.mime file

Comment 4 Tomas Mraz 2009-09-25 13:22:15 UTC
So the problem is either in rpm or in the repository metadata creation.

Comment 5 Daniel Novotny 2009-09-25 13:31:57 UTC
maybe rpm and/or yum is confused by the fact that it's a symlink...

Comment 6 Dennis Gregorovic 2009-10-08 19:38:05 UTC
I'm not able to reproduce this error.  Which version of yum is being used?  Tomas, which repo are you updating against?

Comment 7 Tomas Mraz 2009-10-09 08:09:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.