Bug 1397575 - (dnf?) error: unpacking of archive failed on file /usr/lib/python3.5/site-packages/requests/packages/chardet: cpio: rename
Summary: (dnf?) error: unpacking of archive failed on file /usr/lib/python3.5/site-pac...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-22 20:47 UTC by biltong
Modified: 2016-11-22 21:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 21:03:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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
=====================================================================================================
Upgrading:
 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 

Failed:
  python3-requests.noarch 2.10.0-4.fc25                                                              

Complete!


Actual results:


Expected results:


Additional info:

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

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 :)


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