Symptoms
You see an error similar to the following while trying to install cPanel or EazyApache4 packages.
CONFIG_TEXT: No package cpanel-analytics available.
CONFIG_TEXT: No package ea-brotli available.
Description
This is often caused by a typo in the command when run manually. However, if the package is known to exist, this can be caused by the repositories not being installed. The missing repository files can be manually recreated.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
Recreate the cPanel Addons repository.
# touch /etc/yum.repos.d/cPAddons.repo
# cat /usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo > /etc/yum.repos.d/cPAddons.repo
Recreate the cPanel Plugins repository.
# yum-config-manager --add-repo=https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
Recreate the EasyApache4 repository.
# yum-config-manager --add-repo=https://securedownloads.cpanel.net/EA4/EA4.repo
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
Recreate the cPanel Addons repository.
# touch /etc/yum.repos.d/cPAddons.repo
# cat /usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo > /etc/yum.repos.d/cPAddons.repo
Recreate the cPanel Plugins repository.
# dnf config-manager --add-repo=https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
Recreate the EasyApache4 repository.
# dnf config-manager --add-repo=https://securedownloads.cpanel.net/EA4/EA4.repo
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
Recreate the cPanel Addons repository.
# touch /etc/yum.repos.d/cPAddons.repo
# cat /usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo > /etc/yum.repos.d/cPAddons.repo
Recreate the cPanel Plugins repository.
# yum-config-manager --add-repo=https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
Recreate the EasyApache4 repository.
# rpm -i https://repo.cloudlinux.com/cloudlinux/EA4/7/updates/x86_64/cloudlinux-ea4-release-1-7.el$version.noarch.rpm
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
Recreate the cPanel Addons repository.
# touch /etc/yum.repos.d/cPAddons.repo
# cat /usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo > /etc/yum.repos.d/cPAddons.repo
Recreate the cPanel Plugins repository.
# dnf config-manager --add-repo=https://securedownloads.cpanel.net/cpanel-plugins/0/cpanel-plugins.repo
Recreate the EasyApache4 repository.
# rpm -i https://repo.cloudlinux.com/cloudlinux/EA4/$version/updates/x86_64/cloudlinux-ea4-release-1-7.el$version.noarch.rpm
CPANEL_WARN: "$version" must be replaced with the CloudLinux version (
8or9).
Comments
0 comments
Article is closed for comments.