On Tue, 2018-05-15 at 10:37 +0100, Michael Aquilina wrote:
Hi there,
I am encountering this issue when running `zypper dup`
The following package is going to be upgraded: python3-pycparser
1 package to upgrade. Overall download size: 0 B. Already cached: 201.0 KiB. After the operation, additional 127.9 KiB will be used. Continue? [y/n/...? shows all options] (y): y In cache python3-pycparser-2.18-1.1.noarch.rpm (1/1), 201.0 KiB ( 1.3 MiB unpacked) Checking for file conflicts: ...........................................................................................................[done] (1/1) Installing: python3-pycparser-2.18-1.1.noarch ...................................................................................[error] Installation of python3-pycparser-2.18-1.1.noarch failed: Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python3.6/site-packages/pycparser-2.18-py3.6.egg-info: cpio:
This is a typical error when a package changes an entry from file to directory or vice-versa. This is somethihng RPM does not handle (but also something that should rarely happen in an RPM). To get over this, you can remove the package (possibly forcing, ignoring deps) and then reinstall it. Cheers Dominique