Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Mracek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-22 16:39 UTC by Daniel
Modified: 2017-10-10 10:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-10 10:01:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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