Update conflict on Leaf 15

One of the leap 15 updates is ‘python-cffi’, which on my system which as both python2 and python3 installed consists of the ‘python2-cffi’ and ‘python3-cffi’ packages. Yet when I try to install this update I get a whole host of conflicts:


File /usr/lib64/python2.7/site-packages/_cffi_backend.so
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/__init__.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/__init__.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/__init__.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/_cffi_errors.h
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/_cffi_include.h
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/_embedding.h
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/api.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/api.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/api.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/backend_ctypes.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/backend_ctypes.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/backend_ctypes.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cffi_opcode.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cffi_opcode.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cffi_opcode.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/commontypes.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/commontypes.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/commontypes.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cparser.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cparser.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/cparser.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/error.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/error.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/error.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/ffiplatform.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/ffiplatform.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/ffiplatform.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/lock.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/lock.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/lock.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/model.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/model.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/model.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/parse_c_type.h
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/recompiler.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/recompiler.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/recompiler.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/setuptools_ext.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_cpy.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_cpy.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_cpy.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_gen.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_gen.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/vengine_gen.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/verifier.py
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/verifier.pyc
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)
 

 File /usr/lib64/python2.7/site-packages/cffi/verifier.pyo
   from install of
      python2-cffi-1.11.2-lp150.3.3.1.x86_64 (Main Update Repository)
   conflicts with file from package
      python-cffi-1.11.5-51.4.x86_64 (@System)



Is there a way to resolve this ?

This is no Leap 15.0 package:
python-cffi-1.11.5-51.4.x86_64 (@System)

The conflict is with something that you installed yourself, and not using a Leap 15.0 repo. So I guess you get to make the decisions on how to deal with the conflict.

Please show

zypper lr -d

I had the devel:tools:compiler repository enabled. After I disabled that repository the particular python cffi packages diappeared from the list of those to be updated. Strangely enough, after re-enabling the devel:tools:compiler repository the python cffi packages are no longer among those to be updated, even if they are still listed among those that have been installed.

I beg to differ: <https://software.opensuse.org/package/python-cffi&gt;; <https://software.opensuse.org/package/python2-cffi&gt;; <https://software.opensuse.org/package/python3-cffi&gt;.

  • Searching for “python” only finds the ‘python’ RPM — searching for “cffi” finds all the ‘cffi’ packages.
  • “zypper search python” finds 5577 packages related to ‘python’ …
  • Possibly the <openSUSE Software; search is misbehaving WRT “python” …

You need to check the output of “zypper info --requires python2-cffi” and then, check the packages which are providing the “.so” libraries listed.

  • It’s possible that, there was a version mismatch between the package versions in the “devel:tools:compiler” repository and the main update repository.
  • The only way out in such cases, is to manually apply the version changes to the packages via the YaST software management module …

Just to be on the safe side, you should also “repair” your local copy of the RPM database: “rpm --rebuilddb” …