Bug 2153275

Summary: Use DNF5 in the Anaconda installer
Product: [Fedora] Fedora Reporter: Vendula Poncova <vponcova>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: anaconda-maint-list, jmracek, kkoukiou, ppisar, vponcova, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vendula Poncova 2022-12-14 12:02:08 UTC
Description of problem:

Anaconda should use the DNF5 API for the package installation since Fedora 39. Drop the dependency on the python3-dnf and libdnf packages and remove these packages from the installation environment.

Additional info:
https://fedoraproject.org/wiki/Changes/MajorUpgradeOfMicrodnf
https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5

Comment 1 Ben Cotton 2023-02-07 15:11:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 2 Vendula Poncova 2023-07-14 09:08:19 UTC
Update: The current plan for Anaconda is to continue to use DNF4 in Fedora 39 and switch to DNF5 in Fedora 40.

Comment 3 Katerina Koukiou 2025-01-17 07:53:39 UTC
Update: The current plan for Anaconda is to continue to use DNF4 in Fedora 42 and switch to DNF5 in Fedora 43.

Comment 4 Martin Kolman 2025-01-17 11:20:32 UTC
As for the current status - we have verified a basic manual/interactive installation is working & the installed system boots. Now we are going over test results from the extensive kickstart based installer integration test suite, making sure there are no known regressions from how DNF 4 behaves.

Comment 5 Aoife Moloney 2025-02-26 12:52:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.