Bug 507751

Summary: python-magic depends on older file package.
Product: [Fedora] Fedora Reporter: Dennis Payne <dulsi>
Component: fileAssignee: Daniel Novotny <dnovotny>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: berrange, dnovotny, jonathansteffan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-25 02:10:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis Payne 2009-06-24 02:56:31 UTC
Description of problem: python-magic depends on file=5.03-1.fc11 but file-5.03-2.fc11 is installed.  mingw32-gcc-c++ fails to install.


Version-Release number of selected component (if applicable): python-magic-5.03-1.fc11


How reproducible: Try to install python-magic or mingw-gcc-c++.


Steps to Reproduce:
1. yum install python-magic
  
Actual results:
python-magic-5.03-1.fc11.i586 from fedora has depsolving problems
  --> Missing Dependency: file = 5.03-1.fc11 is needed by package python-magic-5.03-1.fc11.i586 (fedora)
Error: Missing Dependency: file = 5.03-1.fc11 is needed by package python-magic-5.03-1.fc11.i586 (fedora)


Expected results: Success


Additional info:

Comment 1 Richard W.M. Jones 2009-06-24 07:30:45 UTC
I fail to see what this bug has got to do with mingw32-gcc.

Comment 2 Dennis Payne 2009-06-24 13:03:13 UTC
python-magic is a dependency of mingw32-gcc-c++ (or one of it's dependency).  There isn't a component selection of python-magic.  I figured since I encountered the problem trying to install mingw32-gcc-g++ I'd file the bug under that component.

Comment 3 Richard W.M. Jones 2009-06-24 14:06:42 UTC
I've no idea what 'python-magic' is but it doesn't have
anything to do with mingw32-gcc.  Reassigning to Python.

Comment 4 James Antill 2009-06-24 15:20:01 UTC
Thanks richard, obviously everything with python in the name is all in one giant package ... rpm -qi python-magic, who needs/uses that.

Comment 5 Richard W.M. Jones 2009-06-24 15:26:42 UTC
To be fair here, I did look for a BZ component called
python-magic ...

Comment 6 Daniel Novotny 2009-06-24 15:35:15 UTC
hello,
the dependency for python-magic is right;
from file.spec:

%package -n python-magic
Summary: Python bindings for the libmagic API
Group:   Development/Libraries
BuildRequires: python-devel
Requires: %{name} = %{version}-%{release}

so it requires the same version and release of "file", which is its parent
package.

I tried to install python-magic now and it correctly downloaded and installed
python-magic-5.03-2

maybe there was some glitch in the repositories, which made file-5.03-2
available but python-magic-5.03-2 not, although they were built at the same
time

please try "yum clean all" and then "yum install"...

Comment 7 Dennis Payne 2009-06-25 02:10:57 UTC
"yum clean all" and then "yum install" fixed it.  Thanks.