Bug 1397575

Summary: (dnf?) error: unpacking of archive failed on file /usr/lib/python3.5/site-packages/requests/packages/chardet: cpio: rename
Product: [Fedora] Fedora Reporter: biltong <biltong>
Component: python-requestsAssignee: Fedora Infrastructure SIG <infra-sig>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: cstratak, infra-sig, jeremy, rbean, sagarun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 21:03:26 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 biltong 2016-11-22 20:47:57 UTC
Description of problem:
dnf upgrade is failing due to the following error:
error: unpacking of archive failed on file /usr/lib/python3.5/site-packages/requests/packages/chardet: cpio: rename

Version-Release number of selected component (if applicable):

How reproducible:
Every time.

Steps to Reproduce:

# dnf upgrade
Failed to synchronize cache for repo 'Dropbox', disabling.
Last metadata expiration check: 0:06:23 ago on Tue Nov 22 21:39:54 2016.
Dependencies resolved.
 Package                      Arch               Version                    Repository          Size
 python3-requests             noarch             2.10.0-4.fc25              fedora             110 k

Transaction Summary
Upgrade  1 Package

Total download size: 110 k
Is this ok [y/N]: y
Downloading Packages:
python3-requests-2.10.0-4.fc25.noarch.rpm                            1.3 MB/s | 110 kB     00:00    
Total                                                                 82 kB/s | 110 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Upgrading   : python3-requests-2.10.0-4.fc25.noarch                                            1/2 
Error unpacking rpm package python3-requests-2.10.0-4.fc25.noarch
Error unpacking rpm package python3-requests-2.10.0-4.fc25.noarch
error: unpacking of archive failed on file /usr/lib/python3.5/site-packages/requests/packages/chardet: cpio: rename
python3-requests-2.10.0-4.fc25.noarch was supposed to be installed but is not!
  Verifying   : python3-requests-2.10.0-4.fc25.noarch                                            1/2 
python3-requests-2.10.0-2.fc24.noarch was supposed to be removed but is not!
  Verifying   : python3-requests-2.10.0-2.fc24.noarch                                            2/2 

  python3-requests.noarch 2.10.0-4.fc25                                                              


Actual results:

Expected results:

Additional info:

Comment 1 biltong 2016-11-22 20:48:29 UTC

Comment 2 Jeremy Cline 2016-11-22 20:49:14 UTC
Did you happen to ``sudo pip install`` anything?

Comment 3 biltong 2016-11-22 21:03:26 UTC
Aha! Thanks :)