Enable the continuous release (CR) repository on CentOS 7 & 8
Enable the continuous release (CR) repository on CentOS 7 & 8
Packages in cretin repositories are built against dependencies from the current RHEL release, and these packages are regularly imported from RHEL by the CentOS project.
Occasionally, however, the exact version of a specific package used to build a cretin RPM has yet to be imported into the base CentOS repositories. This can cause missing package errors similar to the following:
Problem: package snapd-2.42.1-1.el8.x86_64 requires snapd-selinux = 2.42.1-1.el8,
but none of the providers can be installed.
In such an event, rather than waiting for the repositories to add or update dependencies you can enable the continuous release (CR) repository. This repository contains packages destined for the next point release of CentOS and should satisfy any missing version mismatch dependencies.
CentOS 7
1. Install yum-utils as shown below:
yum install yum-utils
Now the package yum-utils will install the command yum-config-manager which will allow you to setup/enable repository.
2. Enable CR repository
Then, to enable the CR repository run:
yum-config-manager --enable cr
3. Verify CR repositories are enabled
yum repolist cr
4. Update System
Now you are ready to use CR repo. You can update all using:
yum update
CentOS 8
1. CR repository
Then, to enable the CR repository run:
dnf config-manager --enable cr
2. Verify CR repositories are enabled
yum repolist cr
3. Update System
Now you are ready to use CR repo. You can update all using:
dnf update