Skip to main content

yum update and check problems discovered

Answered

Comments

6 comments

  • mtindor

    These aren't uncommon.  And often if you wait an hour or two they resolve themselves.

    Also helps to clear the yum cache to make sure the latest package information is fetched from the repositries.

    dnf clean all; dnf makecache; dnf update

     

    1
  • Joe W

    I've been having the same issue on two servers for several days. Cleaning the cache using def and yum, using "rebuild rpm database" all fail to fix the issue.

    Edit: updated to add error message

    checkyum version 22.3  (excludes: bind-chroot)
      All Needed Packages are already installed.
    checkyum version 22.3  (excludes: bind-chroot)
    Last metadata expiration check: 0:05:36 ago on Thu May 29 09:45:07 2025.
    Error: 
     Problem: package mod_lua-2.4.62-4.el9.x86_64 from appstream requires httpd-mmn = 20120211x8664, but none of the providers can be installed
      - package mod_lua-2.4.62-4.el9.x86_64 from appstream requires httpd-core = 2.4.62-4.el9, but none of the providers can be installed
      - package ea-apache24-2.4.63-1.4.11.cpanel.x86_64 from EA4-c9 conflicts with httpd-mmn provided by httpd-core-2.4.62-4.el9.x86_64 from appstream
      - cannot install the best update candidate for package mod_lua-2.4.62-1.el9_5.2.x86_64
      - cannot install the best update candidate for package ea-apache24-2.4.63-1.4.10.cpanel.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)
    (XID tgcdxp) “/usr/bin/yum” reported error code “1” when it ended: 

    yum check results:

    [root@vps ~]# yum check
    mod_fcgid-2.3.9-28.el9.x86_64 has missing requires of httpd-mmn = 20120211x8664
    mod_lua-2.4.62-1.el9_5.2.x86_64 has missing requires of httpd-core = 2.4.62-1.el9_5.2
    mod_lua-2.4.62-1.el9_5.2.x86_64 has missing requires of httpd-mmn = 20120211x8664
    Error: Check discovered 3 problem(s)
    [root@vps ~]#
    0
  • cPRex Jurassic Moderator

    mod_lua isn't a cPanel package so I can't say for sure.  We actually recommend that this package is removed from the system if you find it as it can pose security issues:

    https://docs.cpanel.net/ea4/apache/apache-modules/apache-module-lua/

    I'd remove that package and then see if that gets things working.

    1
  • Joe W

    That's fixed it, thanks!

    Running

    yum remove mod_lua.x86_64 

    then 

    yum clean all; yum check; yum check-update; yum update;

    allowed the update to run successfully.

    I'm not sure where mod_lua came from, the only non-standard thing I'd installed on the server was ConfigServer firewall, so maybe it was something added by our host when the server was first set up.

    1
  • cPRex Jurassic Moderator

    That's the most likely solution - it was just *there* as part of the base OS when you got the server.

    I'm glad to hear that's all it took!

    1
  • frontsysFDS

    Yes the removal of mod_lua fixed that issue, but yum check still threw an error

    mod_fcgid-2.3.9-28.el9.x86_64 has missing requires

    I determined that the server is not using this module (in fact it seems it may be an old module?) but removing it has cleared up the original issue.

    0

Please sign in to leave a comment.