Get stuck at update with nonstandard repos and conflicting packages from both i686 and x86_64

I got stuck in an offline update!
First time ever with Fedora, but ok, no problem.

I run sudo dnf upgrade and I got a problem:

...
Total                                                                                                                                                         5.5 MB/s | 1.1 GB     03:32     
Delta RPMs reduced 1169.3 MB of updates to 1166.5 MB (0.2% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/libdrm/amdgpu.ids from install of libdrm-2.4.117-1.fc38.i686 conflicts with file from package libdrm-2.4.114-2.fc38.x86_64
  file /usr/share/bash-completion/completions/p11-kit from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/NEWS from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/README from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man1/trust.1.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man8/p11-kit.8.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64

FAIL: 1

I’m running Fedora Workstation 38.
I have enabled the following repositories:

repo id                                        repo name
code                                           Visual Studio Code
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
copr:copr.fedorainfracloud.org:varlad:helix    Copr repo for helix owned by varlad
docker-ce-stable                               Docker CE Stable - x86_64
fedora                                         Fedora 38 - x86_64
fedora-cisco-openh264                          Fedora 38 openh264 (From Cisco) - x86_64
fedora-modular                                 Fedora Modular 38 - x86_64
google-chrome                                  google-chrome
hashicorp                                      Hashicorp Stable - x86_64
insync                                         insync repo
rpmfusion-free                                 RPM Fusion for Fedora 38 - Free
rpmfusion-free-tainted                         RPM Fusion for Fedora 38 - Free tainted
rpmfusion-free-updates                         RPM Fusion for Fedora 38 - Free - Updates
rpmfusion-nonfree                              RPM Fusion for Fedora 38 - Nonfree
rpmfusion-nonfree-nvidia-driver                RPM Fusion for Fedora 38 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                        RPM Fusion for Fedora 38 - Nonfree - Steam
rpmfusion-nonfree-tainted                      RPM Fusion for Fedora 38 - Nonfree tainted
rpmfusion-nonfree-updates                      RPM Fusion for Fedora 38 - Nonfree - Updates
slack                                          slack
tailscale-stable                               Tailscale stable
updates                                        Fedora 38 - x86_64 - Updates
updates-modular                                Fedora Modular 38 - x86_64 - Updates

Maybe some of them create the problem?

(edited to use dnf repolist)

That is hard to read, and would be much easier if you were to post the output of dnf repolist.

I see non-standard repos as
copr:copr.fedorainfracloud.org:varlad:helix
docker-ce-stable
hashicorp
insync
slack
tailscale-stable

First I would try the following
dnf upgrade --best --allowerasing --refresh and see what the differences may be.
If that works then done. If not then post again the output of dnf list installed libdrm p11-kit so we may see which repo those packages may have been installed from.

For me both those packages appear from the F38 updates repo. Every one of the conflicts you show are with the i686 version conflicting with the x86_64 version so the options I gave above will probably fix it.

1 Like

The issue here is that you have the i686 and x84_64 packages installed. I don’t know what software these packages belong to, but if it was my system, I would remove the .i686 packages (manually), then upgrade.

I have the same problem but only with p11-kit
❯ sudo dnf list installed p11-kit
Installierte Pakete
p11-kit.i686 0.25.1-1.fc38 @updates
p11-kit.x86_64 0.25.1-1.fc38 @updates
p11-kit.x86_64 0.25.2-1.fc38 @updates

dnf upgrade --best --allowerasing --refresh did not help

if I try to remove p11-kit.i686 manually it wants to remove a lot of other stuff:
NetworkManager-libnm i686 1:1.42.8-1.fc38 @updates 9.5 M
at-spi2-core i686 2.48.3-1.fc38 @updates 1.5 M
atk i686 2.48.3-1.fc38 @updates 263 k
cups-libs i686 1:2.4.7-1.fc38 @updates 706 k
dconf i686 0.40.0-8.fc38 @fedora 303 k
fontconfig i686 2.14.2-1.fc38 @fedora 857 k
freetype i686 2.13.0-2.fc38 @fedora 863 k
gdk-pixbuf2 i686 2.42.10-2.fc38 @fedora 2.5 M
glib-networking i686 2.76.1-1.fc38 @updates 709 k
glib2 i686 2.76.5-2.fc38 @updates 14 M
gstreamer1-plugins-good i686 1.22.5-1.fc38 @updates 7.9 M
gtk2 i686 2.24.33-13.fc38 @fedora 14 M
gtk3 i686 3.24.38-1.fc38 @updates 21 M
libFAudio i686 23.07-1.fc38 @updates 262 k
libXft i686 2.3.8-2.fc38 @updates 168 k
pango i686 1.50.14-1.fc38 @fedora 1.0 M
pipewire i686 0.3.83-2.fc38 @updates 342 k
pipewire-alsa i686 0.3.83-2.fc38 @updates 156 k
steam i686 1.0.0.78-1.fc38 @rpmfusion-nonfree-steam 3.7 M
wine x86_64 8.18-1.fc38 @updates 0
wine-core i686 8.18-1.fc38 @updates 513 M
wine-dxvk i686 1.10.3-2.fc38 @fedora 46 M
wine-dxvk

So it didn’t finish? What does this say?
sudo dnf repoquery --duplicates

Co-installation of multilib (i686) packages only works when the versions match so that the common files are identical.

The only path forward I know of is to temporarily remove all affected i686 packages. Then some combination of sudo dnf upgrade and sudo dnf remove --duplicates should get you back to a coherent state.

1 Like

well repoquery gave me quite the list:

❯ sudo dnf repoquery --duplicates
Letzte Prüfung auf abgelaufene Metadaten: vor 0:01:30 am So 05 Nov 2023 10:03:58 CET.
amd-gpu-firmware-0:20230919-1.fc38.noarch
amd-gpu-firmware-0:20231030-1.fc38.noarch
atheros-firmware-0:20230919-1.fc38.noarch
atheros-firmware-0:20231030-1.fc38.noarch
brcmfmac-firmware-0:20230919-1.fc38.noarch
brcmfmac-firmware-0:20231030-1.fc38.noarch
fwupd-0:1.9.6-1.fc38.x86_64
fwupd-0:1.9.7-1.fc38.x86_64
fwupd-plugin-flashrom-0:1.9.6-1.fc38.x86_64
fwupd-plugin-flashrom-0:1.9.7-1.fc38.x86_64
fwupd-plugin-modem-manager-0:1.9.6-1.fc38.x86_64
fwupd-plugin-modem-manager-0:1.9.7-1.fc38.x86_64
fwupd-plugin-uefi-capsule-data-0:1.9.6-1.fc38.x86_64
fwupd-plugin-uefi-capsule-data-0:1.9.7-1.fc38.x86_64
glibc-0:2.37-12.fc38.i686
glibc-0:2.37-12.fc38.x86_64
glibc-0:2.37-13.fc38.x86_64
glibc-all-langpacks-0:2.37-12.fc38.x86_64
glibc-all-langpacks-0:2.37-13.fc38.x86_64
glibc-common-0:2.37-12.fc38.x86_64
glibc-common-0:2.37-13.fc38.x86_64
glibc-gconv-extra-0:2.37-12.fc38.i686
glibc-gconv-extra-0:2.37-12.fc38.x86_64
glibc-gconv-extra-0:2.37-13.fc38.x86_64
glibc-headers-x86-0:2.37-12.fc38.noarch
glibc-headers-x86-0:2.37-13.fc38.noarch
glibc-langpack-en-0:2.37-12.fc38.x86_64
glibc-langpack-en-0:2.37-13.fc38.x86_64
intel-gpu-firmware-0:20230919-1.fc38.noarch
intel-gpu-firmware-0:20231030-1.fc38.noarch
kf5-akonadi-server-0:23.08.1-1.fc38.x86_64
kf5-akonadi-server-0:23.08.1-2.fc38.x86_64
kf5-akonadi-server-mysql-0:23.08.1-1.fc38.x86_64
kf5-akonadi-server-mysql-0:23.08.1-2.fc38.x86_64
kf5-frameworkintegration-0:5.110.0-1.fc38.x86_64
kf5-frameworkintegration-0:5.110.0-2.fc38.x86_64
kf5-frameworkintegration-libs-0:5.110.0-1.fc38.x86_64
kf5-frameworkintegration-libs-0:5.110.0-2.fc38.x86_64
linux-firmware-whence-0:20230919-1.fc38.noarch
linux-firmware-whence-0:20231030-1.fc38.noarch
mt7xxx-firmware-0:20230919-1.fc38.noarch
mt7xxx-firmware-0:20231030-1.fc38.noarch
nvidia-gpu-firmware-0:20230919-1.fc38.noarch
nvidia-gpu-firmware-0:20231030-1.fc38.noarch
p11-kit-0:0.25.1-1.fc38.i686
p11-kit-0:0.25.1-1.fc38.x86_64
p11-kit-0:0.25.2-1.fc38.x86_64
qt5-qtbase-0:5.15.10-9.fc38.x86_64
qt5-qtbase-0:5.15.11-3.fc38.x86_64
qt5-qtbase-common-0:5.15.10-9.fc38.noarch
qt5-qtbase-common-0:5.15.11-3.fc38.noarch
qt5-qtbase-gui-0:5.15.10-9.fc38.x86_64
qt5-qtbase-gui-0:5.15.11-3.fc38.x86_64
qt5-qtbase-mysql-0:5.15.10-9.fc38.x86_64
qt5-qtbase-mysql-0:5.15.11-3.fc38.x86_64
qt5-qtdeclarative-0:5.15.10-1.fc38.x86_64
qt5-qtdeclarative-0:5.15.11-2.fc38.x86_64
qt5-qtgraphicaleffects-0:5.15.10-1.fc38.x86_64
qt5-qtgraphicaleffects-0:5.15.11-1.fc38.x86_64
qt5-qtlocation-0:5.15.10-1.fc38.x86_64
qt5-qtlocation-0:5.15.11-1.fc38.x86_64
qt5-qtmultimedia-0:5.15.10-1.fc38.x86_64
qt5-qtmultimedia-0:5.15.11-1.fc38.x86_64
qt5-qtquickcontrols2-0:5.15.10-1.fc38.x86_64
qt5-qtquickcontrols2-0:5.15.11-1.fc38.x86_64
qt5-qtsensors-0:5.15.10-1.fc38.x86_64
qt5-qtsensors-0:5.15.11-1.fc38.x86_64
qt5-qtspeech-0:5.15.10-3.fc38.x86_64
qt5-qtspeech-0:5.15.11-1.fc38.x86_64
qt5-qtspeech-speechd-0:5.15.10-3.fc38.x86_64
qt5-qtspeech-speechd-0:5.15.11-1.fc38.x86_64
qt5-qtsvg-0:5.15.10-1.fc38.x86_64
qt5-qtsvg-0:5.15.11-1.fc38.x86_64
qt5-qttools-common-0:5.15.10-1.fc38.noarch
qt5-qttools-common-0:5.15.11-1.fc38.noarch
qt5-qttools-libs-designer-0:5.15.10-1.fc38.x86_64
qt5-qttools-libs-designer-0:5.15.11-1.fc38.x86_64
qt5-qtwayland-0:5.15.10-1.fc38.x86_64
qt5-qtwayland-0:5.15.11-1.fc38.x86_64
qt5-qtwebchannel-0:5.15.10-1.fc38.x86_64
qt5-qtwebchannel-0:5.15.11-1.fc38.x86_64
qt5-qtwebengine-0:5.15.12-6.fc38.x86_64
qt5-qtwebengine-0:5.15.12-9.fc38.x86_64
qt5-qtwebengine-devtools-0:5.15.12-6.fc38.x86_64
qt5-qtwebengine-devtools-0:5.15.12-9.fc38.x86_64
qt5-qtx11extras-0:5.15.10-1.fc38.x86_64
qt5-qtx11extras-0:5.15.11-1.fc38.x86_64
qt5-rpm-macros-0:5.15.10-1.fc38.noarch
qt5-rpm-macros-0:5.15.11-1.fc38.noarch
realtek-firmware-0:20230919-1.fc38.noarch
realtek-firmware-0:20231030-1.fc38.noarch
vim-data-2:9.0.2048-1.fc38.noarch
vim-data-2:9.0.2081-1.fc38.noarch

I will try to remove the p11-kit.686 and see what breaks. thanks for your help

ps repolist is:
❯ dnf repolist
repo id repo name
code Visual Studio Code
copr:copr.fedorainfracloud.org:atim:heroic-games-launcher Copr repo for heroic-games-launcher owned by atim
copr:copr.fedorainfracloud.org:rafatosta:zapzap Copr repo for zapzap owned by rafatosta
expressvpn-repo expressvpn
fedora Fedora 38 - x86_64
fedora-cisco-openh264 Fedora 38 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 38 - x86_64
rpmfusion-free RPM Fusion for Fedora 38 - Free
rpmfusion-free-updates RPM Fusion for Fedora 38 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 38 - Nonfree
rpmfusion-nonfree-steam RPM Fusion for Fedora 38 - Nonfree - Steam
rpmfusion-nonfree-updates RPM Fusion for Fedora 38 - Nonfree - Updates
updates Fedora 38 - x86_64 - Updates
updates-modular Fedora Modular 38 - x86_64 - Updates

I tried dnf upgrade --best --allowerasing --refresh, I got the same error again:

....
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/libdrm/amdgpu.ids from install of libdrm-2.4.117-1.fc38.i686 conflicts with file from package libdrm-2.4.114-2.fc38.x86_64
  file /usr/share/bash-completion/completions/p11-kit from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/NEWS from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/README from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man1/trust.1.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man8/p11-kit.8.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64

FAIL: 1

So here it’s the output of dnf list:

$ sudo dnf list installed libdrm p11-kit
Installed Packages
libdrm.i686                                                                                                                2.4.114-2.fc38                                                                                                             @fedora
libdrm.x86_64                                                                                                              2.4.114-2.fc38                                                                                                             @fedora
libdrm.x86_64                                                                                                              2.4.117-1.fc38                                                                                                             @updates
p11-kit.i686                                                                                                               0.25.0-1.fc38                                                                                                              @updates
p11-kit.x86_64                                                                                                             0.25.0-1.fc38                                                                                                              @updates
p11-kit.x86_64                                                                                                             0.25.2-1.fc38                                                                                                              @updates

They are from @fedora or @updates.
Meanwhile, thanks for the great support :+1:

Yes, the offiline update didn’t finish, it got literraly stuck in the middle of an update.
If I usually press esc I can see the terminal with the upgrade, instead this time something was probably broken and it didn’t respond to any key press.

I got a result similar to @schumischumi 's :

glibc-0:2.37-10.fc38.x86_64
glibc-0:2.37-13.fc38.x86_64
glibc-all-langpacks-0:2.37-10.fc38.x86_64
glibc-all-langpacks-0:2.37-13.fc38.x86_64
glibc-common-0:2.37-10.fc38.x86_64
glibc-common-0:2.37-13.fc38.x86_64
glibc-gconv-extra-0:2.37-10.fc38.i686
glibc-gconv-extra-0:2.37-10.fc38.x86_64
glibc-gconv-extra-0:2.37-13.fc38.x86_64
glibc-langpack-en-0:2.37-10.fc38.x86_64
glibc-langpack-en-0:2.37-13.fc38.x86_64
libdrm-0:2.4.114-2.fc38.i686
libdrm-0:2.4.114-2.fc38.x86_64
libdrm-0:2.4.117-1.fc38.x86_64
libtirpc-0:1.3.3-1.rc2.fc38.x86_64
libtirpc-0:1.3.4-0.fc38.x86_64
linux-firmware-whence-0:20230919-1.fc38.noarch
linux-firmware-whence-0:20231030-1.fc38.noarch
nspr-0:4.35.0-11.fc38.i686
nspr-0:4.35.0-11.fc38.x86_64
nspr-0:4.35.0-12.fc38.x86_64
nss-util-0:3.94.0-1.fc38.i686
nss-util-0:3.94.0-1.fc38.x86_64
nss-util-0:3.94.0-2.fc38.x86_64
p11-kit-0:0.25.0-1.fc38.i686
p11-kit-0:0.25.0-1.fc38.x86_64
p11-kit-0:0.25.2-1.fc38.x86_64
p11-kit-trust-0:0.25.0-1.fc38.x86_64
p11-kit-trust-0:0.25.2-1.fc38.x86_64
qgnomeplatform-qt6-0:0.9.1-8.fc38.x86_64
qgnomeplatform-qt6-0:0.9.2-4.fc38.x86_64
selinux-policy-0:38.29-1.fc38.noarch
selinux-policy-0:38.30-1.fc38.noarch
selinux-policy-targeted-0:38.29-1.fc38.noarch
selinux-policy-targeted-0:38.30-1.fc38.noarch
systemd-0:253.10-1.fc38.x86_64
systemd-0:253.12-1.fc38.x86_64
systemd-libs-0:253.10-1.fc38.i686
systemd-libs-0:253.10-1.fc38.x86_64
systemd-libs-0:253.12-1.fc38.x86_64
systemd-networkd-0:253.10-1.fc38.x86_64
systemd-networkd-0:253.12-1.fc38.x86_64
systemd-pam-0:253.10-1.fc38.x86_64
systemd-pam-0:253.12-1.fc38.x86_64
systemd-resolved-0:253.10-1.fc38.x86_64
systemd-resolved-0:253.12-1.fc38.x86_64
systemd-udev-0:253.10-1.fc38.x86_64
systemd-udev-0:253.12-1.fc38.x86_64
wine-filesystem-0:8.17-1.fc38.noarch
wine-filesystem-0:8.18-1.fc38.noarch

I can’t remove libdrm easily :grimacing:

$ sudo dnf remove libdrm-2.4.114-2.fc38.i686
....
Removing:
 libdrm                                                                 i686                                       2.4.114-2.fc38                                                        @fedora                                                        427 k
Removing dependent packages:
 gstreamer1-plugins-good                                                i686                                       1.22.5-1.fc38                                                         @updates                                                       7.9 M
 libglvnd-egl                                                           i686                                       1:1.6.0-2.fc38                                                        @fedora                                                         73 k
 libglvnd-glx                                                           i686                                       1:1.6.0-2.fc38                                                        @fedora                                                        645 k
 libva                                                                  i686                                       2.18.0-1.fc38                                                         @fedora                                                        333 k
 mesa-dri-drivers                                                       i686                                       23.1.8-1.fc38                                                         @updates                                                       101 M
 mesa-libEGL                                                            i686                                       23.1.8-1.fc38                                                         @updates                                                       322 k
 mesa-libGL                                                             i686                                       23.1.8-1.fc38                                                         @updates                                                       500 k
 mesa-vulkan-drivers                                                    i686                                       23.1.8-1.fc38                                                         @updates                                                        46 M
 steam                                                                  i686                                       1.0.0.78-1.fc38                                                       @rpmfusion-nonfree-updates                                     3.7 M
 wine                                                                   i686                                       8.17-1.fc38                                                           @updates                                                         0
 wine                                                                   x86_64                                     8.17-1.fc38                                                           @updates                                                         0
 wine-core                                                              i686                                       8.17-1.fc38                                                           @updates                                                       511 M
 wineglass                                                              x86_64                                     1.2.1-6.20191110git7b2558e.8.fc38                                     @updates                                                       373 k
Removing unused dependencies:
 SDL2                                                                   i686                                       2.26.3-1.fc38                                                         @fedora                                                        2.0 M
 SDL2_net                                                               x86_64                                     2.2.0-2.fc38                                                          @fedora                                                         27 k
 cdparanoia-libs                                                        i686                                       10.2-41.fc38                                                          @fedora                                                        116 k
 dosbox-staging                                                         x86_64                                     0.80.1-3.fc38                                                         @updates                                                        12 M
 evolution-data-server                                                  x86_64                                     3.48.4-1.fc38                                                         @updates                                                       8.5 M
 evolution-data-server-langpacks                                        noarch                                     3.48.4-1.fc38                                                         @updates                                                       8.2 M
 fluid-soundfont-common                                                 noarch                                     3.1-28.fc38                                                           @fedora                                                         79 k
 fluid-soundfont-gm                                                     noarch                                     3.1-28.fc38                                                           @fedora                                                        142 M
 gcr                                                                    x86_64                                     3.92.0-2.fc38                                                         @fedora                                                        133 k
 gdm                                                                    x86_64                                     1:44.1-1.fc38                                                         @updates                                                       5.0 M
 gnome-keyring-pam                                                      x86_64                                     42.1-3.fc38                                                           @fedora                                                         31 k
 gnome-session                                                          x86_64                                     44.0-1.fc38                                                           @fedora                                                        1.5 M
 gnome-session-wayland-session                                          x86_64                                     44.0-1.fc38                                                           @fedora                                                         15 k
 gnome-session-xsession                                                 x86_64                                     44.0-1.fc38                                                           @fedora                                                         15 k
 gnome-shell                                                            x86_64                                     44.5-1.fc38                                                           @updates                                                        10 M
 gnome-shell-extension-appindicator                                     noarch                                     53-1.fc38                                                             @fedora                                                        246 k
 gnome-shell-extension-gamemode                                         noarch                                     8-2.fc38                                                              @fedora                                                         65 k
 gnome-tour                                                             x86_64                                     44.0-1.fc38                                                           @fedora                                                        1.9 M
 granite                                                                x86_64                                     6.2.0-4.fc38                                                          @fedora                                                        978 k
 graphene                                                               i686                                       1.10.6-5.fc38                                                         @fedora                                                        230 k
 gstreamer1-plugins-base                                                i686                                       1.22.5-1.fc38                                                         @updates                                                       7.7 M
 iir1                                                                   x86_64                                     1.9.3-3.fc38                                                          @fedora                                                         54 k
 javascriptcoregtk6.0                                                   x86_64                                     2.42.1-1.fc38                                                         @updates                                                        28 M
 libXv                                                                  i686                                       1.0.11-18.fc38                                                        @fedora                                                         30 k
 libdecor                                                               i686                                       0.1.1-2.fc38                                                          @fedora                                                         96 k
 liberation-narrow-fonts                                                noarch                                     2:1.07.6-10.fc38                                                      @fedora                                                        502 k
 libexif                                                                i686                                       0.6.24-4.fc38                                                         @fedora                                                        2.4 M
 libgphoto2                                                             i686                                       2.5.30-4.fc38                                                         @fedora                                                        5.8 M
 libgudev                                                               i686                                       237-4.fc38                                                            @fedora                                                         87 k
 libical-glib                                                           x86_64                                     3.0.16-3.fc38                                                         @fedora                                                        1.8 M
 libieee1284                                                            i686                                       0.2.11-40.fc38                                                        @fedora                                                         97 k
 libnetapi                                                              x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       478 k
 libphonenumber                                                         x86_64                                     8.12.57-6.fc38                                                        @fedora                                                         17 M
 libshout                                                               i686                                       2.4.6-2.fc38                                                          @fedora                                                        186 k
 libtheora                                                              i686                                       1:1.1.1-33.fc38                                                       @fedora                                                        489 k
 libv4l                                                                 i686                                       1.22.1-5.fc38                                                         @fedora                                                        623 k
 libvisual                                                              i686                                       1:0.4.1-1.fc38                                                        @fedora                                                        483 k
 libvkd3d                                                               x86_64                                     1.9-1.fc38                                                            @updates                                                       447 k
 libvkd3d-shader                                                        x86_64                                     1.9-1.fc38                                                            @updates                                                       698 k
 libvpx                                                                 i686                                       1.13.1-1.fc38                                                         @updates                                                       3.7 M
 libwayland-server                                                      i686                                       1.22.0-1.fc38                                                         @updates                                                        82 k
 libxcvt                                                                x86_64                                     0.1.2-3.fc38                                                          @fedora                                                         19 k
 lm_sensors-libs                                                        i686                                       3.6.0-13.fc38                                                         @fedora                                                         85 k
 lockdev                                                                i686                                       1.0.4-0.39.20111007git.fc38                                           @fedora                                                         70 k
 mesa-libOSMesa                                                         i686                                       23.1.8-1.fc38                                                         @updates                                                        13 M
 mesa-libgbm                                                            i686                                       23.1.8-1.fc38                                                         @updates                                                        68 k
 mesa-va-drivers                                                        i686                                       23.1.8-1.fc38                                                         @updates                                                        13 M
 mingw32-FAudio                                                         noarch                                     23.07-1.fc38                                                          @updates                                                       504 k
 mingw32-SDL2                                                           noarch                                     2.26.2-1.fc38                                                         @fedora                                                        5.0 M
 mingw32-lcms2                                                          noarch                                     2.14-2.fc38                                                           @fedora                                                        914 k
 mingw32-libpng                                                         noarch                                     1.6.37-10.fc38                                                        @fedora                                                        1.0 M
 mingw32-libxml2                                                        noarch                                     2.10.3-2.fc38                                                         @fedora                                                        3.0 M
 mingw32-libxslt                                                        noarch                                     1.1.37-2.fc38                                                         @fedora                                                        877 k
 mingw32-vkd3d                                                          noarch                                     1.9-1.fc38                                                            @updates                                                       2.9 M
 mingw32-win-iconv                                                      noarch                                     0.0.8-9.fc38                                                          @fedora                                                         47 k
 mingw32-wine-gecko                                                     noarch                                     2.47.4-1.fc38                                                         @updates                                                        52 M
 mingw64-wine-gecko                                                     noarch                                     2.47.4-1.fc38                                                         @updates                                                        49 M
 mt32emu                                                                x86_64                                     2.7.0-6.fc38                                                          @fedora                                                        260 k
 mutter                                                                 x86_64                                     44.5-1.fc38                                                           @updates                                                        12 M
 ocl-icd                                                                i686                                       2.3.2-1.fc38                                                          @updates                                                       238 k
 orc                                                                    i686                                       0.4.33-2.fc38                                                         @fedora                                                        746 k
 samba-common-tools                                                     x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       1.3 M
 samba-dcerpc                                                           x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       2.8 M
 samba-ldb-ldap-modules                                                 x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                        36 k
 samba-libs                                                             x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       360 k
 samba-winbind                                                          x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       1.3 M
 samba-winbind-clients                                                  x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       164 k
 samba-winbind-modules                                                  x86_64                                     2:4.18.8-1.fc38                                                       @updates                                                       116 k
 sane-backends-drivers-cameras                                          i686                                       1.2.1-1.fc38                                                          @fedora                                                         13 M
 sane-backends-drivers-scanners                                         i686                                       1.2.1-1.fc38                                                          @fedora                                                         12 M
 sane-backends-libs                                                     i686                                       1.2.1-1.fc38                                                          @fedora                                                        100 k
 speex                                                                  i686                                       1.2.0-13.fc38                                                         @fedora                                                        120 k
 taglib                                                                 i686                                       1.12-8.fc38                                                           @fedora                                                        1.1 M
 twolame-libs                                                           i686                                       0.4.0-2.fc38                                                          @fedora                                                        165 k
 wavpack                                                                i686                                       5.6.0-2.fc38                                                          @fedora                                                        566 k
 webkitgtk6.0                                                           x86_64                                     2.42.1-1.fc38                                                         @updates                                                        75 M
 wine-alsa                                                              i686                                       8.17-1.fc38                                                           @updates                                                       246 k
 wine-alsa                                                              x86_64                                     8.17-1.fc38                                                           @updates                                                       277 k
 wine-arial-fonts                                                       noarch                                     8.17-1.fc38                                                           @updates                                                       157 k
 wine-cms                                                               i686                                       8.17-1.fc38                                                           @updates                                                       307 k
 wine-cms                                                               x86_64                                     8.17-1.fc38                                                           @updates                                                       376 k
 wine-courier-fonts                                                     noarch                                     8.17-1.fc38                                                           @updates                                                       170 k
 wine-desktop                                                           noarch                                     8.17-1.fc38                                                           @updates                                                       696 k
 wine-dxvk                                                              i686                                       1.10.3-2.fc38                                                         @fedora                                                         46 M
 wine-dxvk                                                              x86_64                                     1.10.3-2.fc38                                                         @fedora                                                         51 M
 wine-dxvk-d3d9                                                         i686                                       1.10.3-2.fc38                                                         @fedora                                                         14 M
 wine-dxvk-d3d9                                                         x86_64                                     1.10.3-2.fc38                                                         @fedora                                                         15 M
 wine-dxvk-dxgi                                                         i686                                       1.10.3-2.fc38                                                         @fedora                                                         13 M
 wine-dxvk-dxgi                                                         x86_64                                     1.10.3-2.fc38                                                         @fedora                                                         14 M
 wine-fixedsys-fonts                                                    noarch                                     8.17-1.fc38                                                           @updates                                                        37 k
 wine-fonts                                                             noarch                                     8.17-1.fc38                                                           @updates                                                         0
 wine-ldap                                                              i686                                       8.17-1.fc38                                                           @updates                                                       2.5 M
 wine-marlett-fonts                                                     noarch                                     8.17-1.fc38                                                           @updates                                                        32 k
 wine-ms-sans-serif-fonts                                               noarch                                     8.17-1.fc38                                                           @updates                                                       4.6 M
 wine-opencl                                                            i686                                       8.17-1.fc38                                                           @updates                                                       263 k
 wine-opencl                                                            x86_64                                     8.17-1.fc38                                                           @updates                                                       312 k
 wine-pulseaudio                                                        i686                                       8.17-1.fc38                                                           @updates                                                       202 k
 wine-pulseaudio                                                        x86_64                                     8.17-1.fc38                                                           @updates                                                       221 k
 wine-small-fonts                                                       noarch                                     8.17-1.fc38                                                           @updates                                                        65 k
 wine-symbol-fonts                                                      noarch                                     8.17-1.fc38                                                           @updates                                                        51 k
 wine-system-fonts                                                      noarch                                     8.17-1.fc38                                                           @updates                                                       121 k
 wine-systemd                                                           noarch                                     8.17-1.fc38                                                           @updates                                                       119
 wine-tahoma-fonts                                                      noarch                                     8.17-1.fc38                                                           @updates                                                       300 k
 wine-times-new-roman-fonts                                             noarch                                     8.17-1.fc38                                                           @updates                                                       170 k
 wine-twain                                                             i686                                       8.17-1.fc38                                                           @updates                                                       496 k
 wine-twain                                                             x86_64                                     8.17-1.fc38                                                           @updates                                                       612 k
 wine-webdings-fonts                                                    noarch                                     8.17-1.fc38                                                           @updates                                                        30 k
 wine-wingdings-fonts                                                   noarch                                     8.17-1.fc38                                                           @updates                                                        35 k
 xorg-x11-server-Xwayland                                               x86_64                                     22.1.9-2.fc38                                                         @updates                                                       2.2 M

That shouldn’t be possible. fedora-release-identity-workstation installs /etc/dnf/protected.d/fedora-workstation.conf, which makes gnome-shell non-removable. Does that file exist?

Moreover, gnome-shell should be requested by the installed @gnome-desktop group, so it shouldn’t be autoremoved. What does dnf group list --installed say?

As a minimal workaround, you can run sudo dnf mark install gnome-shell to mark gnome-shell as user-installed.

Ups, I probably know a reason of this problem, I installed Fedora KDE, but later removed KDE and installed GNOME.
I have these installed:

$ sudo dnf group list --installed
Last metadata expiration check: 0:02:16 ago on dom 5 nov 2023, 17:58:38.
Installed Environment Groups:
   Fedora Workstation
Installed Groups:
   Container Management
   Development Tools
   LibreOffice
   GNOME Desktop Environment
   Fonts
   Hardware Support
   Sound and Video

Now I’ve done dnf mark install gnome-shell, and then removed p11-kit and libdrm, but sadly with them it removed steam and wine.
Not a big deal, I’m going to reinstall them again…
I’m going to reboot now :crossed_fingers:

Edit: it’s working fine :+1:

Thanks @chrisawi @augenauf @computersavvy @schumischumi for the help and the contributions!

I sang victory too early!
I tried to install wine and I got this error:

Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/libdrm/amdgpu.ids from install of libdrm-2.4.117-1.fc38.i686 conflicts with file from package libdrm-2.4.114-2.fc38.x86_64
  file /usr/share/bash-completion/completions/p11-kit from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/NEWS from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/doc/p11-kit/README from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man1/trust.1.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64
  file /usr/share/man/man8/p11-kit.8.gz from install of p11-kit-0.25.2-1.fc38.i686 conflicts with file from package p11-kit-0.25.0-1.fc38.x86_64

FAIL: 1

What should I do now?

Did you run sudo dnf remove --duplicates and sudo dnf upgrade ?

You need to end up with no more than one copy of each package installed per architecture, and the versions need to match.

It appears that you still have libdrm-2.4.114-2.fc38.x86_64 installed. You probably also have libdrm-2.4.117-1.fc38.x86_64 installed. dnf remove --duplicates should help there.
The same goes for p11-kit.

You may encounter this problem for more i686 packages as well.

1 Like

Nice, this did the final fix!
dnf remove --duplicates cleaned the last things, nothing else needed to be upgraded but finally I got to install again wine and steam.
Thanks again!