Bug 1473948

Summary: in
Product: [Fedora] Fedora Reporter: Daniel <code>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dmach, jmracek, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-10 10:01:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel 2017-07-22 16:39:17 UTC
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 10:01:55 UTC
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.