gajim software update fails


I’m running openSUSE Leap 15.1 and my software update recently fails with the following message:

Installation of python3-nbxmpp-0.6.10-lp151.2.4.1.noarch failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python3.6/site-packages/nbxmpp-0.6.10-py3.6.egg-info: cpio: File from package already exists as a directory in system
error: python3-nbxmpp-0.6.10-lp151.2.4.1.noarch: install failed

It seems it’s related to gajim. Any idea how to solve this problem?


You have omitted to say how you were updating – zypper, yast-online-update, packagekit?

You could try deleting the complained of directory and reinstalling/updating the python package:

> sudo rm -r /usr/lib/python3.6/site-packages/nbxmpp
> sudo zypper clean -a
> sudo zypper in -f python3-nbxmpp -y
> sudo zypper up

If that fails please list your enabled repositories with:

zypper lr -Eu

Thank you for your reply!

I was using zypper for updating. Deleting the directory worked!