Bug 1575560 - Upgrade to python2-xcffib fails on conflicting files with python-xcffib
Upgrade to python2-xcffib fails on conflicting files with python-xcffib
Status: NEW
Product: Fedora
Classification: Fedora
Component: python-xcffib (Show other bugs)
28
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: John Dulaney
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-07 06:16 EDT by Marek Marczykowski
Modified: 2018-05-07 06:16 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marek Marczykowski 2018-05-07 06:16:29 EDT
Description of problem:

Upgrade python-xcffib to new package naming (Fedora 26 -> 28 in this case) doesn't work cleanly. Looks like lack of "Obsoletes: python-xcffib" header in python2-xcffib.

Version-Release number of selected component (if applicable):
python2-xcffib-0.5.1-5.fc28

How reproducible: Always

Steps to Reproduce:
1. dnf update (or distro-sync) on a system which was Fedora 26 or 27 before.

Actual results:

Error: Transaction check error:
  file /usr/lib/python2.7/site-packages/xcffib-0.5.1-py2.7.egg-info/PKG-INFO from install of python2-xcffib-0.5.1-5.fc28.noarch conflicts with file from package python-xcffib-0.5.1-1.fc26.noarch
  file /usr/lib/python2.7/site-packages/xcffib/_ffi.pyc from install of python2-xcffib-0.5.1-5.fc28.noarch conflicts with file from package python-xcffib-0.5.1-1.fc26.noarch
  file /usr/lib/python2.7/site-packages/xcffib/_ffi.pyo from install of python2-xcffib-0.5.1-5.fc28.noarch conflicts with file from package python-xcffib-0.5.1-1.fc26.noarch
  file /usr/lib/python2.7/site-packages/xcffib/xinput.pyc from install of python2-xcffib-0.5.1-5.fc28.noarch conflicts with file from package python-xcffib-0.5.1-1.fc26.noarch
  file /usr/lib/python2.7/site-packages/xcffib/xinput.pyo from install of python2-xcffib-0.5.1-5.fc28.noarch conflicts with file from package python-xcffib-0.5.1-1.fc26.noarch


Expected results:
Install python2-xcffib, remove pyhon-xcffib


Additional info:

Workaround: dnf swap python-xcffib python2-xcffib

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