This is an automated archive made by the Lemmit Bot.

The original was posted on /r/fedora by /u/isabellium on 2024-11-07 16:36:58+00:00.


For a while now I have been wondering if I should make this post, but seeing how some are asking about this I decided to finally do it.

I do find it surprising that it seems like most people haven’t noticed this.

Essentially DNF5 like the title says seems to ignores packages added to a group by third party repositories. I do not know if this is intended and if not who is at fault.

For example as you can see in the following images after adding RPMFusion main repositories the command dnf group upgrade core does not install rpmfusion-free-appstream-data nor rpmfusion-nonfree-appstream-data. However the command dnf4 group upgrade core, does.

DNF5 upgrading the ‘core group’

DNF4 upgrading the ‘core group’

This essentially makes the Multimedia guide at RPMFusion worthless for Fedora 41, since as you have guessed it does affect the multimedia group too.

You can check this by running side by side # dnf group info multimedia and # dnf4 group info multimedia. If you copy and paste the commands from RPMFusion’ wiki you will end up missing at least the following packages: gstreamer1-plugins-bad-freeworld libavcodec-freeworld libheif-freeworld pipewire-codec-aptx

DNF5 showing the contents of the multimedia group

DNF4 showing the contents of the multimedia group

Workaround: So how do we install everything in Fedora 41? Simply replace dnf for dnf4 whenever you would like to handle groups.

For example the Multimedia guide at RPMFusion tells us to upgrade the multimedia group by using the following command:

sudo dnf update u/multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

If you use it ‘as is’ you will miss some packages, so to avoid this simply use dnf4 like this:

sudo dnf4 update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

(Personally I dislike using aliases so I just use dnf4 group upgrade which is the same, internally)

Hope this helps someone, if you recently installed Fedora 41 from scratch and followed the RPMFusion Multimedia guide, just copy and paste the last command.