Issue
How to manually upgrade CloudLinux from version 8.4 to 8.5?
Environment
CloudLinux
Solution
- Install the updated cloudlinux-release package.
# dnf install -y https://repo.cloudlinux.com/cloudlinux/8.5/cloudlinux-release-latest-8.rpm
- Make sure that the /etc/yum.repos.d/cloudlinux.repo file is successfully updated. Now, it should contain only the mentioned repos:
-
-
- cloudlinux-updates-testing
- cloudlinux-updates-testing-source
- cloudlinux-updates-testing-debuginfo
- cloudlinux-x86_64-server-8-source
- cloudlinux-x86_64-server-8-debuginfo
-
If there are more repositories found, then you might have edited this file before. That means it wasn’t updated. Check if the /etc/yum.repos.d/cloudlinux.repo.rpmnew file is present and then rename it to /etc/yum.repos.d/cloudlinux.repo:
# mv /etc/yum.repos.d/cloudlinux.repo.rpmnew /etc/yum.repos.d/cloudlinux.repo
- Import the AlmaLinux GPG key (or accept it later during the dnf update step)
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
- Clean dnf cache
# dnf clean all
- Make sure your system has a subscription to CLN and the cloudlinux-x86_64-server-8 channel is available and contains many packages.
# dnf repoquery --repo cloudlinux-x86_64-server-8
- Now, your system is ready for the update.
# dnf update
Useful links
https://blog.cloudlinux.com/cloudlinux-os-8.5-gradual-rollout.
Comments
0 comments
Please sign in to leave a comment.