$ root dnf clean all Cleaning repos: google-earth google-talkplugin fedora rpmfusion-free-updates : adobe-linux-x86_64 rpmfusion-nonfree-updates rpmfusion-free : updates google-chrome rpmfusion-nonfree google-musicmanager Cleaning up Everything $ root dnf update google-earth 68 kB/s | 4.8 kB 00:00 google-talkplugin 38 kB/s | 2.7 kB 00:00 Fedora 22 - x86_64 6.3 MB/s | 41 MB 00:06 RPM Fusion for Fedora 22 - Free - Updates 948 kB/s | 241 kB 00:00 Adobe Systems Incorporated 18 kB/s | 1.8 kB 00:00 RPM Fusion for Fedora 22 - Nonfree - Updates 381 kB/s | 60 kB 00:00 RPM Fusion for Fedora 22 - Free 1.1 MB/s | 551 kB 00:00 Fedora 22 - x86_64 - Updates 3.2 MB/s | 22 MB 00:06 google-chrome 50 kB/s | 3.6 kB 00:00 RPM Fusion for Fedora 22 - Nonfree 407 kB/s | 170 kB 00:00 google-musicmanager 2.5 kB/s | 1.5 kB 00:00 Last metadata expiration check performed 0:00:00 ago on Thu May 19 07:09:42 2016. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: python-requests noarch 2.10.0-1.fc22 updates 107 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 107 k Is this ok [y/N]: y Downloading Packages: python-requests-2.9.1-1.fc22_2.10.0-1.fc22.noar 76 kB/s | 28 kB 00:00 /usr/lib/python2.7/site-packages/requests-2.9.1-py2.7.egg-info/PKG-INFO: No such file or directory cannot reconstruct rpm from disk files python-requests-2.10.0-1.fc22.noarch: Delta RPM rebuild failed python-requests-2.10.0-1.fc22.noarch.rpm 239 kB/s | 107 kB 00:00 -------------------------------------------------------------------------------- Total 117 kB/s | 135 kB 00:01 Delta RPMs reduced 0.1 MB of updates to 0.1 MB (-26.1% saved) Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Upgrading : python-requests-2.10.0-1.fc22.noarch 1/2 Error unpacking rpm package python-requests-2.10.0-1.fc22.noarch Error unpacking rpm package python-requests-2.10.0-1.fc22.noarch error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename python-requests-2.10.0-1.fc22.noarch was supposed to be installed but is not! Verifying : python-requests-2.10.0-1.fc22.noarch 1/2 python-requests-2.9.1-1.fc22.noarch was supposed to be removed but is not! Verifying : python-requests-2.9.1-1.fc22.noarch 2/2 Failed: python-requests.noarch 2.10.0-1.fc22 Complete!
This normally mean you installed requests using pip. RPM is trying to overwrite the pip version of requests and fails.
$ root dnf remove python-requests Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: NetworkManager-team x86_64 1:1.0.10-3.fc22 @updates 35 k anaconda x86_64 22.20.13-1.fc22 @@commandline 0 anaconda-core x86_64 22.20.13-1.fc22 @@commandline 7.8 M anaconda-gui x86_64 22.20.13-1.fc22 @@commandline 1.3 M anaconda-tui x86_64 22.20.13-1.fc22 @@commandline 378 k anaconda-user-help noarch 22.4-1.fc22 @@commandline 152 k bodhi-client noarch 0.9.12.2-1.fc22 @@commandline 26 k deja-dup x86_64 34.0-3.1.fc22 @@commandline 3.9 M deja-dup-nautilus x86_64 34.0-3.1.fc22 @@commandline 20 k duplicity x86_64 0.6.25-3.fc22 @@commandline 2.4 M eclipse-fedorapackager noarch 0.5.0-3.fc22 @@commandline 2.9 M fedora-packager noarch 0.5.10.7-1.fc22 @updates 80 k fedpkg noarch 1.22-3.fc22 @updates 73 k initial-setup x86_64 0.3.31-1.fc22 @@commandline 122 k packagedb-cli noarch 2.12-1.fc22 @updates 217 k python-bugzilla noarch 1.2.2-1.fc22 @@commandline 298 k python-fedora noarch 0.8.0-1.fc22 @updates 1.3 M python-requests noarch 2.9.1-1.fc22 @@commandline 359 k python2-boto noarch 2.39.0-1.fc22 @updates 9.3 M python2-rsa noarch 3.4.1-1.fc22 @updates 256 k Transaction Summary ================================================================================ Remove 20 Packages Installed size: 31 M Is this ok [y/N]: n Operation aborted. Not likely!
Can you provide the output of: ls -lad /usr/lib/python2.7/site-packages/requests/packages/chardet and rpm -qf ls -la /usr/lib/python2.7/site-packages/chardet and rpm -V python-chardet
Sorry, I removed everything from /usr/lib/python2.7/site-packages/*requests* and it worked.