Bug 1323519

Summary: Install error python-ptyprocess
Product: [Fedora] Fedora Reporter: Mark van Rossum <mvanross>
Component: python-ptyprocessAssignee: Python SIG <python-sig>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: mvanross, python-sig, tomspur, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-09 11:26:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mark van Rossum 2016-04-03 21:36:55 UTC
dnf install -y python-ptyprocess

fails with 


 Installing  : python-ptyprocess-0.5-2.fc23.noarch           1/1 
Error unpacking rpm package python-ptyprocess-0.5-2.fc23.noarch
Error unpacking rpm package python-ptyprocess-0.5-2.fc23.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/ptyprocess-0.5-py2.7.egg-info: cpio: rename
python-ptyprocess-0.5-2.fc23.noarch was supposed to be installed but is not!

Comment 1 Thomas Spura 2016-04-04 08:18:32 UTC
Thanks for the bug report. Unfortunately, I cannot reproduce this.
How reproducible is this for you? Could you paste the complete output of "dnf install python-ptyprocess" please?

Comment 2 Thomas Spura 2016-04-04 08:26:13 UTC
Do you maybe have ptyprocess installed via pip? And now you try to install it also with dnf?
What's the output of "ls -lrt /usr/lib/python2.7/site-packages/ptyprocess*"?

Comment 3 Zbigniew Jędrzejewski-Szmek 2016-04-04 13:44:43 UTC
I saw the same error for some different package (I think it was python[23]-igor, but not 100% sure) a few days ago. I then started the install again and it went fine. Unfortunately I didn't investigate so I don't know if this was caused by some stray file or if there's some rpm/dnf issue.

Comment 4 Mark van Rossum 2016-04-09 11:26:54 UTC
Thanks Thomas
It was indeed due to a leftover pip install.