Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jaroslav Mracek
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-22 12:39 EDT by Daniel
Modified: 2017-10-10 06:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-10-10 06:01:55 EDT
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 Daniel 2017-07-22 12:39:17 EDT
Description of problem:
URLs without an “.rpm” suffixes won’t be downloaded by DNF even when the URL points to an RPM file available on the web.

Version-Release number of selected component (if applicable):
dnf-2.5.1-1.fc26

How reproducible:
Every time.

Steps to Reproduce:
1. dnf install https://spideroak.com/release/spideroak/rpm_x64

Actual results:
Doesn’t try to download, verify, nor install the RPM package. (Append .rpm to the URL and DNF will try to download it, but the server will then return a 404.)

Expected results:
Should attempt to download the URL to see if its an RPM or not before dismissing it as an installation candidate.

Additional info:
Note that the `Content-Disposition: attachment; filename=SpiderOakONE.6.3.1.1.x86_64.rpm` HTTP response header gives a suggested filename for the download.
Comment 1 Jaroslav Mracek 2017-10-10 06:01:55 EDT
The issue was fixed and patch was released in dnf-2.7.3-1. Please if the problem reapers, don't hesitate to reopen the bug report.

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