Red Hat Bugzilla – Bug 1473948
Last modified: 2017-10-10 06:01:55 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):
Steps to Reproduce:
1. dnf install https://spideroak.com/release/spideroak/rpm_x64
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.)
Should attempt to download the URL to see if its an RPM or not before dismissing it as an installation candidate.
Note that the `Content-Disposition: attachment; filename=SpiderOakONE.18.104.22.168.x86_64.rpm` HTTP response header gives a suggested filename for the download.
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.