Asahi Fedora 41 dnf.conf.rpmnew

Hi. I’ve just upgraded my asahi linux from 40 to 41 and everything seems to be working great.
I then did sudo rpmconf -a to check config changes.
One of them is /etc/dnf/dnf.conf.rpmnew.
The diff is

--- /etc/dnf/dnf.conf   Wed May 22 09:13:08 2024
+++ /etc/dnf/dnf.conf.rpmnew    Thu Dec  5 12:31:02 2024
@@ -1,9 +1,3 @@
 # see `man dnf.conf` for defaults and possible options

 [main]
-gpgcheck=True
-installonly_limit=3
-clean_requirements_on_remove=True
-best=False
-skip_if_unavailable=True
-allow_vendor_change=False

I’m wondering if it is ok to use the .rpmnew version or if there are things in the original that are necessary for Asahi?

Thanks!

Welcome to Fedora @rjcortese

You can use now the following drop-in file to configure your dnf. This seams to be valid for all users on your system:

/etc/dnf/libdnf5.conf.d/20-user-settings.conf

I just copy and pasted my content in this file.

For the moment Fedora uses dnf4 & dnf5 to be backwards compatible. You still can use dnf4 while using the dnf4 command. For that the /etc/dnf/dnf.conf & /etc/dnf/dnf.conf.rpmnew exists parallel till Fedora just comes with dnf5 only.

Thanks @ilikelinux !
I ended up keeping the original /etc/dnf/dnf.conf and removed /etc/dnf/dnf.conf.rpmnew

is the only asahi specific setting. I think it’s not strictly necessary but it’s an insurance against installing functionally limited (to not say broken) Fedora kernels.

1 Like