Bug 1250115
| Summary: | RFE: dnf download --url | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ian Collier <imc> |
| Component: | dnf-plugins-core | Assignee: | rpm-software-management |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 24 | CC: | dustymabe, goeran, guo888xiao, imc, jmracek, jv+fedora, jzeleny, mluscon, packaging-team-maint, pnemade, praiskup, tim.lauridsen, vmukhame |
| Target Milestone: | --- | Keywords: | FutureFeature, Reopened, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-core-1.0.2-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-10 10:41:10 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
Ian Collier
2015-08-04 14:36:59 UTC
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. The problem was fixed in dnf-plugins-core-1.0.2-1 released into rawhide. |