1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RHEL9.7から9.8へのリリースアップ作業纏め

1
Posted at

はじめに

ここしばらく個人環境で使用しているRHEL9.7環境では、普通にパッケージ更新もできていましたが、パッケージ更新チェックをしたところ、下記のエラーメッセージが出力されました。

[testuser@RHEL-Server ~]$ sudo dnf check-update
[sudo] testuser のパスワード:
サブスクリプション管理リポジトリーを更新しています。

このシステムは、エンタイトルメントーバーに登録されていますが、更新は受信していません。subscription-manager でサブスクリプションを割り当てることができます。

Errors during downloading metadata for repository 'rhel-9-for-x86_64-baseos-rpms':
  - Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml (IP: 23.206.60.92)
エラー: repo 'rhel-9-for-x86_64-baseos-rpms' のメタデータのダウンロードに失敗し ました : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

過去の経験上、RHELのリリースアップが行われるとこのエラーに遭遇することが多かったため、ググってみたところ、つい先日RHEL9.8が公開されたようです。今回の主要な機能拡張ポイントは、コマンドラインAIアシスタント(RHEL LightSpeed)を頻繁利用するヘビーユーザー向けに「goose」と呼ばれる新しいコマンドラインAIアシスタントを提供されているようです。また、既存のRHEL LightSpeedについても、コマンドラインから実行した際に白黒の文字だけの実行ではなく、カラー表示もされるように拡張されたようです。

そこで本日RHEL9.8へのリリースアップを行いましたので、備忘録を兼ねて纏めておきます。

更新作業

サブスクリプションの再登録

今回のエラーメッセージが出た場合には、サブスクリプションの再登録するしか対処方法がないので、まずは再登録を行います。

[root@RHEL-Server ~]# subscription-manager register --force
登録の解除中: subscription.rhsm.redhat.com:443/subscription
UUID が 8d18ab80-bb45-4328-b021-1014abf8074b のシステムの登録は解除されました
ローカルデータがすべて削除されました
登録中: subscription.rhsm.redhat.com:443/subscription
ユーザー名: xxxxxxxxxxxxxx
パスワード:
このシステムは、次の ID で登録されました: d7c7f105-d3bf-4675-904d-e85e8d4cceff
登録したシステム名: RHEL-Server

この後、現状のサブスクリプションのリスト、及び、最新のリリースリストを確認します。

[root@RHEL-Server ~]# subscription-manager list
+-------------------------------------------+
    インストール済み製品のステータス
+-------------------------------------------+
製品名:           Red Hat Enterprise Linux for x86_64
製品 ID:          479
バージョン:       9.7
アーキテクチャー: x86_64

[root@RHEL-Server ~]# subscription-manager release --list
+-------------------------------------------+
          利用可能なリリース
+-------------------------------------------+
9
9.0
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8

一番下に「9.8」が表示されていることがわかります。

パsケージの更新

「dnf check-update」コマンドで更新パッケージを確認します。

[root@RHEL-Server ~]# dnf check-update
サブスクリプション管理リポジトリーを更新しています。
Red Hat Enterprise Linux 9 for x86_64 - BaseOS   31 MB/s | 117 MB     00:03
Red Hat Enterprise Linux 9 for x86_64 - AppStre  32 MB/s |  95 MB     00:02

NetworkManager.x86_64        1:1.54.3-2.el9     rhel-9-for-x86_64-baseos-rpms
NetworkManager-adsl.x86_64   1:1.54.3-2.el9     rhel-9-for-x86_64-baseos-rpms
NetworkManager-bluetooth.x86_64
                             1:1.54.3-2.el9     rhel-9-for-x86_64-baseos-rpms
NetworkManager-config-server.noarch
                             1:1.54.3-2.el9     rhel-9-for-x86_64-baseos-rpms
NetworkManager-libnm.x86_64  1:1.54.3-2.el9     rhel-9-for-x86_64-baseos-rpms
NetworkManager-libreswan.x86_64
                             1.2.30-1.el9       rhel-9-for-x86_64-appstream-rpms
