Bug 1323519 - Install error python-ptyprocess
Summary: Install error python-ptyprocess
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ptyprocess
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Python SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-03 21:36 UTC by Mark van Rossum
Modified: 2016-04-09 11:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-09 11:26:54 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.