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.
Also, there could be errors like the below:
Error:
Problem 1: cannot install the best update candidate for package lve-utils-6.4.3-1.el8.cloudlinux.x86_64
- nothing provides liblve >= 2.1-12 needed by lve-utils-6.4.10-2.el8.cloudlinux.x86_64
- nothing provides alt-python27-cllib >= 3.2.40 needed by lve-utils-6.4.10-2.el8.cloudlinux.x86_64
Problem 2: cannot install the best update candidate for package lve-wrappers-0.7.7-1.el8.cloudlinux.x86_64
- nothing provides liblve >= 2.1-12 needed by lve-wrappers-0.7.9-1.el8.cloudlinux.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
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 Legacy
- CloudLinux 8 OS Shared PRO
- CloudLinux 8 OS Solo
Solution
Try to update the cloudlinux-release
package using yum
:
dnf 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 dnf repolist output and that they have the current OS version. 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.