Fedora 21 PyYAML fails to update
Spotted some errors after upgrading to Fedora 21 with PyYAML failing when doing a yum update
:
Error unpacking rpm package PyYAML-3.11-6.fc21.x86_64 error: unpacking of archive failed on file /usr/lib64/python2.7/site-packages/PyYAML-3.11-py2.7.egg-info: cpio: rename error: PyYAML-3.11-6.fc21.x86_64: install failed
Failed: PyYAML.x86_64 0:3.10-10.fc20 PyYAML.x86_64 0:3.11-6.fc21
The fix for this is to remove the temporary installation files for version 3.11:
rm -rf /usr/lib64/python2.7/site-packages/PyYAML-3.11-py2.7.egg-info*
Then yum update will work correctly
Thanks for this! On my system, this required sudo, but otherwise it worked like a charm.