Bug 1318318

Summary: python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
Product: [Fedora] Fedora EPEL Reporter: Konstantin Khankin <khankin.konstantin>
Component: python-semantic_versionAssignee: Haïkel Guémar <karlthered>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: apevec, karlthered, khankin.konstantin, mhrivnak, rbarlow
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-24 18:13:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Konstantin Khankin 2016-03-16 13:41:44 UTC
Description of problem:
python-semantic-version was upgraded from verion 2.2.0-3.el7 to 2.4.2-1.el7 in epel7. At the same time, the package name have changed, so now when I try to do yum upgrade, I get a conflict between these 2 packages - python-semantic_version-2.4.2-1.el7.noarch and python-semantic-version-2.2.0-3.el7.noarch

Version-Release number of selected component (if applicable):
python-semantic_version-2.4.2-1.el7.noarch
python-semantic-version-2.2.0-3.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. have python-semantic-version installed
2. run yum upgrade
3.

Actual results:
Transaction check error:
  file /usr/lib/python2.7/site-packages/semantic_version/__init__.py from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/__init__.pyc from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/__init__.pyo from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/compat.py from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/compat.pyc from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/compat.pyo from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/base.py from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/base.pyc from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/base.pyo from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/django_fields.py from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/django_fields.pyc from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch
  file /usr/lib/python2.7/site-packages/semantic_version/django_fields.pyo from install of python-semantic_version-2.4.2-1.el7.noarch conflicts with file from package python-semantic-version-2.2.0-3.el7.noarch


Expected results:
Upgrade succeeded

Additional info:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"

Comment 1 Randy Barlow 2016-03-23 13:46:54 UTC
Hello Konstantin,

python-semantic-version was a package that had been distributed by Pulp with 2.7:

https://repos.fedorapeople.org/pulp/pulp/stable/2.7/7Server/x86_64/

We opted to use the EPEL 7 package instead with Pulp 2.8. The issue you are experiencing is not a fault of the EPEL package, so I'd suggest closing this issue and filing it with upstream Pulp:

https://pulp.plan.io/projects/pulp/issues/new

Thanks for letting us know about the issue!

Comment 2 Konstantin Khankin 2016-03-24 18:13:03 UTC
I've contacted pulp-list and here's a workaround for python-semantic-version issue:

https://www.redhat.com/archives/pulp-list/2016-March/msg00078.html

I suppose this issue may be safely closed