Skip to content

Prepare for DNF 5 #245

@evan-goode

Description

@evan-goode

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 the dnf5 package rather than the dnf package, and dnf5 will obsolete dnf. Since Auter currently depends on DNF 4, Auter should choose one of the following strategies to avoid breaking the Fedora upgrade:

  • Add support for DNF 5, and depend on the dnf5 package in Fedora 39+ instead of dnf. 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/.
  • Change the auter package to depend on python3-dnf instead of dnf, and call the dnf-3 binary instead of dnf. The old DNF 4 command will still be available in the distribution, but only as dnf-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.
  • Remove the package from Fedora if it is no longer being maintained (although it seems like it is; Is this project being maintained? #242).

For more information about the switch to DNF 5, see https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.

Metadata

Metadata

Assignees

Labels

EnhancementFeature requests and existing code improvementsFedoraWIPWork in progress

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions