Bug 2211386
| Summary: | libguestfs-1.51.3-2.fc39 FTBFS with DNF5: Unknown argument "-c" for command "download" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | supermin | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | egoode, rjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| URL: | https://koschei.fedoraproject.org/package/libguestfs?collection=f39 | ||
| Whiteboard: | |||
| Fixed In Version: | supermin-5.3.3-7.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-31 12:16:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Petr Pisar
2023-05-31 11:27:55 UTC
$ dnf5 download --help
Usage:
dnf5 download [GLOBAL OPTIONS] [OPTIONS] [ARGUMENTS]
Options:
--alldeps When running with --resolve, download all dependencies
(do not exclude already installed ones)
--destdir=DESTDIR Set directory used for downloading packages to. Defaul
t location is to the current working directory
--resolve Resolve and download needed dependencies
Arguments:
keys_to_match List of keys to match
Note "GLOBAL OPTION" which includes ...
$ dnf5 --help |& grep -- -c
--config=CONFIG_FILE_PATH Configuration file location
Apparently only --config, not -c is supported? Whereas in old dnf:
$ dnf --help |& grep -- -c
-c [config file], --config [config file]
Reproducer: $ supermin --packager-config /etc/dnf/dnf.conf --prepare bash -o /var/tmp/appliance Unknown argument "-c" for command "download". Add "--help" for more information about the arguments. supermin: /usr/bin/dnf5 download -q -c '/etc/dnf/dnf.conf' --destdir='/var/tmp/supermin1fe51f.tmpdir/fdyc17hv' 'bash.x86_64' 'glibc.x86_64' 'setup.noarch' 'fedora-release-common.noarch' 'fedora-repos.noarch' 'fedora-repos-rawhide.noarch': command failed, see earlier errors FEDORA-2023-f99c4c17c1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f99c4c17c1 FEDORA-2023-f99c4c17c1 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |