Description of problem: I wanted to install rpm available over http and dnf failed to open it, but if I call rpm directly it installed it without any problem. Version-Release number of selected component (if applicable): dnf-0.3.11-3.git7bdc9e1.fc19.noarch How reproducible: 100% Steps to Reproduce: [10:46:13 root@localhost ~]$ dnf install http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm Setting up Install Process Cannot open: http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm. Skipping. Error: Nothing to do [10:46:18 root@localhost ~]$ rpm -ivh http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm Retrieving http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-release-fedora-0:8-1 ################################# [100%] Actual results: Expected results: dnf being abel to install the package from any url (ftp, http, ...) Additional info: There is a python library for opening files from urls http://docs.python.org/2/library/urllib.html, it should be able to handle both local and remote files.
Surprisingly, it works in Yum.. but it's kind of hack.. Yum downloads the package to a temp dir first, and installed as if "yum localinstall" was invoked. Loaded plugins: langpacks, refresh-packagekit, tmprepo ovirt-release-fedora.noarch.rpm | 7.7 kB 00:00 Examining /var/tmp/yum-root-sJFDTW/ovirt-release-fedora.noarch.rpm: ovirt-release-fedora-8-1.noarch Marking /var/tmp/yum-root-sJFDTW/ovirt-release-fedora.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ovirt-release-fedora.noarch 0:8-1 will be installed --> Finished Dependency Resolution I think we can implements something similiar in dnf, too.
Implemented in: 6b656d7 Handle remote URLs. (RhBug:1030297)
dnf-0.4.8-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.8-1.fc20
fixed with dnf-0.4.8-1.fc20
Package dnf-0.4.8-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.4.8-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22052/dnf-0.4.8-1.fc20 then log in and leave karma (feedback).
dnf-0.4.8-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.