Red Hat Bugzilla – Bug 1575560
Upgrade to python2-xcffib fails on conflicting files with python-xcffib
Last modified: 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