Sample Header Ad - 728x90

dnf: (something) was supposed to be installed but is not!

1 vote
1 answer
2677 views
I see that it is an error that happend here and there for some packages, but I didnt find any solution working for me. Everything broke down trying to install Jupyter by dnf install python2-qtconsole python2-jupyter-core, when I found that python2-urllib3 was giving an error trying to install. Now whenever I do: dnf install python2-urllib3, I get: Dependencies resolved. ======================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================== Installing: python2-urllib3 noarch 1.22-3.fc27 updates 178 k Transaction Summary ======================================================================================================================================== Install 1 Package Total download size: 178 k Installed size: 678 k Is this ok [y/N]: y Downloading Packages: python2-urllib3-1.22-3.fc27.noarch.rpm 78 kB/s | 178 kB 00:02 ---------------------------------------------------------------------------------------------------------------------------------------- Total 53 kB/s | 178 kB 00:03 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python2-urllib3-1.22-3.fc27.noarch 1/1 Error unpacking rpm package python2-urllib3-1.22-3.fc27.noarch Error unpacking rpm package python2-urllib3-1.22-3.fc27.noarch error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: File from package already exists as a directory in system python2-urllib3-1.22-3.fc27.noarch was supposed to be installed but is not! Verifying : python2-urllib3-1.22-3.fc27.noarch 1/1 Failed: python2-urllib3.noarch 1.22-3.fc27 Error: Transaction failed I tried all these dnf clean all yum clean all && rpm --rebuilddb package-cleanup --problems rpm -e python3-urllib3-1.22-3.fc27.noarch --nodeps rpm -i python2-urllib3-1.22-3.fc27.noarch.rpm ... and I'm losing ideas fast ...
Asked by alessandro (203 rep)
Mar 28, 2018, 06:58 AM
Last activity: May 4, 2025, 09:08 PM