Skip to main content

Update errors on cloudlinux

Answered

Comments

4 comments

  • Andrew

    yum works fine?

    yum update

    yum install iptables-libs

    What are the output of the above commands?

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    0
  • maestroc

    Thank you for your assistance.  Here is the output of those commands.

    [root@moj ~]# yum update
    This system is receiving updates from CloudLinux Network server.
    Last metadata expiration check: 1:30:06 ago on Sun Sep  8 17:10:48 2024.
    Error:
     Problem: package iptables-legacy-1.8.10-2.2.el9.x86_64 from @System requires (iptables-libs(x86-64) = 1.8.10-2.el9 or iptables-libs(x86-64) = 1.8.10-2.el9_1), but none of the providers can be installed
      - cannot install both iptables-libs-1.8.10-4.el9_4.x86_64 from baseos and iptables-libs-1.8.10-2.el9.x86_64 from @System
      - cannot install both iptables-libs-1.8.10-4.el9_4.x86_64 from baseos and iptables-libs-1.8.10-2.el9.x86_64 from baseos
      - cannot install the best update candidate for package iptables-libs-1.8.10-2.el9.x86_64
      - cannot install the best update candidate for package iptables-legacy-1.8.10-2.2.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)

     

    [root@moj ~]# yum install iptables-libs
    This system is receiving updates from CloudLinux Network server.
    Last metadata expiration check: 1:30:59 ago on Sun Sep  8 17:10:48 2024.
    Package iptables-libs-1.8.10-2.el9.x86_64 is already installed.
    Error:
     Problem: problem with installed package iptables-legacy-1.8.10-2.2.el9.x86_64
      - package iptables-legacy-1.8.10-2.2.el9.x86_64 from @System requires (iptables-libs(x86-64) = 1.8.10-2.el9 or iptables-libs(x86-64) = 1.8.10-2.el9_1), but none of the providers can be installed
      - package iptables-legacy-1.8.10-2.2.el9.x86_64 from epel requires (iptables-libs(x86-64) = 1.8.10-2.el9 or iptables-libs(x86-64) = 1.8.10-2.el9_1), but none of the providers can be installed
      - cannot install both iptables-libs-1.8.10-4.el9_4.x86_64 from baseos and iptables-libs-1.8.10-2.el9.x86_64 from @System
      - cannot install both iptables-libs-1.8.10-4.el9_4.x86_64 from baseos and iptables-libs-1.8.10-2.el9.x86_64 from baseos
      - cannot install the best candidate for the job
    (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)

    0
  • Andrew
    Translate

    This should be the official workaround for this problem:

    dnf --assumeyes swap iptables-legacy iptables-nft


    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    1
  • maestroc

    That seems to have worked.  Thank you!

    0

Please sign in to leave a comment.