CentOS8のサポートが終了するので、CentOS Stream8へ移行してみました。その時の手順のメモです。
【前提】
・さくらインターネットのVPS(OS:CentOS8)
CentOS Stream8 への移行
「CentOS8 から CentOS Stream8 への移行手順」に従い、実行しました。
[root@^ ~]# dnf -y install centos-release-stream
メタデータの期限切れの最終確認: 1:36:35 時間前の 2021年08月08日 21時20分10秒 に 実施しました。
依存関係が解決しました。
================================================================================
パッケージ Arch バージョン Repo サイズ
================================================================================
インストール:
centos-release-stream x86_64 8.1-1.1911.0.7.el8 extras 11 k
トランザクションの概要
================================================================================
インストール 1 パッケージ
ダウンロードサイズの合計: 11 k
インストール後のサイズ: 6.6 k
パッケージのダウンロード:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64 197 kB/s | 11 kB 00:00
--------------------------------------------------------------------------------
合計 29 kB/s | 11 kB 00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
準備 : 1/1
インストール中 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
検証 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
インストール済み:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64
完了しました!
[root@^ ~]# dnf -y swap centos-{linux,stream}-repos
CentOS-Stream - AppStream 5.8 MB/s | 12 MB 00:02
CentOS-Stream - Base 6.6 MB/s | 8.8 MB 00:01
CentOS-Stream - Extras 30 kB/s | 14 kB 00:00
依存関係が解決しました。
================================================================================
パッケージ Arch バージョン リポジトリー サイズ
================================================================================
インストール:
centos-stream-release noarch 8.5-3.el8 Stream-BaseOS 22 k
置き換え centos-linux-release.noarch 8.4-1.2105.el8
置き換え centos-release-stream.x86_64 8.1-1.1911.0.7.el8
centos-stream-repos noarch 8-2.el8 extras 19 k
削除中:
centos-linux-repos noarch 8-2.el8 @BaseOS 26 k
トランザクションの概要
================================================================================
インストール 2 パッケージ
削除 1 パッケージ
ダウンロードサイズの合計: 40 k
パッケージのダウンロード:
(1/2): centos-stream-repos-8-2.el8.noarch.rpm 223 kB/s | 19 kB 00:00
(2/2): centos-stream-release-8.5-3.el8.noarch.r 215 kB/s | 22 kB 00:00
--------------------------------------------------------------------------------
合計 36 kB/s | 40 kB 00:01
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
準備 : 1/1
scriptletの実行中: centos-stream-release-8.5-3.el8.noarch 1/1
インストール中 : centos-stream-release-8.5-3.el8.noarch 1/5
インストール中 : centos-stream-repos-8-2.el8.noarch 2/5
廃止 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 3/5
廃止 : centos-linux-release-8.4-1.2105.el8.noarch 4/5
削除 : centos-linux-repos-8-2.el8.noarch 5/5
scriptletの実行中: centos-linux-repos-8-2.el8.noarch 5/5
検証 : centos-stream-repos-8-2.el8.noarch 1/5
検証 : centos-stream-release-8.5-3.el8.noarch 2/5
検証 : centos-linux-release-8.4-1.2105.el8.noarch 3/5
検証 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 4/5
検証 : centos-linux-repos-8-2.el8.noarch 5/5
インストール済み:
centos-stream-release-8.5-3.el8.noarch centos-stream-repos-8-2.el8.noarch
削除しました:
centos-linux-repos-8-2.el8.noarch
完了しました!
[root@^ ~]# dnf -y distro-sync
CentOS Stream 8 - AppStream 4.9 MB/s | 12 MB 00:02
CentOS Stream 8 - BaseOS 6.4 MB/s | 8.8 MB 00:01
CentOS Stream 8 - Extras 23 kB/s | 14 kB 00:00
依存関係が解決しました。
================================================================================
パッケージ Arch バージョン Repo サイズ
================================================================================
インストール:
kernel x86_64 4.18.0-326.el8 baseos 6.8 M
kernel-core x86_64 4.18.0-326.el8 baseos 37 M
kernel-devel x86_64 4.18.0-326.el8 baseos 19 M
kernel-modules x86_64 4.18.0-326.el8 baseos 29 M
アップグレード:
・・・・・
・・・・・(略)
・・・・・
完了しました!
OSバージョンを確認します。
[root@^ ~]# cat /etc/centos-release
CentOS Stream release 8
移行が完了しました。