Skip to main content

Unsatisfied dependencies - WHM/Cpanel won't touch it

Comments

4 comments

  • ffeingol

    The database that they are referring to is the RPM database, not a MySQL/Postgress database.  They also (prob.) won't deal with this because the Remi repository is not needed by cPanel/WHM.  A guess is this is all related to CentOS V7 EOL and the repositories no longer being available?

    0
  • jeffschips

    Here is another failure that just appeared.  What is going on with cpanel/WHM here?  Can someone interpret this so I can take appropriate action?  Thanks kindly.

    Update log preview:
    ...
    ...
    [2024-07-06 22:30:09 -0400] E [/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 767953) reported error number 1 when it ended.
    ...
    [2024-07-06 22:31:05 -0400] Processing: Checking CloudLinux installation
    [2024-07-06 22:31:05 -0400] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [2024-07-06 22:31:05 -0400] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.258 seconds
    [2024-07-06 22:31:05 -0400] Processing: Updating plugins data cache
    [2024-07-06 22:31:05 -0400] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    [2024-07-06 22:31:05 -0400] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.166 seconds
    [2024-07-06 22:31:05 -0400] Processing: Ensuring SSL certificate information for CCS is up to date.
    [2024-07-06 22:31:05 -0400] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
    [2024-07-06 22:31:05 -0400] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.025 seconds
    [2024-07-06 22:31:05 -0400] Processing: Ensure cpanel-plugins yum repo exists
    [2024-07-06 22:31:06 -0400] - Finished in 0.652 seconds
    [2024-07-06 22:31:06 -0400] Processing: Checking Addon Licenses
    [2024-07-06 22:31:06 -0400] - Finished in 0.013 seconds
    [2024-07-06 22:31:06 -0400] Processing: Updating Public Suffix List
    [2024-07-06 22:31:06 -0400] Processing: Checking End Of Life for current version.
    [2024-07-06 22:31:06 -0400] - Finished in 0.240 seconds
    [2024-07-06 22:31:06 -0400] Processing:
    [2024-07-06 22:31:06 -0400] Maintenance complete.
    => Log closed Sat Jul 6 22:31:06 2024
    ----------------------------------------------------
    0
  • Andrew
    Translate

    /usr/local/cpanel/scripts/update-packages command also use yum therefore if it's not working due to 3rd party repos then the update will fail.

    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
  • jeffschips

    SOLVED by level 2 cpanel tech who was thorough and clear in what was happening:

    It appears that the epel-release package on the server was partially corrupted, and interactions regarding it resulting in dnf errors

    To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
    You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.

    This is also why the cPanel update was failing.

    What I did was manually remove the package from the installed list, and then re-installed it:

    rpm -v -e --nodeps --justdb epel-release

    dnf install epel-release

    Transaction Summary
    Install  1 Package

    Total size: 24 k
    Installed size: 34 k
    Is this ok [y/N]: y
    Downloading Packages:
    [SKIPPED] epel-release-8-20.el8.noarch.rpm: Already downloaded                                                                                                                                          
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :  1/1 
      Installing       : epel-release-8-20.el8.noarch                                                                                                                                                    1/1 
      Running scriptlet: epel-release-8-20.el8.noarch                                                                                                                                                    1/1 
    Many EPEL packages require the CodeReady Builder (CRB) repository.
    It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

      Verifying        : epel-release-8-20.el8.noarch                                                                                                                                                    1/1 

    Installed:
      epel-release-8-20.el8.noarch  

    Complete!

    0

Please sign in to leave a comment.