Symptoms
The daily cPanel update fails with an error similar to the following.
CONFIG_TEXT: [2024-04-19 04:16:02 +0700] E [/usr/local/cpanel/scripts/update-packages] The "/usr/local/cpanel/scripts/update-packages" command (process 4191455) reported error number 1 when it ended.
Cause
The update-packages script runs the operating systems package manage, such as yum, dnf for REHL based Operating Systems, or apt for Ubuntu, and will return an error if the package manager encounters an error.
Resolution
Run the package manager for your server to check what errors are being returned.
# yum update
# apt update
The specific error returned will have to be addressed.
Additional resources
cPanel update fails due to msodbcsql1x error while running /usr/local/cpanel/scripts/rpmup
Yum commands fail due to MariaDB repository archival.
[Imunify360]'s Yara Package Conflicting With [epel]'s, Breaks Yum Updates
CentOS/CloudLinux 8 - how to install packages via dnf that are not in enabled package streams
Comments
0 comments
Article is closed for comments.