/etc/dnf/dnf.conf handling for dnf4 -> dnf5 upgrade #13

Open
opened 2024-12-25 17:18:19 +00:00 by jannau · 1 comment
Member

The dnf5 upgrade for Fedora 41 leaves /etc/dnf/dnf.conf.rpmnew with an empty main section. This is reported by rpmconf -a as reported in https://discussion.fedoraproject.org/t/asahi-fedora-41-dnf-conf-rpmnew/140458.
DNF5 supports config mix-ins at least in /etc/dnf/libdnf5.conf.d/. We should transition the kiwi image build to that or provide the mix-in via an asahi specific package if still want to keep allow_vendor_change=False.
I doubt we can do anything about /etc/dnf/dnf.conf.rpmnew for existing Fedora 40 based installs.

The dnf5 upgrade for Fedora 41 leaves `/etc/dnf/dnf.conf.rpmnew` with an empty main section. This is reported by `rpmconf -a` as reported in https://discussion.fedoraproject.org/t/asahi-fedora-41-dnf-conf-rpmnew/140458. DNF5 supports config mix-ins at least in `/etc/dnf/libdnf5.conf.d/`. We should transition the kiwi image build to that or provide the mix-in via an asahi specific package if still want to keep `allow_vendor_change=False`. I doubt we can do anything about `/etc/dnf/dnf.conf.rpmnew` for existing Fedora 40 based installs.
Author
Member

We probably have to keep it in /etc/dnf/dnf.confas long as dnf4 is still available though,

We probably have to keep it in `/etc/dnf/dnf.conf`as long as dnf4 is still available though,
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
asahi/remix-bugs#13
No description provided.