Hide Forgot
Reproducer: $ dnf download --enablerepo=fedora-source filesystem (1/2): filesystem-3.9-2.fc29.src.rpm (2/2): filesystem-3.9-2.fc29.x86_64.rpm Expected behavior: filesystem-3.9-2.fc29.src.rpm is not downloaded Additional info: Downloading sources works as expected: $ dnf download --enablerepo=fedora-source filesystem --source filesystem-3.9-2.fc29.src.rpm # no binary is dowloaded
Maybe the behavior is correct, but the help is misleading: --source download the src.rpm instead --debuginfo download the -debuginfo package instead If I understand it correctly, the provided packages on the command line are names of binary RPMs. When --source is provided, **corresponding** src.rpm is downloaded (e.g. dnf download --source nss -> downloads glibc.src.rpm) When --debuginfo is provided, **corresponding** debuginfo is downloaded (e.g. dnf download --debuginfo nss -> downloads glibc-debuginfo.*.rpm) Please note debugsource is NOT downloaded.
The behavior of DNF differs to you. Yum did not downloaded src by default.
I created a patch (https://github.com/rpm-software-management/dnf-plugins-core/pull/319) that solves the issue. Please can you verify it?
libcomps-0.1.10-2.fc29 libdnf-0.26.0-1.fc29 dnf-plugins-core-4.0.4-1.fc29 dnf-plugins-extras-4.0.2-1.fc29 dnf-4.1.0-1.fc29 librepo-1.9.4-1.fc29 createrepo_c-0.12.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1fccede810
createrepo_c-0.12.1-1.fc29, dnf-4.1.0-1.fc29, dnf-plugins-core-4.0.4-1.fc29, dnf-plugins-extras-4.0.2-1.fc29, libcomps-0.1.10-2.fc29, libdnf-0.26.0-1.fc29, librepo-1.9.4-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1fccede810
createrepo_c-0.12.1-1.fc29, dnf-4.1.0-1.fc29, dnf-plugins-core-4.0.4-1.fc29, dnf-plugins-extras-4.0.2-1.fc29, libcomps-0.1.10-2.fc29, libdnf-0.26.0-1.fc29, librepo-1.9.4-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.