Updating to 5.1 shows errors and fails

In some instances the update from 4.9.5 el8 to 5.1 fails with the below error:

*> No available modular metadata for modular package 'swtpm-tools-0.7.0-4.20211109gitb79fd91.module+el8.10.0+1835+43f01cbb.x86_64', it cannot be installed on the system*
*> *
*> The downloaded packages were saved in cache until the next successful transaction.*
*> *
*> You can remove cached packages by executing 'yum clean packages'.*
*> *
*> Error: No available modular metadata for modular package*

To resolve the issue follow these steps:

  1. Log into the VA terminal via the console or SSH
  2. Add the following to /etc/yum.repos.d/cristie.repo and save

module_hotfixes=1

The /etc/yum.repos.d/cristie.repo file should now look like so:

[cristie]
name=Cristie
baseurl=https://source.cristie.com/appliance/v5
gpgcheck=0
metadata_expire=1m
enabled=1
module_hotfixes=1

If you encounter an error that looks like the following:

Problem: package glibc-langpack-en-2.28-251.el8_10.5.x86_64 from cristie requires glibc-common = 2.28-251.el8_10.5, but none of the providers can be installed
- package cristie-va-base-release-5.1.1-2413.ga.el8.noarch from cristie requires glibc-langpack-en, but none of the providers can be installed
- cannot install both glibc-common-2.28-251.el8_10.5.x86_64 from cristie and glibc-common-2.28-251.el8_10.11.x86_64 from @System
- cannot install the best update candidate for package cristie-va-base-release-4.9.5-2330.ga.el8.noarch
- problem with installed package glibc-common-2.28-251.el8_10.11.x86_64
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Then you are missing a required package on the VA. It can be installed by executing the following command:

yum install https://dl.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/Packages/g/glibc-langpack-en-2.28-251.el8_10.13.x86_64.rpm -y

Once the above issues are resolved, run the below commands to clean and update:

yum clean all
yum update -y

After the update has finished run the below command then log into the GUI

restart_services