How can I fix the error: Problem: cannot install both iptables-libs-1.8.10-2.el9.x86_64 from baseos and iptables-libs-1.8.8-6.el9_1.x86_64 from @System when upgrading to AlmaLinux 9.4?

When running dnf/yum update you get the following error:

Error:
Problem: cannot install both iptables-libs-1.8.10-2.el9.x86_64 from baseos and iptables-libs-1.8.8-6.el9_1.x86_64 from @System
- package iptables-legacy-1.8.8-6.el9.2.x86_64 from @System requires (iptables-libs(x86-64) = 1.8.8-6.el9 or iptables-libs(x86-64) = 1.8.8-6.el9_1), but none of the providers can be installed
- cannot install the best update candidate for package iptables-libs-1.8.8-6.el9_1.x86_64
- cannot install the best update candidate for package iptables-legacy-1.8.8-6.el9.2.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)

To fix this error remove the old iptables-legacy package and install the iptables-nft package instead:

dnf remove iptables-legacy
dnf install iptables-nft
  • iptables, iptables-legacy
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How can I fix the error: Kohana_Exception [ 0 ]: Directory APPPATH/cache must be writable?

This error means that the permissions on the Plesk extension are not set properly. Running the...

How can I fix the error: The domain limit of this license key has been reached?

The admin and pro versions of our products are limited to the number of domains you can have in...

How can I fix the error: AH01630: client denied by server configuration after enabling the messenger v3 service?

After enabling the messenger v3 service you just get the default Apache page when testing the...