Upgrade From RLC Pro LTS 8.6 to RLC Pro LTS 8.10

Brady Dibble
Director, Product and Technical Program Management

Introduction

CIQ Long Term Support (LTS) for Rocky Linux 8.6, listed in Depot as lts-8.6, ends on December 31, 2026. After that date, CIQ no longer publishes security updates or bug fixes for 8.6.

RLC Pro LTS 8.10 (lts-8.10 in Depot) is the final Enterprise Linux 8 release, and CIQ supports it through May 31, 2032. This article upgrades an RLC Pro LTS 8.6 system to RLC Pro LTS 8.10 in place. The system stays on Enterprise Linux 8 and doesn't need a reinstall.

CIQ tested these steps on an x86_64 Rocky Linux 8.6 system with lts-8.6 enabled and fully updated, using depot client version 2.3.20.

Problem

A system that has received updates from the lts-8.6 repositories carries CIQ's 8.6 release packages (ciq-lts86-rocky-release, ciq-rocky86-repos and rocky-gpg-keys). These packages must be replaced with their 8.10 equivalents before the rest of the system can move to 8.10. If you only switch the Depot product and run a package sync, dnf stops with a dependency error.

Symptoms

If you already tried other upgrade steps, you might have seen one of these errors.

From dnf swap ciq-lts86-rocky-release rocky-release after disabling lts-8.6:

Error:
 Problem: The operation would result in removing the following protected packages: setup

From depot enable -y lts-8.10 on a system that still has the 8.6 release packages:

ERROR: none of ciq-lts810-rocky-release, rocky-release, or rlc-pro-release is installed; cannot determine this host's release packages.
ERROR: failed to enable product: post-enable script for product "lts-8.10" failed: exit status 1

From dnf distro-sync before the release packages are replaced:

 Problem 1: both package rlc-gpg-keys-8.10-1.0.el8_10_ciq.noarch and ciq-lts810-rocky-gpg-keys-8.10-4.9.el8_10.noarch obsolete rocky-gpg-keys < 9

None of these errors change installed packages. If you saw one, follow the resolution below from step 1. Skip step 2 when depot list already shows lts-8.6 as no.

Resolution

Before you start

Take a backup or snapshot of the system. You can't cleanly roll back package changes across LTS versions.

Check free space on /. The test system downloaded 973 MB, and its root file system grew by 1.4 GB.

Confirm the starting state:

sudo depot list | grep -E 'lts-8\.(6|10) |fips-8'
rpm -q ciq-lts86-rocky-release ciq-rocky86-repos rocky-gpg-keys

The depot list output shows lts-8.6 as yes, unless you already ran other upgrade steps. All three packages report as installed.

Stop and open a support ticket if depot list shows either FIPS 8.6 product as yes. This article covers systems without the FIPS products. Also open a ticket if any of the three packages reports is not installed.

Step 1: Update the depot client

sudo dnf upgrade depot

Step 3 uses the --no-post-scripts option, which CIQ tested with depot client version 2.3.20. Check your version with depot --version.

Step 2: Remove the LTS 8.6 repositories

sudo depot disable lts-8.6

Step 3: Add the LTS 8.10 repositories

sudo depot enable --no-post-scripts lts-8.10

The --no-post-scripts option adds the LTS 8.10 repositories without running the product setup script. That script runs in step 5, after the release packages are replaced.

Step 4: Replace the 8.6 release packages

sudo dnf upgrade ciq-lts86-rocky-release ciq-rocky86-repos rocky-gpg-keys --allowerasing --disablerepo='rlc-8.10-core*'

This installs ciq-lts810-rocky-release, ciq-lts810-rocky-repos and ciq-lts810-rocky-gpg-keys, which replace the three 8.6 packages. The --disablerepo option applies to this command only. Step 6 uses every LTS 8.10 repository.

Expect warnings that dnf saved new files under /etc/yum.repos.d/ with an .rpmnew suffix.

Step 5: Run the LTS 8.10 setup script

sudo depot enable -y lts-8.10

The output ends with:

Release packages already replaced with the LTS 8.10 equivalents; skipping.

Step 6: Sync all packages to LTS 8.10

sudo dnf distro-sync

Use distro-sync here. Some LTS 8.6 builds, such as curl, python3-libs and procps-ng, have release numbers that sort higher than their 8.10 builds. dnf upgrade would leave those 8.6 builds in place. distro-sync replaces them, so dnf lists them as downgrades. On the test system the transaction installed 12 packages, upgraded 297 and downgraded 10.

Step 7: Reboot

sudo reboot

Verify the upgrade

cat /etc/rocky-release
uname -r
sudo depot list | grep -E 'lts-8\.(6|10) '
sudo dnf distro-sync

Expected results:

  • /etc/rocky-release reads Rocky Linux release 8.10 (Green Obsidian).
  • The kernel version ends in el8_10_ciq.x86_64.
  • lts-8.10 shows yes and lts-8.6 shows no.
  • dnf distro-sync reports Nothing to do.

Notes

  • The 8.6 kernels stay installed as boot fallbacks. dnf removes the oldest kernels as new ones install, keeping three (installonly_limit=3 in /etc/dnf/dnf.conf).
  • The upgrade writes new versions of some configuration files as .rpmnew files and leaves your files in place. List them with sudo find /etc -name '*.rpmnew' and merge any changes you need. Depot manages the repository configuration, so leave the Rocky-*.repo files disabled.
  • The upgrade installs the LTS 8.10 kernel and makes it the default boot entry. If you use Secure Boot, run this procedure on a non-production Secure Boot system first.
  • Run sudo depot list at any time to see which products your account can use and which ones are enabled.

How to Create a Support Ticket

Migrate From Rocky Linux LTS to the Latest Rocky Linux Release

Accessing Mirrors for Rocky Linux and CIQ LTS Customers

CIQ Long Term Support