cPanel&WHM update issue with Ubuntu 20
I am using ubuntu 20 with cpanel version 112 and from the issue with the cPanel &WHM(Issue), workaround was to update the cPanel to 118.
But while updating it raises an issue.Do I need to upgrade Ubuntu to 22.04??
-
Ubuntu 20.04 is only supported by cPanel 118 (LTS) and below - it'll be best to upgrade to Ubuntu 22.04 or above (especially for a new install) to get access to cPanel 122 (Stable) and future updates ( https://support.cpanel.net/hc/en-us/articles/1500001216582-What-operating-systems-are-supported-by-cPanel ).
Unfortunately, the screenshot of the log doesn't give much information as to which system packages were unable to be installed (and therefore blocked the upgrade). Would it be possible to upload the entire log file (shown in that screenshot as /var/cpanel/uploadlogs/update.1648356.1469199831.1723550851.log ) somewhere like a Github Gist so it can be checked.
0 -
Yes, there would likely be additional errors above the end of that log that could provide more information about the failure.
0 -
https://gist.github.com/viditkamal11/ccc26bd7c378e956d7e95fd4803154c2
Here is the generated Log file0 -
Thanks - lines 125 onwards show the problems:
[2025-01-30 13:14:35 +0000] You might want to run 'apt --fix-broken install' to correct these.
[2025-01-30 13:14:35 +0000] The following packages have unmet dependencies:
[2025-01-30 13:14:35 +0000] bind9-dnsutils : Depends: bind9-libs (= 1:9.18.28-0ubuntu0.20.04.1) but 1:9.18.30-0ubuntu0.20.04.2 is to be installed
[2025-01-30 13:14:36 +0000] curl : Depends: libcurl4 (= 7.68.0-1ubuntu2.25) but 7.68.0-1ubuntu2.24 is to be installed
[2025-01-30 13:14:36 +0000] libmysqlclient-dev : Depends: libmysqlclient21 (= 8.0.40-1ubuntu20.04) but 8.0.41-1ubuntu20.04 is to be installed
[2025-01-30 13:14:36 +0000] libmysqlclient21 : Depends: mysql-common (>= 8.0.41-1ubuntu20.04)
[2025-01-30 13:14:36 +0000] Depends: mysql-community-client-plugins (= 8.0.41-1ubuntu20.04) but 8.0.40-1ubuntu20.04 is to be installed
[2025-01-30 13:14:36 +0000] python2.7-dev : Depends: python2.7 (= 2.7.18-1~20.04.7) but 2.7.18-1~20.04.5 is to be installed
[2025-01-30 13:14:36 +0000] Depends: libpython2.7-dev (= 2.7.18-1~20.04.7) but 2.7.18-1~20.04.5 is to be installed
[2025-01-30 13:14:36 +0000] Depends: libpython2.7 (= 2.7.18-1~20.04.7) but 2.7.18-1~20.04.5 is to be installed
[2025-01-30 13:14:36 +0000] python3-certbot-apache : Depends: apache2 but it is not going to be installed
[2025-01-30 13:14:36 +0000] W E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).Have you tried running
apt --fix-broken install
from the command line as root?
0 -
Okay, Thanks.
0
Please sign in to leave a comment.
Comments
5 comments