When I download packages using the dnf options `--downloadonly`, the packages are deleted before the next transaction. This is probably expected, but users use this to download packages for other purposes than transaction (together with `--downloaddir`) and then may be surprised that the packages get deleted. Steps to Reproduce: 1. # mkdir repo1 2. # dnf reinstall --downloaddir repo1/ --downloadonly bash -y 3. # ls repo1 bash-5.1.0-2.fc34.x86_64.rpm 4. # dnf -y install createrepo 5. # ls repo1 <empty> The workaround is to use the `download` plugin. Btw, other files in the downloaddir are unchanged.
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
The issue is fixed in DNF5. We cannot change the behavior in DNF, because it will create a regression in related tools.