Red Hat Bugzilla – Bug 1272609
python-six fails 1.9.0-1 to -2 update on egg-info
Last modified: 2016-08-31 03:35:14 EDT
Description of problem:
The python-six-1.9.0-2.el6 release replaced an egg-info directory with an egg-info file, which rpm's cpio refuses to do.
$ repoquery -l python-six-1.9.0-1.el6 |grep egg
$ repoquery -l python-six-1.9.0-2.el6 |grep egg
Version-Release number of selected component (if applicable):
Steps to Reproduce:
$ rpm -q python-six
$ rpm -U python-six-1.9.0-2.el6.noarch.rpm
error: unpacking of archive failed on file /usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg-info: cpio: rename failed - Is a directory
$ ls -ld /usr/lib/python2.6/site-packages/six* |grep egg
drwxr-xr-x. 2 root root 86 Oct 16 21:34 /usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg-info
----------. 1 root root 1419 Oct 16 21:34 /usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg-info;56216d81
Package should continue to provide egg-info as a directory, or force overwrite the directory with the new file
This is caused by python-six-1.9.0-2.el6 not using setuptools to build a package.
Where does python-six-1.9.0-1.el6 come from if I may ask?
No response from reporter, so closing.