If I say "yumdownloader --url X" it does what I want but whines that I should have used dnf instead. However, there does not currently appear to be an equivalent of this command in dnf.
We could implement such feature that would print urls of package instead of downloading. Btw why do you want such a feature. How do you process urls afterwards?
The URL is useful if I want to trial packages across different versions of Fedora or CentOS. For instance, if I want to see if the F22 version of FOO works on F21: f22$ yumdownloader --url foo http://some-mirror-service/fedora/linux/updates/22/x86_64/f/foo-12.2-1.fc22.x86_64.rpm f21$ wget http://some-mirror-service/fedora/linux/updates/22/x86_64/f/foo-12.2-1.fc22.x86_64.rpm f21$ rpm -Uvh --test foo-12.2-1.fc22.x86_64.rpm Or maybe I want to install BAR on CentOS where that package is not available: f22$ yumdownloader --url --source bar http://some-mirror-service/fedora/linux/updates/22/SPRMS/b/bar-0.6.23-2.fc22.src.rpm centos$ wget http://some-mirror-service/fedora/linux/updates/22/SPRMS/b/bar-0.6.23-2.fc22.src.rpm centos$ rpmbuild --rebuild bar-0.6.23-2.fc22.src.rpm It's also sometimes useful for answering the question "if I were to install BAZ now, which version would I get and which repo would it come from?". I understand that to a large extent "dnf list" can answer that query.
I vote for this too. How I used it with yum-utils: repoquery --disablerepo='*' \ --enablerepo hell \ --repofrompath=hell,ftp://ftp.linux.cz/pub/linux/fedora/linux/development/rawhide/source/SRPMS \ --whatrequires postgresql-devel --location --arch src My workflow is something like: (a) try to package some experimental feature in PostgreSQL, package it and build it in in Copr (b) get the list above by repoquery and then (c) rebuild all those packages.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
upstream PR: https://github.com/rpm-software-management/dnf-plugins-core/pull/198
The problem was fixed in dnf-plugins-core-1.0.2-1 released into rawhide.