CentOS LinuxからAlmaLinux OSへの移行

出たみたいなので確認

[AlmaLinux OS Stable Release is live\!](https://almalinux.org/blog/almalinux-os-stable-release-is-live/)
[AlmaLinux/almalinux\-deploy: EL to AlmaLinux migration tool\.](https://github.com/AlmaLinux/almalinux-deploy)

## 環境

Flatcar Container Linux上で起動したCentOS Linux 8.3

## Log

```shell-session
# cat /etc/redhat-release
CentOS Linux release 8.3.2011

# curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12111  100 12111    0     0  38084      0 --:--:-- --:--:-- --:--:-- 38084

# bash almalinux-deploy.sh
Check root privileges                                                 OK
dmesg: read kernel buffer failed: Operation not permitted
Check Secure Boot disabled                                            OK
Check centos-8.x86_64 is supported                                    OK
Download RPM-GPG-KEY-AlmaLinux                                        OK
Import RPM-GPG-KEY-AlmaLinux to RPM DB                                OK
Download almalinux-release package                                    OK
Verify almalinux-release package                                      OK
warning: /etc/dnf/vars/infra saved as /etc/dnf/vars/infra.rpmsave
Remove centos-linux-release package                                   OK
Remove centos-gpg-keys package                                        OK
Remove centos-linux-repos package                                     OK
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:almalinux-release-8.3-4.el8      ################################# [100%]
Install almalinux-release package                                     OK
Failed to set locale, defaulting to C.UTF-8
determining the fastest mirror (45 hosts).. done.                           ] ---  B/s |   0  B     --:-- ETA
AlmaLinux 8 - BaseOS                                                          1.7 MB/s | 3.5 MB     00:02
AlmaLinux 8 - AppStream                                                       4.1 MB/s | 7.1 MB     00:01
AlmaLinux 8 - PowerTools                                                      2.9 MB/s | 2.1 MB     00:00
AlmaLinux 8 - Extras                                                           17 kB/s | 3.6 kB     00:00
Dependencies resolved.
==============================================================================================================
 Package                           Architecture Version                                 Repository       Size
==============================================================================================================
Upgrading:

...略

Complete!
Run dnf distro-sync -y                                                OK

# cat /etc/redhat-release
AlmaLinux release 8.3 (Purple Manul)
```

## AppStream 確認

```shell-session
# yum module list
Last metadata expiration check: 0:08:15 ago on Wed 31 Mar 2021 10:27:59 AM UTC.
AlmaLinux 8 - AppStream
Name                 Stream     Profiles Summary
389-ds               1.4                 389 Directory Server (base)
ant                  1.10 [d]   common [ Java build tool
                                d]
container-tools      rhel8 [d]  common [ Most recent (rolling) versions of podman, buildah, skopeo, runc, conm
                                d]       on, runc, conmon, CRIU, Udica, etc as well as dependencies such as co
                                         ntainer-selinux built and tested together, and updated as frequently
                                         as every 12 weeks.
container-tools      1.0        common [ Stable versions of podman 1.0, buildah 1.5, skopeo 0.1, runc, conmon,
                                d]        CRIU, Udica, etc as well as dependencies such as container-selinux b
                                         uilt and tested together, and supported for 24 months.
container-tools      2.0        common [ Stable versions of podman 1.6, buildah 1.11, skopeo 0.1, runc, conmon
                                d]       , etc as well as dependencies such as container-selinux built and tes
                                         ted together, and supported as documented on the Application Stream l
                                         ifecycle page.
eclipse              rhel8      java     An open, extensible IDE and application platform
freeradius           3.0 [d]    server [ High-performance and highly configurable free RADIUS server
                                d]
gimp                 2.8 [d]    common [ gimp module
                                d], deve
                                l
go-toolset           rhel8 [d]  common [ Go
                                d]
httpd                2.4 [d]    common [ Apache HTTP Server
                                d], deve
                                l, minim
                                al
idm                  DL1        adtrust, The Red Hat Enterprise Linux Identity Management system module
                                 client,
                                 common
                                [d], dns
                                , server
idm                  client [d] common [ RHEL IdM long term support client module
                                d]
inkscape             0.92.3 [d] common [ Vector-based drawing program using SVG
                                d]
javapackages-runtime 201801 [d] common [ Basic runtime utilities to support Java applications
                                d]
jmc                  rhel8 [d]  common [ Java Mission Control is a profiling and diagnostics tool for the Hots
                                d], core pot JVM
libselinux-python    2.8        common   Python 2 bindings for libselinux
llvm-toolset         rhel8 [d]  common [ LLVM
                                d]
mailman              2.1 [d]    common [ Electronic mail discussion and e-newsletter lists managing software
                                d]
mariadb              10.3 [d]   client,  MariaDB Module
                                galera,
                                server [
                                d]
maven                3.5 [d]    common [ Java project management and project comprehension tool
                                d]
maven                3.6        common [ Java project management and project comprehension tool
                                d]
mercurial            4.8 [d]    common [ Mercurial -- a distributed SCM
                                d]
mod_auth_openidc     2.3                 Apache module suporting OpenID Connect authentication
mysql                8.0 [d]    client,  MySQL Module
                                server [
                                d]
nginx                1.14 [d]   common [ nginx webserver
                                d]
nginx                1.16       common [ nginx webserver
                                d]
nginx                1.18       common [ nginx webserver
                                d]
nodejs               10 [d]     common [ Javascript runtime
                                d], deve
                                lopment,
                                 minimal
                                , s2i
nodejs               12         common [ Javascript runtime
                                d], deve
                                lopment,
                                 minimal
                                , s2i
nodejs               14         common [ Javascript runtime
                                d], deve
                                lopment,
                                 minimal
                                , s2i
parfait              0.5        common   Parfait Module
perl                 5.24       common [ Practical Extraction and Report Language
                                d], mini
                                mal
perl                 5.26 [d]   common [ Practical Extraction and Report Language
                                d], mini
                                mal
perl                 5.30       common [ Practical Extraction and Report Language
                                d], mini
                                mal
perl-App-cpanminus   1.7044 [d] common [ Get, unpack, build and install CPAN modules
                                d]
perl-DBD-MySQL       4.046 [d]  common [ A MySQL interface for Perl
                                d]
perl-DBD-Pg          3.7 [d]    common [ A PostgreSQL interface for Perl
                                d]
perl-DBD-SQLite      1.58 [d]   common [ SQLite DBI driver
                                d]
perl-DBI             1.641 [d]  common [ A database access API for Perl
                                d]
perl-FCGI            0.78 [d]   common [ FastCGI Perl bindings
                                d]
perl-IO-Socket-SSL   2.066 [d]  common [ Perl library for transparent TLS
                                d]
perl-YAML            1.24 [d]   common [ Perl parser for YAML
                                d]
perl-libwww-perl     6.34 [d]   common [ A Perl interface to the World-Wide Web
                                d]
php                  7.2 [d]    common [ PHP scripting language
                                d], deve
                                l, minim
                                al
php                  7.3        common [ PHP scripting language
                                d], deve
                                l, minim
                                al
php                  7.4        common [ PHP scripting language
                                d], deve
                                l, minim
                                al
pki-core             10.6                PKI Core module for PKI 10.6 or later
pki-deps             10.6                PKI Dependencies module for PKI 10.6 or later
postgresql           9.6        client,  PostgreSQL server and client module
                                server [
                                d]
postgresql           10 [d]     client,  PostgreSQL server and client module
                                server [
                                d]
postgresql           12         client,  PostgreSQL server and client module
                                server [
                                d]
python27             2.7 [d]    common [ Python programming language, version 2.7
                                d]
python36             3.6 [d]    build, c Python programming language, version 3.6
                                ommon [d
                                ]
python38             3.8 [d]    build, c Python programming language, version 3.8
                                ommon [d
                                ]
redis                5 [d]      common [ Redis persistent key-value database
                                d]
rhn-tools            1.0 [d]    common [ Red Hat Satellite 5 tools for RHEL
                                d]
ruby                 2.5 [d]    common [ An interpreter of object-oriented scripting language
                                d]
ruby                 2.6        common [ An interpreter of object-oriented scripting language
                                d]
ruby                 2.7        common [ An interpreter of object-oriented scripting language
                                d]
rust-toolset         rhel8 [d]  common [ Rust
                                d]
satellite-5-client   1.0 [d]    common [ Red Hat Satellite 5 client packages
                                d], gui
scala                2.10 [d]   common [ A hybrid functional/object-oriented language for the JVM
                                d]
squid                4 [d]      common [ Squid - Optimising Web Delivery
                                d]
subversion           1.10 [d]   common [ Apache Subversion
                                d], serv
                                er
swig                 3.0 [d]    common [ Connects C/C++/Objective C to some high-level programming languages
                                d], comp
                                lete
varnish              6          common   Varnish HTTP cache
virt                 rhel [d]   common [ Virtualization module
                                d]

AlmaLinux 8 - PowerTools
Name                 Stream     Profiles Summary
javapackages-tools   201801     common   Tools and macros for Java packaging support
mariadb-devel        10.3                MariaDB Module
python38-devel       3.8                 Python programming language, version 3.8
virt-devel           rhel                Virtualization module

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
```