Downloading updates runs into error

When i download Updates with Software i get the message Sorry, something went wrong with the following content:

Error running transaction: file /opt/amdgpu/lib64/libdrm.so.2.4.0 from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64
file /opt/amdgpu/lib64/libdrm_amdgpu.so.1.0.0 from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64
file /opt/amdgpu/lib64/libdrm_radeon.so.1.0.1 from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64
file /opt/amdgpu/lib64/libkms.so.1.0.0 from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64
file /opt/amdgpu/share/doc/libdrm-amdgpu/README.rst from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64
file /lib/udev/rules.d/91-amdgpu-pro-modeset.rules from install of libdrm-amdgpu-1:2.4.106-1290604.el8.x86_64 conflicts with file from package amdgpu-pro-shims-1.1.1-1.fc35.x86_64

Hi @bups76 , welcome to the community.

It seems that you are mixing packages from enterprise linux here, which one shouldn’t generally use on Fedora. Could you tell us more about where you installed these from?

Could you also please share the output of this command with us?

fpaste --sysinfo-short --printonly

(Please sudo dnf install fpaste if it isn’t already installed on your system).

Thanks for the welcome!

I am not sure where i have installed the package from.

The requested output:

=== fpaste 0.4.5.1 System Information ===
* OS Release (cat /etc/*-release | uniq):
     Fedora release 40 (Forty)
     NAME="Fedora Linux"
     VERSION="40 (Workstation Edition)"
     ID=fedora
     VERSION_ID=40
     VERSION_CODENAME=""
     PLATFORM_ID="platform:f40"
     PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
     ANSI_COLOR="0;38;2;60;110;180"
     LOGO=fedora-logo-icon
     CPE_NAME="cpe:/o:fedoraproject:fedora:40"
     DEFAULT_HOSTNAME="fedora"
     HOME_URL="https://fedoraproject.org/"
     DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
     SUPPORT_URL="https://ask.fedoraproject.org/"
     BUG_REPORT_URL="https://bugzilla.redhat.com/"
     REDHAT_BUGZILLA_PRODUCT="Fedora"
     REDHAT_BUGZILLA_PRODUCT_VERSION=40
     REDHAT_SUPPORT_PRODUCT="Fedora"
     REDHAT_SUPPORT_PRODUCT_VERSION=40
     SUPPORT_END=2025-05-13
     VARIANT="Workstation Edition"
     VARIANT_ID=workstation
     Fedora release 40 (Forty)

* DNF Repositories (dnf repolist):
     repo id                                                  repo name
     algorand                                                 Algorand
     amdgpu                                                   AMDGPU Packages
     code                                                     Visual Studio Code
     copr:copr.fedorainfracloud.org:phracek:PyCharm           Copr repo for PyCharm owned by phracek
     copr:copr.fedorainfracloud.org:principis:howdy           Copr repo for howdy owned by principis
     copr:copr.fedorainfracloud.org:rmnscnce:amdgpu-pro-shims Copr repo for amdgpu-pro-shims owned by rmnscnce
     copr:copr.fedorainfracloud.org:sukhmeet:amdgpu-core-shim Copr repo for amdgpu-core-shim owned by sukhmeet
     copr:copr.fedorainfracloud.org:vbatts:bazel              Copr repo for bazel owned by vbatts
     docker-ce-stable                                         Docker CE Stable - x86_64
     fedora                                                   Fedora 40 - x86_64
     fedora-cisco-openh264                                    Fedora 40 openh264 (From Cisco) - x86_64
     google-chrome                                            google-chrome
     google-cloud-cli                                         Google Cloud CLI
     hardware_razer                                           hardware:razer (Fedora_40)
     mysql-8.4-lts-community                                  MySQL 8.4 LTS Community Server
     mysql-connectors-community                               MySQL Connectors Community
     mysql-tools-8.4-lts-community                            MySQL Tools 8.4 LTS Community
     packages-microsoft-com-mssql-server-2019                 packages-microsoft-com-mssql-server-2019
     packages-microsoft-com-prod                              packages-microsoft-com-prod
     remi                                                     Remi's RPM repository - Fedora 40 - x86_64
     remi-modular                                             Remi's Modular repository - Fedora 40 - x86_64
     rocm                                                     ROCm 6.0 repository
     rpmfusion-free                                           RPM Fusion for Fedora 40 - Free
     rpmfusion-free-updates                                   RPM Fusion for Fedora 40 - Free - Updates
     rpmfusion-nonfree                                        RPM Fusion for Fedora 40 - Nonfree
     rpmfusion-nonfree-nvidia-driver                          RPM Fusion for Fedora 40 - Nonfree - NVIDIA Driver
     rpmfusion-nonfree-steam                                  RPM Fusion for Fedora 40 - Nonfree - Steam
     rpmfusion-nonfree-updates                                RPM Fusion for Fedora 40 - Nonfree - Updates
     symfony-stable                                           symfony-stable
     symfony-stable-noarch                                    symfony-stable-noarch
     symfony-stable-source                                    symfony-stable-source
     teams                                                    teams
     updates                                                  Fedora 40 - x86_64 - Updates
     virtualbox                                               Fedora VirtualBox Repo

1 Like

The command dnf list installed <package name> should show which repo that package was installed from.

The packages that are conflicting seem to be
libdrm-amdgpu which appears to be for el8
and
amdgpu-pro-shims which appears to be a package for fedora 35.

To me it seems that there is an attempt to install one that is conflicting with the one already installed. Either do not install the one that is complaining or remove the one that is already installed first.

This can also occur when a package content is changed and now causes the conflict during an update.

Conflicts often happen when using 3rd party repos for similar packages.

1 Like

Thanks Jeff. Removing amdgpu-pro-shims did the trick!

2 Likes