Issue
If you can't update some packages, the latest version isn't available, however, the packages are released, for example, you can't go over the 4.18.0-305.19.1.lve.el8.x86_64, but the 4.18.0-348.23.1.lve.el8.x86_64 version was released to the stable.
Check the os-release file, if it contains the following:
# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
VERSION="8 (Core)" is incorrect OS version.
Or there is an outdated OS version like 8.2
Environment
- CloudLinux 8 OS Shared
- CloudLinux 8 OS Shared PRO
- CloudLinux 8 OS Solo
Solution
Try to update the cloudlinux-release
package using yum
:
yum update cloudlinux-release
Or using rpm
:
rpm -Uvh https://repo.cloudlinux.com/cloudlinux/8.7/BaseOS/x86_64/os/Packages/cloudlinux-release-8.7-2.el8.x86_64.rpm --force
If the package has the latest version, but the OS version is still outdated or incorrect, try to reinstall the cloudlinux-release
package:
rpm -e --justdb --nodeps cloudlinux-release
rpm -ivh https://repo.cloudlinux.com/cloudlinux/8.7/BaseOS/x86_64/os/Packages/cloudlinux-release-8.6-1.el8.x86_64.rpm
mv /etc/yum.repos.d/cloudlinux.repo.rpmnew /etc/yum.repos.d/cloudlinux.repo
mv /etc/os-release.rpmnew /etc/os-release
Also, make sure that almalinux-appstream and almalinux-baseos repositories are enabled in the yum repolist output. They are necessary for CloudLinux OS 8 updating.
Cause
Incorrect cloudlinux-release
package that contains the wrong configuration.
Comments
0 comments
Please sign in to leave a comment.