Issue
Package downloads or metadata synchronization from TuxCare or CloudLinux repositories are extremely slow or fail with timeout errors:
els-rollout.tuxcare.com
- repo.tuxcare.com
- repo.cloudlinux.com
- repo.imunify360.com
Common symptoms include:
Curl error (28): Timeout was reached
Operation too slow. Less than 51200 bytes/sec transferred the last 30 seconds[Errno 12] Timeout
Operation too slow. Less than 1000 bytes/sec transferred the last 30 secondsNo more mirrors to try
Cannot download, all mirrors were already tried without successThe issue may affect commands such as:
yum makecache
yum update
/usr/local/cpanel/scripts/update-packages
sh install-centos7-els-repo.sh --license-key <LICENSE_KEY>Environment
- TuxCare repositories
- CloudLinux repositories
- CentOS 7
- Extended Lifecycle Support (ELS)
- KernelCare
- Imunify360
- CloudLinux OS
- RHEL-based systems using
yumordnf
Solution
- Retry the operation after the repository infrastructure issue is resolved.
- Clear the package manager cache:
yum clean all
yum makecacheFor systems using dnf, run:
dnf clean all
dnf makecache- Run the failed command again, for example:
yum updateor, for CentOS 7 ELS installation:
sh install-centos7-els-repo.sh --license-key <LICENSE_KEY>- If the issue persists, check whether repository downloads are still slow from the affected server:
wget -O /dev/null <PACKAGE_OR_REPODATA_URL>- If unrelated package operations are blocked by the affected repository, temporarily disable the affected repository only for that command.
For example, for CentOS 7 ELS:
yum --disablerepo=centos7-els <command>To disable the repository until it is enabled again:
yum-config-manager --disable centos7-elsEnable it again after the repository issue is resolved:
yum-config-manager --enable centos7-elsDo not use --force with the CentOS 7 ELS installation script as a generic fix for repository timeout or slow download issues. Use it only when re-registration is required.
Cause
Internal task: MADSPORTAL-251
Comments
0 comments
Article is closed for comments.