Switch to DNF5

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

Switch to DNF5

Postby xerxes2 » Oct 1st, '23, 18:24

So I have had weird segfaults with DNF lately and both DNF and RPM are outdated so it'll probably be fixed when they get updated. But just when I was sniffing around I found out that there's a new DNF incoming that will eventually replace the old one. And cauldron already got it packaged. I've been testing it now for a few hours and it seems to work just fine. You just use it as "dnf5" and almost all the old switches will work. Good work of the package maintainer to package it so early.

Added it to the wiki page. https://wiki.mageia.org/en/Using_DNF#Next-generation
xerxes2
 
Posts: 64
Joined: Jul 18th, '18, 15:53
Location: Sweden

Re: Switch to DNF5

Postby morgano » Oct 1st, '23, 21:49

Thank you for adding :)
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1538
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Switch to DNF5

Postby xerxes2 » Oct 26th, '23, 20:22

morgano wrote:Thank you for adding :)

And thank you for reworking the wiki page a bit. It looks much better now. Yeah so I've been running DNF5 now for a few weeks and it seems to work just fine. It's a lot faster than the old one and got multi-threaded downloads too. Not that speed is that important anymore really as cpus are extremely fast anyway now but it doesn't hurt either.
xerxes2
 
Posts: 64
Joined: Jul 18th, '18, 15:53
Location: Sweden

Re: Switch to DNF5

Postby zooplah » Jun 3rd, '25, 01:06

I haven't experienced problems with DNF4 but DNF5 definitely has some advantages (the creation of aliases is definitely more powerful in DNF5, but I've noticed that DNF5 doesn't take full advantage of TOML), as well as some things that are possible in DNF4 but produce errors in DNF5. I'm surprised that DNF5 isn't available in the Mageia 9 backports repo. I've built packages for Mageia 9 (it requires a few patches to get it to build, but nothing major; mostly just adding #include directives for headers that don't seem to be implicit in GCC 12) and have uploaded the source RPMs to COPR, so I suppose that anyone can easily test it out on Mageia 9, even if it's not in an official repo. I myself primarily use DNF4 but I do have the DNF5 packages I've built installed, mainly for testing purposes at this point (I know that Fedora has already completely switched over to DNF5, so it's probably possible to completely replace DNF4 with it at this point, but I haven't done so).
zooplah
 
Posts: 21
Joined: Aug 8th, '11, 05:44
Location: USA

Re: Switch to DNF5

Postby xerxes2 » Nov 15th, '25, 13:32

I have been using dnf5 exclusively since this thread was started, don't even have dnf4 installed anymore. It got tons of deps so maybe once a year it has stopped working but that is to be expected when running Cauldron. Otherwise dnf5 seems to be just fine and ready for primetime.
xerxes2
 
Posts: 64
Joined: Jul 18th, '18, 15:53
Location: Sweden

Re: Switch to DNF5

Postby Bequimao » Nov 15th, '25, 15:11

Some plugins might not work, i.e. the snapper-plugin. I didn't test dnf5 on Mageia yet.
Bequimao
 
Posts: 112
Joined: Jun 3rd, '11, 21:51
Location: Minas Gerais, Brazil

Re: Switch to DNF5

Postby irondave » Nov 17th, '25, 17:09

As much as I love URPM I'm afraid it's time to switch to DNF 5 and RPM 6.
Same thing for MCC, maybe it's time to move on to Cockpit.
irondave
 
Posts: 18
Joined: Mar 19th, '19, 20:35


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest