Resolving DPDK Package Conflicts During dnf update
Applies to CloudShark versions 5.0.0 through 5.2.0 running on RHEL 9 based operating systems.
CloudShark ships a specific version of the DPDK package that Suricata is
built against. RHEL/Rocky Linux version 9 now distributes a newer DPDK package
in the AppStream repository, which conflicts with version provided by
CloudShark.
Symptom
When running dnf update with CloudShark installed, the update fails with a
dependency conflict similar to the following:
Error:
Problem: cannot install both dpdk-2:25.11-1.el9.x86_64 from appstream
and dpdk-2:24.11.3-1.el9_7.x86_64 from @System
- package suricata-1:7.0.12-1.el9.x86_64 from @System requires
librte_eal.so.25()(64bit), but none of the providers can be installed
...
- cannot install the best update candidate for package
dpdk-2:24.11.3-1.el9_7.x86_64
- problem with installed package suricata-1:7.0.12-1.el9.x86_64
Resolution
Exclude DPDK from the AppStream repository so that dnf no longer tries to
upgrade the CloudShark-provided versions. This is a one-time configuration
change that persists across future updates. The Wireshark package is already
excluded and must be specified in addition:
Rocky Linux 9:
dnf config-manager --save --setopt=appstream.exclude="wireshark,dpdk"
RHEL 9:
dnf -y config-manager --save --setopt=rhel-9-for-x86_64-appstream-rpms.exclude="wireshark,dpdk"
The repository ID differs between RHEL and Rocky. If you are unsure of your AppStream repo ID, run
dnf repolistand use the ID that corresponds to your AppStream repository.
After applying the change, run the update again.
Still need help?
If the update still fails after applying the exclusion, contact CloudShark
Support at support@qacafe.com with the full output
of your dnf update command.