stable

dnf-4.20.0-1.fc41, dnf5-5.2.1.0-1.fc41, & 1 more

FEDORA-2024-8a41ea93a2 created by jkolarik 8 months ago for Fedora 41

Switching to dnf5 in Rawhide

This is a testing side-tag for collecting feedback on a proposed update that will switch to dnf5 as the system's default package manager in Fedora 41.

How to test

On a system running Fedora 41 Rawhide, update the dnf stack packages to the versions from this side-tag:

dnf upgrade dnf --enablerepo=side-tag --repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f41-build-side-88363/latest/x86_64/' --best --nogpgcheck

After executing the transaction, the system will be configured to point the dnf command to the new version from the dnf5 package.

The former version of the dnf command is still available as the dnf-3 binary or the dnf4 symlink.

How to revert

To revert to the previous version of dnf, use the following command:

dnf install dnf-4.19.2

References

For more details about each package update, refer to the upstream release notes:

Related system-wide change proposal:

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2024-8a41ea93a2

This update's test gating status has been changed to 'waiting'.

8 months ago

jkolarik edited this update.

8 months ago

I've realized I am not sure about Bodhi auto pushing the updates to Rawhide even if I deselected auto push in configuration. Therefore giving negative karma preventively.

User Icon jkolarik provided feedback 8 months ago

since you managed to disable autotime, this should be stuck in testing until you change that. I spent a bunch of time on this code in bodhi recently and, IIUC, rawhide updates can only be pushed stable by autotime. usually they are expected to have autotime set to 0 days, which means they go stable as soon as they pass gating. with autotime disabled it should be impossible for this update to go stable.

This update's test gating status has been changed to 'failed'.

8 months ago

jkolarik edited this update.

8 months ago

jkolarik edited this update.

8 months ago
User Icon voidanix commented & provided feedback 8 months ago
karma

New dnf works properly. Symlinks correctly point to the intended dnf versions.

Default font installation test case shows a diff with fontquery-diff rawhide (f41 image is unavailable). Tested on rawhide.

For the kiwi failure in openQA, it appears the kiwi configs need some updating for this change: https://pagure.io/fedora-kiwi-descriptions/pull-request/46 . probably only the removal of the 'dnf-yum' entries and the change in config.xml is critical there, the others are just cleanups. That one should only be merged together with this.

I think osbuild also needs a change for the dnf-yum problem: https://github.com/osbuild/images/pull/637 . that one could be merged ahead of time.

User Icon bcl commented & provided feedback 8 months ago
karma

Lorax appears to be working ok. But osbuild-composer uses named groups which appear to have stopped working. I've filed https://github.com/rpm-software-management/dnf5/issues/1451 with a reproducer.

The cockpit failures in openQA turned out to be due to issues in the openQA test flow. I've fixed that, and I also patched the openQA kiwi container build test to patch the kiwi config on-the-fly to be suitable for dnf5. With those changes the tests should all pass (they are re-running now, they passed on staging).

This update's test gating status has been changed to 'waiting'.

8 months ago

This update's test gating status has been changed to 'passed'.

8 months ago
User Icon jrelvas commented & provided feedback 8 months ago
karma

Everything seems to be roughly fine from testing I've done, including PackageKit. However, fontquery-diff rawhide shows a diff.

I've also tested the 'default font installation' case in the Rawhide container, but I experience the same error with both dnf 4.19.2 and dnf5 5.2.0.0: fc-match is not installed. So FMPOV, it doesn't seem related.

The reverse dependency builds were successful: https://copr.fedorainfracloud.org/coprs/jkolarik/dnf5-5.2.0.0/builds/. However, some errors might not be detected, such as issues with Python bindings that aren't caught during build-time tests but could occur at runtime.

ansible-core and fedrq have been updated to support dnf 5.2.0

jkolarik edited this update.

New build(s):

  • dnf5-5.2.1.0-1.fc41

Removed build(s):

  • dnf5-5.2.0.0-1.fc41

Karma has been reset.

7 months ago

This update's test gating status has been changed to 'waiting'.

7 months ago

This update's test gating status has been changed to 'passed'.

7 months ago

I've updated the dnf5 package to 5.2.1.0 which fixes already mentioned incompatible Python API bindings changes and also issues with system-upgrade command.

This update's test gating status has been changed to 'waiting'.

7 months ago

This update's test gating status has been changed to 'passed'.

7 months ago
User Icon bcl commented & provided feedback 7 months ago
karma

Tested 5.2.1.0 with lorax and osbuild and it works! Thanks for fixing the python API bindings.

jkolarik edited this update.

7 months ago

This update has been submitted for stable by bodhi

7 months ago

Please login to add feedback.

Metadata
Type
unspecified
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
0 days
Dates
submitted
8 months ago
in testing
7 months ago
in stable
7 months ago
modified
7 months ago
approved
7 months ago

Automated Test Results

Test Cases

0 0 Test Case base update cli
0 0 Test Case createrepo c dnf
0 0 Test Case default font installation
0 0 Test Case langpacks packages
0 0 Test Case package install remove