-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare for DNF 5 #245
Comments
Thanks for the heads up Evan, |
It seems that dnf5 does not yet implement the I can see that there is a new 'download' command, but don't yet see a way to download just the packages which would be updated during a 'dnf upgrade' (after dependency resolution has taken place). Since the ability to run |
Hi, as you may be aware, the switch to DNF 5 has been postponed, likely to Fedora 41. In Fedora 39, the In the meantime, we have set up a testing COPR repository that provides a version of DNF 5 that obsoletes DNF 4. It can be used to test software in an environment similar to the future release of Fedora (whichever that will be) when DNF 5 replaces DNF 4:
Enabling the COPR and upgrading your system should replace DNF 4 (the |
Just a heads-up, the Fedora 41 development cycle is beginning, and we are planning to obsolete DNF 4 by DNF 5 in Fedora Rawhide within the next few weeks. Again, libdnf is not going away, and the old DNF 4 command will still be available as |
DNF 5 is a new package manager that will replace DNF 4 in Fedora 39+: Starting in Fedora 39, the
dnf
command will be provided by thednf5
package rather than thednf
package, anddnf5
will obsoletednf
. Since Auter currently depends on DNF 4, Auter should choose one of the following strategies to avoid breaking the Fedora upgrade:dnf5
package in Fedora 39+ instead ofdnf
. The command-line interface isn't changing a whole lot between DNF 4 and DNF 5, so in Auter's case, this option may not be too difficult. Builds of DNF 5 are available in this COPR repository: https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-unstable, and documentation is available here: https://dnf5.readthedocs.io/en/latest/.python3-dnf
instead ofdnf
, and call thednf-3
binary instead ofdnf
. The old DNF 4 command will still be available in the distribution, but only asdnf-3
. The first option is preferred to this one; it is not recommended to modify installed software using both DNF 4 and DNF 5 on the same system.For more information about the switch to DNF 5, see https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.
The text was updated successfully, but these errors were encountered: