Problems Installing RHEL 9 for Real Time

Posted on

I am attempting this procedure:
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_for_real_time/9/html/installing_rhel_9_for_real_time/assembly_installing-rhel-for-real-time_installing-rhel-9-for-real-time

First I registered my server:

$ sudo subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: XXXXXXXX
Password: XXXXXXXX
The system has been registered with ID: XXXXXXXX
The registered system name is: XXXXXXXX

I checked the status (which looks abnormal)

$ sudo  subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

I tried enabling the repo:

$ sudo subscription-manager repos --enable rhel-9-for-x86_64-rt-rpms
Error: 'rhel-9-for-x86_64-rt-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

Next, I tried to install the ISO file manually.

First, I downloaded rhel-rt-9.4-x86_64-dvd.iso from:
https://access.redhat.com/downloads/content/287/ver=/rhel---9/9.4/x86_64/product-software

Then extracted rpms:

$ 7z x rhel-rt-9.4-x86_64-dvd.iso

These commands worked:

sudo yum install tuna tuned
sudo rpm --import RPM-GPG-KEY-redhat-release 
sudo rpm --import RPM-GPG-KEY-redhat-beta 
sudo rpm -i ./Packages/tuned-profiles-realtime-2.22.1-1.el9.noarch.rpm
sudo rpm -i ./Packages/realtime-setup-2.2-6.el9.x86_64.rpm
sudo rpm -i ./Packages/rteval-loads-1.6-4.el9.noarch.rpm
sudo yum localinstall ./Packages/rteval-3.7-7.el9.noarch.rpm

These commands failed due to common missing dependency:

sudo yum localinstall ./Packages/kernel-rt-debug-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-debug-core-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-debug-devel-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-debug-modules-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-debug-modules-core-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-debug-modules-extra-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-core-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-devel-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-modules-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-modules-core-5.14.0-427.13.1.el9_4.x86_64.rpm
sudo yum localinstall ./Packages/kernel-rt-modules-extra-5.14.0-427.13.1.el9_4.x86_64.rpm

For example:

$ sudo yum localinstall ./Packages/kernel-rt-modules-core-5.14.0-427.13.1.el9_4.x86_64.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 2:49:07 ago on Fri 27 Sep 2024 11:23:26 PM CEST.
Error:
 Problem: conflicting requests
  - nothing provides kernel-uname-r = 5.14.0-427.13.1.el9_4.x86_64+rt needed by kernel-rt-modules-core-5.14.0-427.13.1.el9_4.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I tried to install the missing dependency:

$ sudo yum install kernel-5.14.0-427.13.1.el9_4.x86_64+rt
Updating Subscription Management repositories.
Last metadata expiration check: 2:54:28 ago on Fri 27 Sep 2024 11:23:26 PM CEST.
No match for argument: kernel-5.14.0-427.13.1.el9_4.x86_64+rt
Error: Unable to find a match: kernel-5.14.0-427.13.1.el9_4.x86_64+rt

I also tried to install the non-real time version:

$ sudo yum install kernel-5.14.0-427.13.1.el9_4.x86_64
Updating Subscription Management repositories.
Last metadata expiration check: 2:55:47 ago on Fri 27 Sep 2024 11:23:26 PM CEST.
No match for argument: kernel-5.14.0-427.13.1.el9_4.x86_64
Error: Unable to find a match: kernel-5.14.0-427.13.1.el9_4.x86_64

My system is currently running:

$ uname -a
Linux oe22-s3 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 14 16:15:25 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Responses