Description of problem:
When using --resolve option with dnf download, the requested package is not downloaded when already install in the system with a previous version.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use the bare minimum Fedora 22 (I'm using Docker with the container: 'fedora:22'/'8ee526697d01') without updates.
2. Install dnf-plugins-core-0.1.13-1.fc22
3. Make sure libgcc is installed in a 'base' version: libgcc-5.1.1-1.fc22.x86_64
4. Run 'dnf download --resolve --destdir /packages-cache libgcc.x86_64'
Nothing is downloaded in /packages-cache
libgcc-5.1.1-4.fc22.x86_64.rpm should be downloaded in /packages-cache
When not using the '--resolve' option, the package is successfully downloaded.
we'll take a look.
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
Thank you for reporting this bug and we are sorry it could not be fixed.
probably workaround could be to use --installroot, but still this is a bug.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Created PR: https://github.com/rpm-software-management/dnf-plugins-core/pull/192
dnf-plugins-core-1.1.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f56311f5dd
dnf-plugins-core-1.1.0-1.fc26 has been pushed to the Fedora 26 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-2017-f56311f5dd
dnf-plugins-core-1.1.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.