# Cannot update Rocky Linux due to conflicts

**URL:** https://forums.rockylinux.org/t/cannot-update-rocky-linux-due-to-conflicts/18952
**Category:** Rocky Linux Help & Support
**Tags:** rocky-linux-9
**Created:** [June 26, 2025, 1:16pm UTC](https://forums.rockylinux.org/t/cannot-update-rocky-linux-due-to-conflicts/18952 "2025-06-26T13:16:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cyanraven0301](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@cyanraven0301](https://forums.rockylinux.org/u/cyanraven0301)
#### Post date: [June 26, 2025, 1:16pm UTC](https://forums.rockylinux.org/t/cannot-update-rocky-linux-due-to-conflicts/18952/1 "2025-06-26T13:16:06Z")

</div>

Hello,  
I tried to update my Rocky Linux installation, but it seems I cannot…

```auto
[nicic@novikomp ~]$ sudo dnf repolist
repo id repo name
amdgpu AMDGPU 6.4.1 repository
appstream Rocky Linux 9 - AppStream
baseos Rocky Linux 9 - BaseOS
brave-browser Brave Browser
bunkus-org bunkus.org MKVToolNix repository
cloudflare-warp-stable cloudflare-warp-stable
crb Rocky Linux 9 - CRB
epel Extra Packages for Enterprise Linux 9 - x86_64
epel-cdrtools negativo17 - CDRtools
epel-cisco-openh264 Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
extras Rocky Linux 9 - Extras
rocm ROCm 6.4.1 repository
rpmfusion-free-updates RPM Fusion for EL 9 - Free - Updates
rpmfusion-nonfree-updates RPM Fusion for EL 9 - Nonfree - Updates
[nicic@novikomp ~]$ sudo dnf check-update --refresh
ROCm 6.4.1 repository 1.6 kB/s | 3.0 kB 00:01    
AMDGPU 6.4.1 repository 5.2 kB/s | 3.0 kB 00:00    
Brave Browser 850 B/s | 2.0 kB 00:02    
bunkus.org MKVToolNix repository 3.4 kB/s | 1.5 kB 00:00    
cloudflare-warp-stable 2.7 kB/s | 3.0 kB 00:01    
Extra Packages for Enterprise Linux 9 - x86_64 1.7 kB/s | 42 kB 00:25    
negativo17 - CDRtools 2.1 kB/s | 3.3 kB 00:01    
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 5.2 kB/s | 993 B 00:00    
Rocky Linux 9 - BaseOS 2.3 kB/s | 4.1 kB 00:01    
Rocky Linux 9 - AppStream 2.1 kB/s | 4.5 kB 00:02    
Rocky Linux 9 - AppStream 151 kB/s | 9.6 MB 01:04    
Rocky Linux 9 - CRB 1.6 kB/s | 4.5 kB 00:02    
Rocky Linux 9 - CRB 232 kB/s | 2.8 MB 00:12    
Rocky Linux 9 - Extras 1.1 kB/s | 2.9 kB 00:02    
RPM Fusion for EL 9 - Free - Updates 6.3 kB/s | 8.3 kB 00:01    
RPM Fusion for EL 9 - Nonfree - Updates 3.4 kB/s | 8.4 kB 00:02    

NetworkManager.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-adsl.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-bluetooth.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-libnm.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-team.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-tui.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-wifi.x86_64 1:1.52.0-4.el9_6 baseos   
NetworkManager-wwan.x86_64 1:1.52.0-4.el9_6 baseos   
device-mapper-multipath.x86_64 0.8.7-35.el9_6.1 baseos   
device-mapper-multipath-libs.x86_64 0.8.7-35.el9_6.1 baseos   
elfutils.x86_64 0.192-6.el9_6 baseos   
elfutils-debuginfod-client.x86_64 0.192-6.el9_6 baseos   
elfutils-default-yama-scope.noarch 0.192-6.el9_6 baseos   
elfutils-libelf.x86_64 0.192-6.el9_6 baseos   
elfutils-libs.x86_64 0.192-6.el9_6 baseos   
iputils.x86_64 20210202-11.el9_6.1 baseos   
iwl100-firmware.noarch 39.31.5.1-151.1.el9_6 baseos   
iwl1000-firmware.noarch 1:39.31.5.1-151.1.el9_6 baseos   
iwl105-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl135-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl2000-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl2030-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl3160-firmware.noarch 1:25.30.13.0-151.1.el9_6 baseos   
iwl5000-firmware.noarch 8.83.5.1_1-151.1.el9_6 baseos   
iwl5150-firmware.noarch 8.24.2.2-151.1.el9_6 baseos   
iwl6000g2a-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl6000g2b-firmware.noarch 18.168.6.1-151.1.el9_6 baseos   
iwl6050-firmware.noarch 41.28.5.1-151.1.el9_6 baseos   
iwl7260-firmware.noarch 1:25.30.13.0-151.1.el9_6 baseos   
kernel-devel.x86_64 5.14.0-570.22.1.el9_6 appstream
kernel-headers.x86_64 5.14.0-570.22.1.el9_6 appstream
kpartx.x86_64 0.8.7-35.el9_6.1 baseos   
krb5-libs.x86_64 1.21.1-8.el9_6 baseos   
libarchive.x86_64 3.5.3-5.el9_6 baseos   
libblockdev.x86_64 2.28-14.el9_6 appstream
libblockdev-crypto.x86_64 2.28-14.el9_6 appstream
libblockdev-fs.x86_64 2.28-14.el9_6 appstream
libblockdev-loop.x86_64 2.28-14.el9_6 appstream
libblockdev-lvm.x86_64 2.28-14.el9_6 appstream
libblockdev-mdraid.x86_64 2.28-14.el9_6 appstream
libblockdev-part.x86_64 2.28-14.el9_6 appstream
libblockdev-swap.x86_64 2.28-14.el9_6 appstream
libblockdev-utils.x86_64 2.28-14.el9_6 appstream
libdb.x86_64 5.3.28-57.el9_6 baseos   
libertas-sd8787-firmware.noarch 20250513-151.1.el9_6 baseos   
libldb.x86_64 4.21.3-5.el9_6 baseos   
libsmbclient.x86_64 4.21.3-5.el9_6 baseos   
libvpx.x86_64 1.9.0-9.el9_6 appstream
libwbclient.x86_64 4.21.3-5.el9_6 baseos   
linux-firmware.noarch 20250513-151.1.el9_6 baseos   
linux-firmware-whence.noarch 20250513-151.1.el9_6 baseos   
lockdev.x86_64 1.0.4-0.38.20111007git.el9_6 baseos   
microcode_ctl.noarch 4:20250211-1.20250512.1.el9_6 baseos   
netronome-firmware.noarch 20250513-151.1.el9_6 baseos   
pam.x86_64 1.5.1-25.el9_6 baseos   
python3-perf.x86_64 5.14.0-570.22.1.el9_6 appstream
samba-client-libs.x86_64 4.21.3-5.el9_6 baseos   
samba-common.noarch 4.21.3-5.el9_6 baseos   
samba-common-libs.x86_64 4.21.3-5.el9_6 baseos   
sos.noarch 4.9.1-2.el9_6 baseos   
systemd.x86_64 252-51.el9_6.1 baseos   
systemd-libs.x86_64 252-51.el9_6.1 baseos   
systemd-pam.x86_64 252-51.el9_6.1 baseos   
systemd-rpm-macros.noarch 252-51.el9_6.1 baseos   
systemd-udev.x86_64 252-51.el9_6.1 baseos   
tuned.noarch 2.25.1-2.el9_6 baseos   
xorg-x11-server-Xorg.x86_64 1.20.11-31.el9_6 appstream
xorg-x11-server-Xwayland.x86_64 23.2.7-4.el9_6 appstream
xorg-x11-server-common.x86_64 1.20.11-31.el9_6 appstream
[nicic@novikomp ~]$ sudo dnf update
Last metadata expiration check: 0:00:10 ago on Thu 26 Jun 2025 03:14:48 PM CEST.
Error: 
 Problem 1: package elfutils-libelf-devel-0.192-5.el9.x86_64 from @System requires elfutils-libelf(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - cannot install both elfutils-libelf-0.192-6.el9_6.x86_64 from baseos and elfutils-libelf-0.192-5.el9.x86_64 from @System
  - cannot install the best update candidate for package elfutils-libelf-devel-0.192-5.el9.x86_64
  - cannot install the best update candidate for package elfutils-libelf-0.192-5.el9.x86_64
 Problem 2: cannot install both elfutils-libs-0.192-6.el9_6.x86_64 from baseos and elfutils-libs-0.192-5.el9.x86_64 from @System
  - package elfutils-devel-0.192-5.el9.x86_64 from @System requires elfutils-libs(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - cannot install the best update candidate for package elfutils-libs-0.192-5.el9.x86_64
  - cannot install the best update candidate for package elfutils-devel-0.192-5.el9.x86_64
 Problem 3: package systemtap-devel-5.2-2.el9.x86_64 from @System requires elfutils-devel >= 0.179, but none of the providers can be installed
  - package elfutils-devel-0.192-5.el9.x86_64 from @System requires elfutils-libs(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - package elfutils-devel-0.192-5.el9.x86_64 from appstream requires elfutils-libs(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - cannot install both elfutils-libs-0.192-6.el9_6.x86_64 from baseos and elfutils-libs-0.192-5.el9.x86_64 from @System
  - package elfutils-0.192-6.el9_6.x86_64 from baseos requires elfutils-libs(x86-64) = 0.192-6.el9_6, but none of the providers can be installed
  - cannot install the best update candidate for package systemtap-devel-5.2-2.el9.x86_64
  - cannot install the best update candidate for package elfutils-0.192-5.el9.x86_64
  - nothing provides elfutils-libs(x86-32) = 0.192-5.el9 needed by elfutils-devel-0.192-5.el9.i686 from appstream
 Problem 4: problem with installed package elfutils-devel-0.192-5.el9.x86_64
  - package elfutils-devel-0.192-5.el9.x86_64 from @System requires elfutils-libs(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - package elfutils-devel-0.192-5.el9.x86_64 from appstream requires elfutils-libs(x86-64) = 0.192-5.el9, but none of the providers can be installed
  - cannot install both elfutils-libs-0.192-6.el9_6.x86_64 from baseos and elfutils-libs-0.192-5.el9.x86_64 from @System
  - package elfutils-debuginfod-client-0.192-6.el9_6.x86_64 from baseos requires elfutils-libs(x86-64) = 0.192-6.el9_6, but none of the providers can be installed
  - cannot install the best update candidate for package elfutils-debuginfod-client-0.192-5.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

Can someone please help me with this issue?  
Thanks!

UPDATE: I managed to fix my issue by repeatedly running `sudo dnf clean all` and `sudo dnf check-update --refresh` to update the dnf cache.

---

<div class="post-metadata">

### Author: ![markyb](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@markyb](https://forums.rockylinux.org/u/markyb)
#### Post date: [June 26, 2025, 6:28pm UTC](https://forums.rockylinux.org/t/cannot-update-rocky-linux-due-to-conflicts/18952/2 "2025-06-26T18:28:20Z")

</div>

I have been getting this a lot in the last 2 days. “dnf makecache --refresh” also fixed it.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)
#### Post date: [August 25, 2025, 6:29pm UTC](https://forums.rockylinux.org/t/cannot-update-rocky-linux-due-to-conflicts/18952/3 "2025-08-25T18:29:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
