Bug 1307119 - dnf install error of python-dns
dnf install error of python-dns
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: python-dns (Show other bugs)
23
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: Jeffrey C. Ollie
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-12 13:25 EST by ingli
Modified: 2016-02-14 11:31 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-14 11:31:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ingli 2016-02-12 13:25:50 EST
Description of problem:

installation of python-dns fails. I have attempted to install various versions; none works. Following http://unix.stackexchange.com/questions/261521/how-to-engage-with-fedora-23-error-message-in-dnf-install-error-of-dnspython/ I have also run "sudo dnf clean packages" and attempted install again. No success.

rpm -K Downloads/python-dns-1.12.0GIT465785f-1.fc23.noarch.rpm resulted in "sha1 md5 OK".


Version-Release number of selected component (if applicable): 1.12.0GIT465785f-1.fc23 

I run Linux 4.3.4-300.fc23.x86_64 on arch x86_64. 





How reproducible: I have been reproducing this error consistently with several versions over a week. 


Steps to Reproduce:
1. sudo dnf install python-dns
2. accept download

Actual results:

dnf output is:

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : python-dns-1.12.0GIT465785f-1.fc23.noarch                                                                                                                                 1/1 
Error unpacking rpm package python-dns-1.12.0GIT465785f-1.fc23.noarch
Error unpacking rpm package python-dns-1.12.0GIT465785f-1.fc23.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/dnspython-1.12.0-py2.7.egg-info: cpio: rename
python-dns-1.12.0GIT465785f-1.fc23.noarch was supposed to be installed but is not!
  Verifying   : python-dns-1.12.0GIT465785f-1.fc23.noarch                                                                                                                                 1/1 

Failed:
  python-dns.noarch 1.12.0GIT465785f-1.fc23
Comment 1 Jeffrey C. Ollie 2016-02-12 15:41:52 EST
I usually get this when I've used pip to install/upgrade dnspython.  This can happen inadvertently when using pip to install some other python package that has dnspython as a dependency.  Try manually removing anything in /usr/lib/python2.7/site-packages/ related to dnspython and then try installing with dnf again.
Comment 2 ingli 2016-02-12 17:34:04 EST
Manually removing dnspython* in /usr/lib/python2.7/site-packages/ allowed successfully running dnf install python-dns.

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