Needed system packages were not installed: libzstd
Hi Everyone,
I receive "update failure in upcp script" warning recently with details below:
[2025-01-18 00:13:32 +0800] cpanel-dovecot-xaps-2.3.21.1-1.cp108~el7.x86_64.rpm already downloaded
[2025-01-18 00:13:32 +0800] E Sysup: Needed system packages were not installed: libzstd
=> Log closed Sat Jan 18 00:13:32 2025
=> Log closed Sat Jan 18 00:13:32 2025
[2025-01-18 00:13:33 +0800] cpanel-dovecot-2.3.21.1-1.cp108~el7.x86_64.rpm already downloaded
[2025-01-18 00:13:33 +0800] cpanel-mariadb-connector-devel-3.3.13-1.cp108~el7.x86_64.rpm already downloaded
[2025-01-18 00:13:33 +0800] Staging jupiter theme changes
[2025-01-18 00:13:33 +0800] Loading digest cache from /usr/local/cpanel/base/frontend/jupiter/.cpanelsync.digest
[2025-01-18 00:13:33 +0800] Retrieving and staging /cpanelsync/11.110.0.51/jupiter/.cpanelsync.bz2
[2025-01-18 00:13:33 +0800] Successfully verified signature for cpanel (key types: release).
[2025-01-18 00:13:33 +0800] Maximum sync children set to 16 based on 4324M available memory.
[2025-01-18 00:13:33 +0800] Staging files for jupiter
[2025-01-18 00:13:34 +0800] Child: 1: Stage File: /var/tmp/13075.ANEL_SCRIPTS_UPDATENOW_STATIC_CPANELSYNC__.852537f1.tmp
[2025-01-18 00:13:34 +0800] Child 13220 created to stage files.
[2025-01-18 00:13:34 +0800] Retrieving and staging /cpanelsync/11.110.0.51/jupiter/_assets/_ajaxapp_header.gradients.static.bz2
[2025-01-18 00:13:34 +0800] Using mirror '103.17.8.8' for host 'httpupdate.cpanel.net'.
=> Log closed Sat Jan 18 00:13:34 2025
[2025-01-18 00:13:34 +0800] Sync child 13220 exited cleanly.
[2025-01-18 00:13:34 +0800] All files Staged
[2025-01-18 00:13:34 +0800] E Blocker found: Cannot upgrade to 11.110.0.51 until needed system packages are installed.
[2025-01-18 00:13:34 +0800] Removing staged files and directories for binaries/linux-c7-x86_64, cpanel
[2025-01-18 00:13:34 +0800] Removing staged files and directories for jupiter
[2025-01-18 00:13:34 +0800] E The install encountered a fatal error: Cannot upgrade to 11.110.0.51 until needed system packages are installed.
Does anyone receive the same warning recently? Any official solution to this problem yet?
Thanks!
-
Hey there! I'm guessing you're still using CentOS 7, correct? If so, what happens if you run "yum update" on the server?
0 -
If you run yum update on the server, it will check for any available updates for the software installed on your system. It’ll download and install the latest versions of packages, including security fixes and bug patches. It makes good to keep everything running smoothly and up to date. Make sure you'll backup anything important before running the update, especially if you're on a live server.
0 -
Thanks for the reply. Yea, still using CentOS 7. The below are details of running "yum update". By the ways, do I need to install libzstd manually as the warning mentions "Need system packages were not installed: libzstd"? Thanks!
0 -
That output looks good and isn't showing any odd package issues, so you can enter "y" to continue with that update.
The best plan for the health of your server would be to migrate to a modern operating system where updates are fully supported.
1 -
Hello,
Experiencing the same issue. We want to upgrade our OS and we can't seem to get past this roadblock. From terminal, yum install libzstd returns no packages. Any help would be appreciated.
0 -
Adam Schon - what OS are you on now and what are you trying to update?
0 -
Hi cpRex, we’re trying to do the elevate guide to get off CentOS 7. We need to upgrade to 11.110.0.51 from .50 and it’s blocking due to libzstd package missing.
0 -
Do you already have the TuxCare packages installed? Can you send me the output of this command?
ls -1 /etc/yum.repos.d/
0 -
centos7-els.repo
centos7-els-rollout.repo
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Media.repo
CentOS-Sources.repo
CentOS-Vault.repo
CentOS-x86_64-kernel.repo
cPAddons.repo
cpanel-plugins.repo
EA4.repo
letsencrypt.repo
Mysql80.repo
wp-toolkit-cpanel.repo
0 -
I resolved by running the following commands and updating again.
yum install epel-release yum install libzstd-devel
0 -
Hi Adam
Do I need to restart the server after these commands? Thanks.
0 -
You don’t need to restart to install those packages.
0 -
I'm glad you found a good workaround!
0 -
I had the same issue with being stuck at 11.110.0.50 until I found this post.
Similar to what Adam Schon, indicated above, I ran the following commands:
yum install epel-release yum install libzstd
Then I ran the upcp script which successfully updated to 11.110.0.51 (the last version supported on CentOS 7):/usr/local/cpanel/scripts/upcp
Thanks.
0
Please sign in to leave a comment.
Comments
14 comments