Bug 1396325 - Installing git-review / python2-requests failed
Summary: Installing git-review / python2-requests failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: 24
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-18 02:23 UTC by Gerard Braad
Modified: 2017-02-26 00:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-26 00:53:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gerard Braad 2016-11-18 02:23:26 UTC
Description of problem:
Installing git-review fails due to dependencies. The dependency python2-requests fails with a cpio rename issue for:

  /usr/lib/python2.7/site-packages/requests/packages/chardet
  /usr/lib/python2.7/site-packages/requests/packages/urllib3

Version-Release number of selected component (if applicable):
Updating with python2-requests-2.10.0-2.fc24.noarch

How reproducible:
Haven't reproduced

Steps to Reproduce:
1. dnf install -y git-review

Actual results:
https://gist.github.com/gbraad/be6cb278d68f62630f1487a84756212a

Additional info:
This is on Fedora 24

Comment 1 Pierre-YvesChibon 2016-11-18 05:55:17 UTC
Hi,

Thanks for your report.

Did you by any chance install requests using pip instead of dnf?
You might be able to check this using `rpm -ql /usr/lib/python2.7/site-packages/requests/packages/chardet` for example.
rpm and pip do not work well together (they are both unaware of the other) so that could be an explanation.

Comment 2 Gerard Braad 2016-11-18 05:58:23 UTC
This docker image did use pip install, but from a virtualenv. That is why I am confused...

Comment 3 Pierre-YvesChibon 2016-11-18 07:50:23 UTC
What does  `rpm -qf /usr/lib/python2.7/site-packages/requests/packages/chardet` return? (and not -ql as I originally said since -ql is for listing the files in a package)

Comment 4 Kevin Fenzi 2017-02-26 00:53:17 UTC
I'm going to go ahead and close this... but if you are still seeing issues, please do reopen. 

The only time we see these kinds of issues is with pip installs having been done and in the place rpm wants to extract to.


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