After installing the rpmfusion repo rpms, the command dnf update @core wants to do a lot of changes including package deletions. Without the rpmfusion repo packages the same command makes no changes. This behavior is different compared to dnf4 on Fedora 40 where it works correctly. Reproducible: Always Steps to Reproduce: 1.Install rpmfusion repos 2. run 'sudo dnf update @core' to update the appstream metadata Actual Results: dnf wants to perform a lot of changes including deletions of neccesary packages. e.g. sudo dnf update @core Updating and loading repositories: Repositories loaded. Package "rpmfusion-nonfree-release-41-0.2.noarch" is already installed. Package Arch Version Repository Size Changing reason: NetworkManager x86_64 1:1.50.0-1.fc41 @System 5.7 MiB Group -> Dependency audit x86_64 4.0.2-1.fc41 @System 496.5 KiB Group -> Dependency basesystem noarch 11-21.fc41 @System 0.0 B Group -> Dependency bash x86_64 5.2.32-1.fc41 @System 8.2 MiB Group -> Dependency coreutils x86_64 9.5-10.fc41 @System 5.6 MiB Group -> Dependency curl x86_64 8.9.1-2.fc41 @System 796.2 KiB Group -> Dependency dnf5 x86_64 5.2.6.2-1.fc41 @System 1.6 MiB Group -> Dependency e2fsprogs x86_64 1.47.1-5.fc41 @System 4.5 MiB Group -> Dependency filesystem x86_64 3.18-23.fc41 @System 106.0 B Group -> Dependency firewalld noarch 2.2.3-1.fc41 @System 2.2 MiB Group -> Dependency fwupd x86_64 1.9.26-1.fc41 @System 7.5 MiB Group -> Dependency glibc x86_64 2.40-3.fc41 @System 6.7 MiB Group -> Dependency iproute x86_64 6.10.0-1.fc41 @System 2.1 MiB Group -> Dependency iputils x86_64 20240905-1.fc41 @System 761.6 KiB Group -> Dependency kbd x86_64 2.6.4-4.fc41 @System 1.5 MiB Group -> Dependency less x86_64 661-2.fc41 @System 405.3 KiB Group -> Dependency man-db x86_64 2.12.1-2.fc41 @System 2.8 MiB Group -> Dependency ncurses x86_64 6.5-2.20240629.fc41 @System 627.3 KiB Group -> Dependency openssh-clients x86_64 9.8p1-3.fc41.2 @System 2.6 MiB Group -> Dependency openssh-server x86_64 9.8p1-3.fc41.2 @System 1.4 MiB Group -> Dependency parted x86_64 3.6-7.fc41 @System 2.5 MiB Group -> Dependency plymouth x86_64 24.004.60-14.fc41 @System 351.3 KiB Group -> Dependency policycoreutils x86_64 3.7-3.fc41 @System 697.6 KiB Group -> Dependency procps-ng x86_64 4.0.4-4.fc41 @System 1.0 MiB Group -> Dependency rootfiles noarch 8.1-37.fc41 @System 817.0 B Group -> Dependency rpm x86_64 4.20.0-1.fc41 @System 3.1 MiB Group -> Dependency selinux-policy-targeted noarch 41.21-1.fc41 @System 18.4 MiB Group -> Dependency setup noarch 2.15.0-5.fc41 @System 720.7 KiB Group -> Dependency shadow-utils x86_64 2:4.15.1-12.fc41 @System 4.1 MiB Group -> Dependency sssd-common x86_64 2.10.0-1.fc41 @System 5.3 MiB Group -> Dependency sssd-kcm x86_64 2.10.0-1.fc41 @System 231.0 KiB Group -> Dependency sudo x86_64 1.9.15-5.p5.fc41 @System 4.9 MiB Group -> Dependency systemd x86_64 256.7-1.fc41 @System 17.0 MiB Group -> Dependency systemd-resolved x86_64 256.7-1.fc41 @System 671.1 KiB Group -> Dependency util-linux x86_64 2.40.2-4.fc41 @System 3.7 MiB Group -> Dependency vim-minimal x86_64 2:9.1.785-1.fc41 @System 1.7 MiB Group -> Dependency Removing: dhcp-client x86_64 12:4.4.3-14.P1.fc41 anaconda 2.1 MiB dnf5-plugins x86_64 5.2.6.2-1.fc41 <unknown> 1.0 MiB dracut-config-rescue x86_64 102-3.fc41 anaconda 4.5 KiB hostname x86_64 3.23-13.fc41 anaconda 45.6 KiB zram-generator-defaults noarch 1.1.2-12.fc41 anaconda 321.0 B Removing unused dependencies: dhcp-common noarch 12:4.4.3-14.P1.fc41 anaconda 325.5 KiB geolite2-city noarch 20191217-13.fc41 anaconda 59.8 MiB geolite2-country noarch 20191217-13.fc41 anaconda 3.8 MiB ipcalc x86_64 1.0.3-10.fc41 anaconda 78.0 KiB zram-generator x86_64 1.1.2-12.fc41 anaconda 992.3 KiB Installing group/module packages: rpmfusion-nonfree-appstream-data noarch 41-1.fc41 rpmfusion-nonfree 215.1 KiB Upgrading groups: Core Transaction Summary: Installing: 1 package Removing: 10 packages Changing reason: 36 packages Expected Results: Only the rpmfusion appstream metadata is installed.
Could you tell us what repository do you mean with "rpmfusion"? Preferably the URL.
I believe that the root cause is this - https://github.com/rpm-software-management/dnf5/issues/183 The thing is that `@core` group is defined in both fedora and rpmfusion-free repositories, but packages are taken only from one of them (see the github issue).
(In reply to Petr Pisar from comment #1) > Could you tell us what repository do you mean with "rpmfusion"? Preferably > the URL. Installing rpmfusion with as described in https://rpmfusion.org/Configuration sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
I wasn't able to reproduce the "odd changes". But I confirm that after enabling both rpmfusion repositories and installing appstream-data package, "dnf install @core" installs rpmfusion-nonfree-appstream-data without installing rpmfusion-free-appstream-data package despite rpmfusion-free repository has rpmfusion-free-appstream-data in core group: <packagelist> <packagereq type="mandatory">rpmfusion-free-release</packagereq> <packagereq type="conditional" requires="appstream-data">rpmfusion-free-appstream-data</packagereq> </packagelist> It indeed looks like the upstream issue #183 because the other rpmfusion-nonfree repository has a different core group definition: <packagelist> <packagereq type="mandatory">rpmfusion-nonfree-release</packagereq> <packagereq type="conditional" requires="appstream-data">rpmfusion-nonfree-appstream-data</packagereq> </packagelist> # dnf install @core Updating and loading repositories: Repositories loaded. Package "rpmfusion-nonfree-release-42-0.1.noarch" is already installed. Package Arch Version Repository Size Installing group/module packages: rpmfusion-nonfree-appstream-data noarch 41-1.fc41 rpmfusion-nonfree-rawh 215.1 KiB Installing groups: Core Transaction Summary: Installing: 1 package [...] # rpm -qa |grep appstream-data appstream-data-42-1.fc42.noarch rpmfusion-nonfree-appstream-data-41-1.fc41.noarch I checked that the missing rpmfusion-free-appstream-data package is not provided, nor obsoleted by any other package.
(In reply to Petr Pisar from comment #4) Do you get the same result with 'dnf update @core' instead of 'dnf install @core'? checking my dnf history prior to this I did the following: dnf remove *anaconda* dnf autoremove followed by adding the two rpmfusion repo rpms as described above and updating the @core group. Aside from that I'm on the plasma spin.
I just tried this myself and with dnf install @core I get the same result as Petr but with 'dnf update @core' I get what I described in the original comment.
(In reply to angel.segarra from comment #5) > Do you get the same result with 'dnf update @core' instead of 'dnf install > @core'? > No, I don't. I believe it depends of what groups and packages you have installed. I personally have installed no groups.
This should have been fixed in DNF 5.2.13.0 by https://github.com/rpm-software-management/dnf5/pull/2156. I can't reproduce it by setting up the rpmfusion nonfree repositories and running `dnf5 update @core` (but I did not try to reproduce it prior to DNF 5.2.13.0). Angel, would you be able to test on your system with DNF 5.2.13.0 or newer to confirm that this has been fixed?