:
:
パッケージの廃止
grub2-tools.x86_64           1:2.06-126.el9_8   rhel-9-for-x86_64-baseos-rpms
    grub2-tools.x86_64       1:2.06-114.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
grub2-tools-efi.x86_64       1:2.06-126.el9_8   rhel-9-for-x86_64-baseos-rpms
    grub2-tools.x86_64       1:2.06-114.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
grub2-tools-extra.x86_64     1:2.06-126.el9_8   rhel-9-for-x86_64-baseos-rpms
    grub2-tools.x86_64       1:2.06-114.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
grub2-tools-minimal.x86_64   1:2.06-126.el9_8   rhel-9-for-x86_64-baseos-rpms
    grub2-tools.x86_64       1:2.06-114.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
mesa-compat-libxatracker.i686
                             25.0.7-2.el9       rhel-9-for-x86_64-appstream-rpms
    mesa-libxatracker.x86_64 25.0.7-5.el9_7     @rhel-9-for-x86_64-appstream-rpms
mesa-compat-libxatracker.x86_64
                             25.0.7-2.el9       rhel-9-for-x86_64-appstream-rpms
    mesa-libxatracker.x86_64 25.0.7-5.el9_7     @rhel-9-for-x86_64-appstream-rpms
p11-kit-client.x86_64        0.26.2-1.el9       rhel-9-for-x86_64-baseos-rpms
    p11-kit-server.x86_64    0.25.3-3.el9_5     @rhel-9-for-x86_64-appstream-rpms
p11-kit-server.x86_64        0.26.2-1.el9       rhel-9-for-x86_64-appstream-rpms
    p11-kit-server.x86_64    0.25.3-3.el9_5     @rhel-9-for-x86_64-appstream-rpms

「9.8」のパッケージが適用されることにより、「9.7」の一部のパッケージが廃止されます。後は「dnf update」コマンドを実行して、パッケージを更新します。

パッケージ更新後の確認

サブスクリプションのリストを確認すると、バージョンが「9.8」に更新されたことが確認できます。

[root@RHEL-Server ~]# subscription-manager list
+-------------------------------------------+
    インストール済み製品のステータス
+-------------------------------------------+
製品名:           Red Hat Enterprise Linux for x86_64
製品 ID:          479
バージョン:       9.8
アーキテクチャー: x86_64

「/etc/redhat-release」の中身もこれに伴い、9.8に変わっています。

[root@RHEL-Server ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.8 (Plow)

リブートして、Kernelのバージョンを確認します。

[testuser@RHEL-Server ~]$ uname -a
Linux RHEL-Server 5.14.0-687.10.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 18 15:13:25 EDT 2026 x86_64 x86_64 x86_64 GNU/Linux

RHEL LightSpeedの動きが変?

RHEL 9.8の新機能と変更点をサマリーしてくれるように、下記のように質問を投げてみました。

[testuser@RHEL-Server ~]$ c "Please tell me the new function and change summary for RHEL V9.8."

RHEL LightSpeedにはコールがいっているようですが、何故か赤字で下記のエラーが出力されました。(Qiitaの表記上は白文字になってますが、実際には赤字です。)

⁻₊+ Asking RHEL Lightspeed...
🙁 Bad request: The server couldn't understand the request. Invalid identity data

私の質問の仕方が悪かったのかと思い、以前も照会してみたことのある、下記の簡単な照会をしてみました。

[testuser@RHEL-Server ~]$ c "Can RHEL9 run on IBM Cloud?"

何と、これについても赤字でエラーが返されてしまいました。。。

⁺₊− Asking RHEL Lightspeed...
🙁 Bad request: The server couldn't understand the request. Invalid identity data

AIアシスタント絡みの機能拡張が今回のリリースアップのポイントらしいですが、変更に伴い何かしらのサイドエフェクトが発生している可能性があります。

おわりに

今回は、RHEL V9.7からV9.8へのリリースアップ作業メモを備忘録代わりに纏めました。コマンドラインAIアシスタント(RHEL LightSpeed)がカラー表示になって、どれくらい見やすくなったのかと期待していたのですが、しばらくは使えなさそうです。忘れかけたころに再度試してみようと思います。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?