Bug 1292473 - Error unpacking rpm package python3-requests-2.7.0-7.fc23.noarch
Summary: Error unpacking rpm package python3-requests-2.7.0-7.fc23.noarch
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Arun S A G
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-17 14:33 UTC by Juan Orti
Modified: 2015-12-17 19:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-17 19:21:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2015-12-17 14:33:18 UTC
Description of problem:

[root@xenon ~]# LANG=C dnf reinstall python3-requests --allowerasing                                                                                          
Last metadata expiration check performed 1:43:00 ago on Thu Dec 17 13:45:38 2015.
Dependencies resolved.
==============================================================================================================================================================
 Package                                    Arch                             Version                                   Repository                        Size
==============================================================================================================================================================
Reinstalling:
 python3-requests                           noarch                           2.7.0-7.fc23                              fedora                           102 k

Transaction Summary
==============================================================================================================================================================

Total download size: 102 k
Is this ok [y/N]: y
Downloading Packages:
python3-requests-2.7.0-7.fc23.noarch.rpm                                                                                      186 kB/s | 102 kB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                          42 kB/s | 102 kB     00:02     
# dnf reinstall python3-requests

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Reinstalling: python3-requests-2.7.0-7.fc23.noarch                                                                                                      1/2 
Error unpacking rpm package python3-requests-2.7.0-7.fc23.noarch
Error unpacking rpm package python3-requests-2.7.0-7.fc23.noarch
error: unpacking of archive failed on file /usr/lib/python3.4/site-packages/requests/packages/chardet: cpio: rename
  Verifying   : python3-requests-2.7.0-7.fc23.noarch                                                                                                      1/2 
  Verifying   : python3-requests-2.7.0-7.fc23.noarch                                                                                                      2/2 

Reinstalled:
  python3-requests.noarch 2.7.0-7.fc23                                                                                                                        

Complete!



Version-Release number of selected component (if applicable):
python3-requests-2.7.0-7.fc23.noarch

Comment 1 Ralph Bean 2015-12-17 19:12:52 UTC
So, whenever you see a 'cpio: rename', it is almost always because your system had someone 'sudo pip install ...' a package before, and now the rpm tools don't know how to deal with those files that they themselves didn't install.

Try removing /usr/lib/python3.4/site-packages/requests* by hand and re-installing.

Comment 2 Juan Orti 2015-12-17 19:21:29 UTC
You are right. Sorry for the noise.


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