Updated: 29 September 2026 · Applies to: converting AlmaLinux 8, 9 and 10 and Rocky Linux 8 and 9 to CloudLinux OS with cldeploy; the old CentOS 7 yum error
This error appeared on older CentOS 7 servers when they were converted to CloudLinux with an outdated version of yum:
File "/usr/share/yum-plugins/rhnplugin.py", line 490, in _noExceptionWrappingGet
retry_no_cache=self._retry_no_cache
AttributeError: 'RhnRepo' object has no attribute '_retry_no_cache'
It came from an outdated yum package that did not match the rhnplugin used during the conversion, and updating yum before running the conversion fixed it. CentOS 7 reached end of life in June 2024, and current AlmaLinux and Rocky Linux releases use dnf, so this particular error no longer occurs. If you still have a CentOS 7 server, plan a move to a supported release instead of converting it. Below is how the conversion works today.
Which systems can be converted
According to CloudLinux's documentation, cldeploy converts AlmaLinux 8, 9 and 10 and Rocky Linux 8 and 9 (and the end-of-life CentOS 7). CentOS 8 (end of life), CentOS Stream and Rocky Linux 10 are not supported. The conversion keeps the major version (AlmaLinux 9 becomes CloudLinux OS 9). CloudLinux does not support ARM processors.
Convert a server
- Get a CloudLinux license: an activation key, or an IP-based license for the server's public IP. Ucartz sells CloudLinux licenses.
- Back up the server, and plan a maintenance window: the conversion changes packages and ends with a reboot.
- Update the system and reboot into the latest kernel first:
dnf upgrade reboot
- Download the script into an empty folder and check its options:
mkdir -p /root/cldeploy && cd /root/cldeploy curl -O https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy bash cldeploy --help
- Run the conversion with your activation key, or with
-ifor an IP-based license:bash cldeploy -k ACTIVATION_KEY bash cldeploy -i
- Read the final messages of the script, then reboot into the CloudLinux kernel and check:
cat /etc/redhat-releaseanduname -r.
On cPanel servers, the script also sets up the CloudLinux integration. If the conversion stops with an error, do not simply run it again: follow the troubleshooting section of CloudLinux's documentation, because a half-converted server is not a clean starting point.
Official documentation: CloudLinux OS installation and conversion.