convert2rhel
CentOSのパッケージを同バージョンのRHELとして提供されるパッケージへ入れ替えるツール。ツール自体(とツールを使った変換作業)はRed Hatサポート対象外だが、変換後のRHELは、サポート対象となる。
- How to convert from CentOS or Oracle Linux to RHEL
- 日本語ドキュメント:CentOS または Oracle Linux から RHEL に変換する方法
日本語版は、若干更新タイミングにずれがあるようなので注意
2021/4/2 追記
特定の変換パスについては、Red Hatのサポートが受けられるようになったようです。
The conversion from CentOS Linux and Oracle Linux to RHEL on OS 7 and 8 is supported by Red Hat. For more information, see Converting from an RPM-based Linux distribution to RHEL.
コンバート
上記手順に沿って、簡易的 にやってみた。
準備
- 移行元: CentOS8
# cat redhat-release
CentOS Linux release 8.3.2011
- 移行先RHEL: RHEL8のリポジトリとしてISOファイル(rhel-8.3-x86_64-dvd.iso)をRed Hatのサイトからダウンロード
- RHELのサブスクリプション要
手順
- 事前バックアップ
- ドキュメントでも推奨されているので、CentOSを最新化する
# yum update -y
# shutdown -r now
- 変換前パッケージ一覧
# yum list --installed
インストール済みパッケージ
NetworkManager.x86_64 1:1.26.0-12.el8_3 @baseos
NetworkManager-libnm.x86_64 1:1.26.0-12.el8_3 @baseos
NetworkManager-team.x86_64 1:1.26.0-12.el8_3 @baseos
NetworkManager-tui.x86_64 1:1.26.0-12.el8_3 @baseos
acl.x86_64 2.2.53-1.el8 @anaconda
audit.x86_64 3.0-0.17.20191104git1c2f876.el8 @anaconda
audit-libs.x86_64 3.0-0.17.20191104git1c2f876.el8 @anaconda
authselect.x86_64 1.2.1-2.el8 @anaconda
authselect-libs.x86_64 1.2.1-2.el8 @anaconda
basesystem.noarch 11-5.el8 @anaconda
bash.x86_64 4.4.19-12.el8 @anaconda
bind-export-libs.x86_64 32:9.11.20-5.el8 @anaconda
biosdevname.x86_64 0.7.3-2.el8 @anaconda
brotli.x86_64 1.0.6-2.el8 @anaconda
bzip2-libs.x86_64 1.0.6-26.el8 @anaconda
c-ares.x86_64 1.13.0-5.el8 @anaconda
ca-certificates.noarch 2020.2.41-80.0.el8_2 @anaconda
centos-gpg-keys.noarch 1:8-2.el8 @anaconda
centos-linux-release.noarch 8.3-1.2011.el8 @anaconda
centos-linux-repos.noarch 8-2.el8 @anaconda
chkconfig.x86_64 1.13-2.el8 @anaconda
chrony.x86_64 3.5-1.el8 @anaconda
coreutils.x86_64 8.30-8.el8 @anaconda
coreutils-common.x86_64 8.30-8.el8 @anaconda
cpio.x86_64 2.12-8.el8 @anaconda
cracklib.x86_64 2.9.6-15.el8 @anaconda
cracklib-dicts.x86_64 2.9.6-15.el8 @anaconda
cronie.x86_64 1.5.2-4.el8 @anaconda
cronie-anacron.x86_64 1.5.2-4.el8 @anaconda
crontabs.noarch 1.11-16.20150630git.el8 @anaconda
crypto-policies.noarch 20200713-1.git51d1222.el8 @anaconda
crypto-policies-scripts.noarch 20200713-1.git51d1222.el8 @AppStream
cryptsetup-libs.x86_64 2.3.3-2.el8 @anaconda
curl.x86_64 7.61.1-14.el8_3.1 @baseos
cyrus-sasl-lib.x86_64 2.1.27-5.el8 @anaconda
dbus.x86_64 1:1.12.8-11.el8 @anaconda
dbus-common.noarch 1:1.12.8-11.el8 @anaconda
dbus-daemon.x86_64 1:1.12.8-11.el8 @anaconda
dbus-glib.x86_64 0.110-2.el8 @anaconda
dbus-libs.x86_64 1:1.12.8-11.el8 @anaconda
dbus-tools.x86_64 1:1.12.8-11.el8 @anaconda
device-mapper.x86_64 8:1.02.171-5.el8 @anaconda
device-mapper-event.x86_64 8:1.02.171-5.el8 @anaconda
device-mapper-event-libs.x86_64 8:1.02.171-5.el8 @anaconda
device-mapper-libs.x86_64 8:1.02.171-5.el8 @anaconda
device-mapper-persistent-data.x86_64 0.8.5-4.el8 @anaconda
dhcp-client.x86_64 12:4.3.6-41.el8 @anaconda
dhcp-common.noarch 12:4.3.6-41.el8 @anaconda
dhcp-libs.x86_64 12:4.3.6-41.el8 @anaconda
diffutils.x86_64 3.6-6.el8 @anaconda
dmidecode.x86_64 1:3.2-6.el8 @anaconda
dnf.noarch 4.2.23-4.el8 @anaconda
dnf-data.noarch 4.2.23-4.el8 @anaconda
dnf-plugins-core.noarch 4.0.17-5.el8 @anaconda
dracut.x86_64 049-95.git20200804.el8 @anaconda
dracut-config-rescue.x86_64 049-95.git20200804.el8 @anaconda
dracut-network.x86_64 049-95.git20200804.el8 @anaconda
dracut-squash.x86_64 049-95.git20200804.el8 @anaconda
e2fsprogs.x86_64 1.45.6-1.el8 @anaconda
e2fsprogs-libs.x86_64 1.45.6-1.el8 @anaconda
elfutils-debuginfod-client.x86_64 0.180-1.el8 @anaconda
elfutils-default-yama-scope.noarch 0.180-1.el8 @anaconda
elfutils-libelf.x86_64 0.180-1.el8 @anaconda
elfutils-libs.x86_64 0.180-1.el8 @anaconda
ethtool.x86_64 2:5.0-2.el8 @anaconda
expat.x86_64 2.2.5-4.el8 @anaconda
file.x86_64 5.33-16.el8 @anaconda
file-libs.x86_64 5.33-16.el8 @anaconda
filesystem.x86_64 3.8-3.el8 @anaconda
findutils.x86_64 1:4.6.0-20.el8 @anaconda
firewalld.noarch 0.8.2-2.el8 @anaconda
firewalld-filesystem.noarch 0.8.2-2.el8 @anaconda
freetype.x86_64 2.9.1-4.el8_3.1 @baseos
fuse-libs.x86_64 2.9.7-12.el8 @anaconda
gawk.x86_64 4.2.1-1.el8 @anaconda
gdbm.x86_64 1:1.18-1.el8 @anaconda
gdbm-libs.x86_64 1:1.18-1.el8 @anaconda
geolite2-city.noarch 20180605-1.el8 @AppStream
geolite2-country.noarch 20180605-1.el8 @AppStream
gettext.x86_64 0.19.8.1-17.el8 @anaconda
gettext-libs.x86_64 0.19.8.1-17.el8 @anaconda
glib2.x86_64 2.56.4-8.el8 @anaconda
glibc.x86_64 2.28-127.el8 @anaconda
glibc-common.x86_64 2.28-127.el8 @anaconda
glibc-langpack-ja.x86_64 2.28-127.el8 @anaconda
gmp.x86_64 1:6.1.2-10.el8 @anaconda
gnupg2.x86_64 2.2.20-2.el8 @anaconda
gnupg2-smime.x86_64 2.2.20-2.el8 @anaconda
gnutls.x86_64 3.6.14-7.el8_3 @baseos
gobject-introspection.x86_64 1.56.1-1.el8 @anaconda
gpgme.x86_64 1.13.1-3.el8 @anaconda
grep.x86_64 3.1-6.el8 @anaconda
groff-base.x86_64 1.22.3-18.el8 @anaconda
grub2-common.noarch 1:2.02-90.el8 @anaconda
grub2-pc.x86_64 1:2.02-90.el8 @anaconda
grub2-pc-modules.noarch 1:2.02-90.el8 @anaconda
grub2-tools.x86_64 1:2.02-90.el8 @anaconda
grub2-tools-extra.x86_64 1:2.02-90.el8 @anaconda
grub2-tools-minimal.x86_64 1:2.02-90.el8 @anaconda
grubby.x86_64 8.40-41.el8 @anaconda
gzip.x86_64 1.9-9.el8 @anaconda
hardlink.x86_64 1:1.3-6.el8 @anaconda
hdparm.x86_64 9.54-2.el8 @anaconda
hostname.x86_64 3.20-6.el8 @anaconda
hwdata.noarch 0.314-8.6.el8 @anaconda
ima-evm-utils.x86_64 1.1-5.el8 @anaconda
info.x86_64 6.5-6.el8 @anaconda
initscripts.x86_64 10.00.9-1.el8 @anaconda
ipcalc.x86_64 0.2.4-4.el8 @anaconda
iproute.x86_64 5.3.0-5.el8 @anaconda
iprutils.x86_64 2.4.19-1.el8 @anaconda
ipset.x86_64 7.1-1.el8 @anaconda
ipset-libs.x86_64 7.1-1.el8 @anaconda
iptables.x86_64 1.8.4-15.el8_3.3 @baseos
iptables-ebtables.x86_64 1.8.4-15.el8_3.3 @baseos
iptables-libs.x86_64 1.8.4-15.el8_3.3 @baseos
iputils.x86_64 20180629-2.el8 @anaconda
irqbalance.x86_64 2:1.4.0-4.el8 @anaconda
iwl100-firmware.noarch 39.31.5.1-101.el8_3.1 @baseos
iwl1000-firmware.noarch 1:39.31.5.1-101.el8_3.1 @baseos
iwl105-firmware.noarch 18.168.6.1-101.el8_3.1 @baseos
iwl135-firmware.noarch 18.168.6.1-101.el8_3.1 @baseos
iwl2000-firmware.noarch 18.168.6.1-101.el8_3.1 @baseos
iwl2030-firmware.noarch 18.168.6.1-101.el8_3.1 @baseos
iwl3160-firmware.noarch 1:25.30.13.0-101.el8_3.1 @baseos
iwl5000-firmware.noarch 8.83.5.1_1-101.el8_3.1 @baseos
iwl5150-firmware.noarch 8.24.2.2-101.el8_3.1 @baseos
iwl6000-firmware.noarch 9.221.4.1-101.el8_3.1 @baseos
iwl6000g2a-firmware.noarch 18.168.6.1-101.el8_3.1 @baseos
iwl6050-firmware.noarch 41.28.5.1-101.el8_3.1 @baseos
iwl7260-firmware.noarch 1:25.30.13.0-101.el8_3.1 @baseos
jansson.x86_64 2.11-3.el8 @anaconda
json-c.x86_64 0.13.1-0.2.el8 @anaconda
kbd.x86_64 2.0.4-10.el8 @anaconda
kbd-legacy.noarch 2.0.4-10.el8 @anaconda
kbd-misc.noarch 2.0.4-10.el8 @anaconda
kernel.x86_64 4.18.0-240.el8 @anaconda
kernel.x86_64 4.18.0-240.10.1.el8_3 @baseos
kernel-core.x86_64 4.18.0-240.el8 @anaconda
kernel-core.x86_64 4.18.0-240.10.1.el8_3 @baseos
kernel-modules.x86_64 4.18.0-240.el8 @anaconda
kernel-modules.x86_64 4.18.0-240.10.1.el8_3 @baseos
kernel-tools.x86_64 4.18.0-240.10.1.el8_3 @baseos
kernel-tools-libs.x86_64 4.18.0-240.10.1.el8_3 @baseos
kexec-tools.x86_64 2.0.20-34.el8_3.1 @baseos
keyutils-libs.x86_64 1.5.10-6.el8 @anaconda
kmod.x86_64 25-16.el8 @anaconda
kmod-libs.x86_64 25-16.el8 @anaconda
kpartx.x86_64 0.8.4-5.el8 @anaconda
krb5-libs.x86_64 1.18.2-5.el8 @anaconda
langpacks-ja.noarch 1.0-12.el8 @AppStream
less.x86_64 530-1.el8 @anaconda
libacl.x86_64 2.2.53-1.el8 @anaconda
libaio.x86_64 0.3.112-1.el8 @anaconda
libarchive.x86_64 3.3.2-9.el8 @anaconda
libassuan.x86_64 2.5.1-3.el8 @anaconda
libattr.x86_64 2.4.48-3.el8 @anaconda
libbasicobjects.x86_64 0.1.1-39.el8 @anaconda
libblkid.x86_64 2.32.1-24.el8 @anaconda
libcap.x86_64 2.26-4.el8 @anaconda
libcap-ng.x86_64 0.7.9-5.el8 @anaconda
libcollection.x86_64 0.7.0-39.el8 @anaconda
libcom_err.x86_64 1.45.6-1.el8 @anaconda
libcomps.x86_64 0.1.11-4.el8 @anaconda
libcroco.x86_64 0.6.12-4.el8_2.1 @anaconda
libcurl.x86_64 7.61.1-14.el8_3.1 @baseos
libdaemon.x86_64 0.14-15.el8 @anaconda
libdb.x86_64 5.3.28-39.el8 @anaconda
libdb-utils.x86_64 5.3.28-39.el8 @anaconda
libdhash.x86_64 0.5.0-39.el8 @anaconda
libdnf.x86_64 0.48.0-5.el8 @anaconda
libedit.x86_64 3.1-23.20170329cvs.el8 @anaconda
libestr.x86_64 0.1.10-1.el8 @AppStream
libevent.x86_64 2.1.8-5.el8 @anaconda
libfastjson.x86_64 0.99.8-2.el8 @AppStream
libfdisk.x86_64 2.32.1-24.el8 @anaconda
libffi.x86_64 3.1-22.el8 @anaconda
libgcc.x86_64 8.3.1-5.1.el8 @anaconda
libgcrypt.x86_64 1.8.5-4.el8 @anaconda
libgomp.x86_64 8.3.1-5.1.el8 @anaconda
libgpg-error.x86_64 1.31-1.el8 @anaconda
libidn2.x86_64 2.2.0-1.el8 @anaconda
libini_config.x86_64 1.3.1-39.el8 @anaconda
libkcapi.x86_64 1.2.0-2.el8 @anaconda
libkcapi-hmaccalc.x86_64 1.2.0-2.el8 @anaconda
libksba.x86_64 1.3.5-7.el8 @anaconda
libldb.x86_64 2.1.3-2.el8 @anaconda
libmaxminddb.x86_64 1.2.0-10.el8 @AppStream
libmetalink.x86_64 0.1.3-7.el8 @anaconda
libmnl.x86_64 1.0.4-6.el8 @anaconda
libmodulemd.x86_64 2.9.4-2.el8 @anaconda
libmount.x86_64 2.32.1-24.el8 @anaconda
libndp.x86_64 1.7-3.el8 @anaconda
libnetfilter_conntrack.x86_64 1.0.6-5.el8 @anaconda
libnfnetlink.x86_64 1.0.1-13.el8 @anaconda
libnfsidmap.x86_64 1:2.3.3-35.el8 @anaconda
libnftnl.x86_64 1.1.5-4.el8 @anaconda
libnghttp2.x86_64 1.33.0-3.el8_2.1 @anaconda
libnl3.x86_64 3.5.0-1.el8 @anaconda
libnl3-cli.x86_64 3.5.0-1.el8 @anaconda
libnsl2.x86_64 1.2.0-2.20180605git4a062cf.el8 @anaconda
libpath_utils.x86_64 0.2.1-39.el8 @anaconda
libpcap.x86_64 14:1.9.1-4.el8 @anaconda
libpipeline.x86_64 1.5.0-2.el8 @anaconda
libpng.x86_64 2:1.6.34-5.el8 @anaconda
libpsl.x86_64 0.20.2-6.el8 @anaconda
libpwquality.x86_64 1.4.0-9.el8 @anaconda
libref_array.x86_64 0.1.5-39.el8 @anaconda
librepo.x86_64 1.12.0-2.el8 @anaconda
libreport-filesystem.x86_64 2.9.5-15.el8 @anaconda
libseccomp.x86_64 2.4.3-1.el8 @anaconda
libsecret.x86_64 0.18.6-1.el8 @anaconda
libselinux.x86_64 2.9-4.el8_3 @baseos
libselinux-utils.x86_64 2.9-4.el8_3 @baseos
libsemanage.x86_64 2.9-3.el8 @anaconda
libsepol.x86_64 2.9-1.el8 @anaconda
libsigsegv.x86_64 2.11-5.el8 @anaconda
libsmartcols.x86_64 2.32.1-24.el8 @anaconda
libsolv.x86_64 0.7.11-1.el8 @anaconda
libss.x86_64 1.45.6-1.el8 @anaconda
libssh.x86_64 0.9.4-2.el8 @anaconda
libssh-config.noarch 0.9.4-2.el8 @anaconda
libsss_autofs.x86_64 2.3.0-9.el8 @anaconda
libsss_certmap.x86_64 2.3.0-9.el8 @anaconda
libsss_idmap.x86_64 2.3.0-9.el8 @anaconda
libsss_nss_idmap.x86_64 2.3.0-9.el8 @anaconda
libsss_sudo.x86_64 2.3.0-9.el8 @anaconda
libstdc++.x86_64 8.3.1-5.1.el8 @anaconda
libsysfs.x86_64 2.1.0-24.el8 @anaconda
libtalloc.x86_64 2.3.1-2.el8 @anaconda
libtasn1.x86_64 4.13-3.el8 @anaconda
libtdb.x86_64 1.4.3-1.el8 @anaconda
libteam.x86_64 1.31-2.el8 @anaconda
libtevent.x86_64 0.10.2-2.el8 @anaconda
libtirpc.x86_64 1.1.4-4.el8 @anaconda
libunistring.x86_64 0.9.9-3.el8 @anaconda
libusbx.x86_64 1.0.23-4.el8 @anaconda
libuser.x86_64 0.62-23.el8 @anaconda
libutempter.x86_64 1.1.6-14.el8 @anaconda
libuuid.x86_64 2.32.1-24.el8 @anaconda
libverto.x86_64 0.3.0-5.el8 @anaconda
libxcrypt.x86_64 4.1.1-4.el8 @anaconda
libxkbcommon.x86_64 0.9.1-1.el8 @AppStream
libxml2.x86_64 2.9.7-8.el8 @anaconda
libyaml.x86_64 0.1.7-5.el8 @anaconda
libzstd.x86_64 1.4.4-1.el8 @anaconda
linux-firmware.noarch 20200619-101.git3890db36.el8_3 @baseos
logrotate.x86_64 3.14.0-4.el8 @anaconda
lshw.x86_64 B.02.19.2-2.el8 @anaconda
lsscsi.x86_64 0.30-1.el8 @anaconda
lua-libs.x86_64 5.3.4-11.el8 @anaconda
lvm2.x86_64 8:2.03.09-5.el8 @anaconda
lvm2-libs.x86_64 8:2.03.09-5.el8 @anaconda
lz4-libs.x86_64 1.8.3-2.el8 @anaconda
lzo.x86_64 2.08-14.el8 @anaconda
man-db.x86_64 2.7.6.1-17.el8 @anaconda
memstrack.x86_64 0.1.11-1.el8 @AppStream
microcode_ctl.x86_64 4:20200609-2.20201112.1.el8_3 @baseos
mozjs60.x86_64 60.9.0-4.el8 @anaconda
mpfr.x86_64 3.1.6-1.el8 @anaconda
ncurses.x86_64 6.1-7.20180224.el8 @anaconda
ncurses-base.noarch 6.1-7.20180224.el8 @anaconda
ncurses-libs.x86_64 6.1-7.20180224.el8 @anaconda
nettle.x86_64 3.4.1-2.el8 @anaconda
newt.x86_64 0.52.20-11.el8 @anaconda
nftables.x86_64 1:0.9.3-16.el8 @anaconda
npth.x86_64 1.5-4.el8 @anaconda
numactl-libs.x86_64 2.0.12-11.el8 @anaconda
openldap.x86_64 2.4.46-15.el8 @anaconda
openssh.x86_64 8.0p1-5.el8 @anaconda
openssh-clients.x86_64 8.0p1-5.el8 @anaconda
openssh-server.x86_64 8.0p1-5.el8 @anaconda
openssl.x86_64 1:1.1.1g-12.el8_3 @baseos
openssl-libs.x86_64 1:1.1.1g-12.el8_3 @baseos
openssl-pkcs11.x86_64 0.4.10-2.el8 @anaconda
os-prober.x86_64 1.74-6.el8 @anaconda
p11-kit.x86_64 0.23.14-5.el8_0 @anaconda
p11-kit-trust.x86_64 0.23.14-5.el8_0 @anaconda
pam.x86_64 1.3.1-11.el8 @anaconda
parted.x86_64 3.2-38.el8 @anaconda
passwd.x86_64 0.80-3.el8 @anaconda
pciutils-libs.x86_64 3.6.4-2.el8 @anaconda
pcre.x86_64 8.42-4.el8 @anaconda
pcre2.x86_64 10.32-2.el8 @anaconda
pigz.x86_64 2.4-4.el8 @anaconda
pinentry.x86_64 1.1.0-2.el8 @AppStream
platform-python.x86_64 3.6.8-31.el8 @anaconda
platform-python-pip.noarch 9.0.3-18.el8 @anaconda
platform-python-setuptools.noarch 39.2.0-6.el8 @anaconda
plymouth.x86_64 0.9.4-7.20200615git1e36e30.el8 @AppStream
plymouth-core-libs.x86_64 0.9.4-7.20200615git1e36e30.el8 @AppStream
plymouth-scripts.x86_64 0.9.4-7.20200615git1e36e30.el8 @AppStream
policycoreutils.x86_64 2.9-9.el8 @anaconda
polkit.x86_64 0.115-11.el8 @anaconda
polkit-libs.x86_64 0.115-11.el8 @anaconda
polkit-pkla-compat.x86_64 0.1-12.el8 @anaconda
popt.x86_64 1.16-14.el8 @anaconda
prefixdevname.x86_64 0.1.0-6.el8 @anaconda
procps-ng.x86_64 3.3.15-3.el8 @anaconda
publicsuffix-list-dafsa.noarch 20180723-1.el8 @anaconda
python3-configobj.noarch 5.0.6-11.el8 @anaconda
python3-dateutil.noarch 1:2.6.1-6.el8 @anaconda
python3-dbus.x86_64 1.2.4-15.el8 @anaconda
python3-decorator.noarch 4.2.1-2.el8 @anaconda
python3-dmidecode.x86_64 3.12.2-15.el8 @anaconda
python3-dnf.noarch 4.2.23-4.el8 @anaconda
python3-dnf-plugins-core.noarch 4.0.17-5.el8 @anaconda
python3-firewall.noarch 0.8.2-2.el8 @anaconda
python3-gobject-base.x86_64 3.28.3-2.el8 @anaconda
python3-gpg.x86_64 1.13.1-3.el8 @anaconda
python3-hawkey.x86_64 0.48.0-5.el8 @anaconda
python3-libcomps.x86_64 0.1.11-4.el8 @anaconda
python3-libdnf.x86_64 0.48.0-5.el8 @anaconda
python3-libs.x86_64 3.6.8-31.el8 @anaconda
python3-libselinux.x86_64 2.9-4.el8_3 @baseos
python3-libxml2.x86_64 2.9.7-8.el8 @anaconda
python3-linux-procfs.noarch 0.6.2-2.el8 @anaconda
python3-nftables.x86_64 1:0.9.3-16.el8 @anaconda
python3-perf.x86_64 4.18.0-240.10.1.el8_3 @baseos
python3-pip-wheel.noarch 9.0.3-18.el8 @anaconda
python3-pyudev.noarch 0.21.0-7.el8 @anaconda
python3-rpm.x86_64 4.14.3-4.el8 @anaconda
python3-schedutils.x86_64 0.6-6.el8 @anaconda
python3-setuptools-wheel.noarch 39.2.0-6.el8 @anaconda
python3-six.noarch 1.11.0-8.el8 @anaconda
python3-slip.noarch 0.6.4-11.el8 @anaconda
python3-slip-dbus.noarch 0.6.4-11.el8 @anaconda
python3-syspurpose.x86_64 1.27.16-1.el8 @anaconda
python3-unbound.x86_64 1.7.3-14.el8 @AppStream
qemu-guest-agent.x86_64 15:4.2.0-34.module_el8.3.0+613+9ec9f184.1 @appstream
readline.x86_64 7.0-10.el8 @anaconda
rng-tools.x86_64 6.8-3.el8 @anaconda
rootfiles.noarch 8.1-22.el8 @anaconda
rpm.x86_64 4.14.3-4.el8 @anaconda
rpm-build-libs.x86_64 4.14.3-4.el8 @anaconda
rpm-libs.x86_64 4.14.3-4.el8 @anaconda
rpm-plugin-selinux.x86_64 4.14.3-4.el8 @anaconda
rpm-plugin-systemd-inhibit.x86_64 4.14.3-4.el8 @anaconda
rsyslog.x86_64 8.1911.0-6.el8 @AppStream
sed.x86_64 4.5-2.el8 @anaconda
selinux-policy.noarch 3.14.3-54.el8 @anaconda
selinux-policy-targeted.noarch 3.14.3-54.el8 @anaconda
setup.noarch 2.12.2-6.el8 @anaconda
sg3_utils.x86_64 1.44-5.el8 @anaconda
sg3_utils-libs.x86_64 1.44-5.el8 @anaconda
shadow-utils.x86_64 2:4.6-11.el8 @anaconda
shared-mime-info.x86_64 1.9-3.el8 @anaconda
slang.x86_64 2.3.2-3.el8 @anaconda
snappy.x86_64 1.1.8-3.el8 @anaconda
sqlite-libs.x86_64 3.26.0-11.el8 @anaconda
squashfs-tools.x86_64 4.3-19.el8 @anaconda
sssd-client.x86_64 2.3.0-9.el8 @anaconda
sssd-common.x86_64 2.3.0-9.el8 @anaconda
sssd-kcm.x86_64 2.3.0-9.el8 @anaconda
sssd-nfs-idmap.x86_64 2.3.0-9.el8 @anaconda
sudo.x86_64 1.8.29-6.el8 @anaconda
systemd.x86_64 239-41.el8_3.1 @baseos
systemd-libs.x86_64 239-41.el8_3.1 @baseos
systemd-pam.x86_64 239-41.el8_3.1 @baseos
systemd-udev.x86_64 239-41.el8_3.1 @baseos
teamd.x86_64 1.31-2.el8 @anaconda
timedatex.x86_64 0.5-3.el8 @anaconda
trousers.x86_64 0.3.14-4.el8 @anaconda
trousers-lib.x86_64 0.3.14-4.el8 @anaconda
tuned.noarch 2.14.0-3.el8_3.1 @baseos
tzdata.noarch 2020f-1.el8 @baseos
unbound-libs.x86_64 1.7.3-14.el8 @AppStream
util-linux.x86_64 2.32.1-24.el8 @anaconda
vim-minimal.x86_64 2:8.0.1763-15.el8 @anaconda
virt-what.x86_64 1.18-6.el8 @anaconda
which.x86_64 2.21-12.el8 @anaconda
xfsprogs.x86_64 5.0.0-4.el8 @anaconda
xkeyboard-config.noarch 2.28-1.el8 @AppStream
xz.x86_64 5.2.4-3.el8 @anaconda
xz-libs.x86_64 5.2.4-3.el8 @anaconda
yum.noarch 4.2.23-4.el8 @anaconda
zlib.x86_64 1.2.11-16.el8_2 @anaconda
- convert2rhelツールのインストール
# yum install -y https://github.com/oamg/convert2rhel/releases/download/v0.15/convert2rhel-0.15-1.el8.noarch.rpm
2021/1/26時点最新は、v0.15
- ISOファイルのマウント
# mkdir /mnt/media
# mount /dev/sr0 /mnt/media
- RHEL用repoファイルの作成
# vi /etc/yum.repos.d/rhel-media.repo
[rhel-8-baseos]
name=Red Hat Enterprise Linux 8.3.0 - BaseOS
baseurl=file:///mnt/media/BaseOS
mediaid=None
metadata_expire=-1
gpgcheck=0
cost=500
[rhel-8-appstream]
name=Red Hat Enterprise Linux 8.3.0 - AppStream
baseurl=file:///mnt/media/AppStream
mediaid=None
metadata_expire=-1
gpgcheck=0
cost=500
# yum repolist
repo id repo の名前
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
extras CentOS Linux 8 - Extras
rhel-8-appstream Red Hat Enterprise Linux 8.3.0 - AppStream
rhel-8-baseos Red Hat Enterprise Linux 8.3.0 - BaseOS
- コンバート実行
# convert2rhel --disable-submgr --enablerepo rhel-8-baseos --enablerepo rhel-8-appstream --debug
- いくつか対話形式で聞かれるので、y で応答する
:
Copyright © 2010 Red Hat, Inc. All rights reserved. "Red Hat" and the Red Hat "Shadowman" logo are registered trademarks of Red Hat, Inc. "Linux" is a registered trademark of Linus Torvalds. All other trademarks are the property of their respective owners.
WARNING - By continuing you accept this EULA.
Continue with the system conversion? [y/n]:
:
Package Packager Repository
------- -------- ----------
convert2rhel-0.15-1.el8.noarch N/A @@commandline
Continue with the system conversion? [y/n]:
これ以降は、ツールのロールバック機能対象外となる
WARNING - The tool allows rollback of any action until this point.
WARNING - By continuing all further changes on the system will need to be reverted manually by the user, if necessary.
Continue with the system conversion? [y/n]:
今回はもともとCentOSへインストールされているパッケージが最小限だったが、約30分で完了
[01/24/2021 21:11:07] TASK - [Final: Non-interactive mode] **************************************
For the non-interactive use of the tool, run the following command:
convert2rhel --disable-submgr --disablerepo=* --enablerepo=rhel-8-baseos --enablerepo=rhel-8-appstream -v Server -y
WARNING - In order to boot the RHEL kernel, restart of the system is needed.
- 再起動
# shutdown -r now
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
- 残ったRHELとして提供されていないパッケージを確認
yum list extras --disablerepo="*" --enablerepo=rhel-8-baseos --enablerepo=rhel-8-appstream
メタデータの期限切れの最終確認: 0:20:26 時間前の 2021年01月24日 20時53分43秒 に実施しました。
エクストラパッケージ
centos-gpg-keys.noarch 1:8-2.el8 @anaconda
convert2rhel.noarch 0.15-1.el8 @@commandline
今回は特にサードパーティパッケージを入れていなかったので、上記のみ
- RHELとして提供されていないパッケージ削除
# yum remove centos-gpg-keys.noarch
# rpm -e --nodeps convert2rhel
convert2rhelは、yum remove
で削除すると依存パッケージのpythonなども削除されるので、-nodeps
で削除
- 移行後のパッケージ一覧
# yum list --installed
Updating Subscription Management repositories.
インストール済みパッケージ
NetworkManager.x86_64 1:1.26.0-8.el8 @rhel-8-baseos
NetworkManager-libnm.x86_64 1:1.26.0-8.el8 @rhel-8-baseos
NetworkManager-team.x86_64 1:1.26.0-8.el8 @rhel-8-baseos
NetworkManager-tui.x86_64 1:1.26.0-8.el8 @rhel-8-baseos
acl.x86_64 2.2.53-1.el8 @rhel-8-baseos
apr.x86_64 1.6.3-11.el8 @rhel-8-appstream
apr-util.x86_64 1.6.1-6.el8 @rhel-8-appstream
apr-util-bdb.x86_64 1.6.1-6.el8 @rhel-8-appstream
apr-util-openssl.x86_64 1.6.1-6.el8 @rhel-8-appstream
audit.x86_64 3.0-0.17.20191104git1c2f876.el8 @rhel-8-baseos
audit-libs.x86_64 3.0-0.17.20191104git1c2f876.el8 @rhel-8-baseos
authselect.x86_64 1.2.1-2.el8 @rhel-8-baseos
authselect-libs.x86_64 1.2.1-2.el8 @rhel-8-baseos
basesystem.noarch 11-5.el8 @rhel-8-baseos
bash.x86_64 4.4.19-12.el8 @rhel-8-baseos
bind-export-libs.x86_64 32:9.11.20-5.el8 @rhel-8-baseos
biosdevname.x86_64 0.7.3-2.el8 @rhel-8-baseos
brotli.x86_64 1.0.6-2.el8 @rhel-8-baseos
bzip2-libs.x86_64 1.0.6-26.el8 @rhel-8-baseos
c-ares.x86_64 1.13.0-5.el8 @rhel-8-baseos
ca-certificates.noarch 2020.2.41-80.0.el8_2 @rhel-8-baseos
chkconfig.x86_64 1.13-2.el8 @rhel-8-baseos
chrony.x86_64 3.5-1.el8 @rhel-8-baseos
coreutils.x86_64 8.30-8.el8 @rhel-8-baseos
coreutils-common.x86_64 8.30-8.el8 @rhel-8-baseos
cpio.x86_64 2.12-8.el8 @rhel-8-baseos
cracklib.x86_64 2.9.6-15.el8 @rhel-8-baseos
cracklib-dicts.x86_64 2.9.6-15.el8 @rhel-8-baseos
cronie.x86_64 1.5.2-4.el8 @rhel-8-baseos
cronie-anacron.x86_64 1.5.2-4.el8 @rhel-8-baseos
crontabs.noarch 1.11-16.20150630git.el8 @rhel-8-baseos
crypto-policies.noarch 20200713-1.git51d1222.el8 @rhel-8-baseos
crypto-policies-scripts.noarch 20200713-1.git51d1222.el8 @rhel-8-baseos
cryptsetup-libs.x86_64 2.3.3-2.el8 @rhel-8-baseos
curl.x86_64 7.61.1-14.el8 @rhel-8-baseos
cyrus-sasl-lib.x86_64 2.1.27-5.el8 @rhel-8-baseos
dbus.x86_64 1:1.12.8-11.el8 @rhel-8-baseos
dbus-common.noarch 1:1.12.8-11.el8 @rhel-8-baseos
dbus-daemon.x86_64 1:1.12.8-11.el8 @rhel-8-baseos
dbus-glib.x86_64 0.110-2.el8 @rhel-8-baseos
dbus-libs.x86_64 1:1.12.8-11.el8 @rhel-8-baseos
dbus-tools.x86_64 1:1.12.8-11.el8 @rhel-8-baseos
device-mapper.x86_64 8:1.02.171-5.el8 @rhel-8-baseos
device-mapper-event.x86_64 8:1.02.171-5.el8 @rhel-8-baseos
device-mapper-event-libs.x86_64 8:1.02.171-5.el8 @rhel-8-baseos
device-mapper-libs.x86_64 8:1.02.171-5.el8 @rhel-8-baseos
device-mapper-persistent-data.x86_64 0.8.5-4.el8 @rhel-8-baseos
dhcp-client.x86_64 12:4.3.6-41.el8 @rhel-8-baseos
dhcp-common.noarch 12:4.3.6-41.el8 @rhel-8-baseos
dhcp-libs.x86_64 12:4.3.6-41.el8 @rhel-8-baseos
diffutils.x86_64 3.6-6.el8 @rhel-8-baseos
dmidecode.x86_64 1:3.2-6.el8 @rhel-8-baseos
dnf.noarch 4.2.23-4.el8 @rhel-8-baseos
dnf-data.noarch 4.2.23-4.el8 @rhel-8-baseos
dnf-plugin-subscription-manager.x86_64 1.27.16-1.el8 @rhel-8-baseos
dnf-plugins-core.noarch 4.0.17-5.el8 @rhel-8-baseos
dracut.x86_64 049-95.git20200804.el8 @rhel-8-baseos
dracut-config-rescue.x86_64 049-95.git20200804.el8 @rhel-8-baseos
dracut-network.x86_64 049-95.git20200804.el8 @rhel-8-baseos
dracut-squash.x86_64 049-95.git20200804.el8 @rhel-8-baseos
e2fsprogs.x86_64 1.45.6-1.el8 @rhel-8-baseos
e2fsprogs-libs.x86_64 1.45.6-1.el8 @rhel-8-baseos
elfutils-debuginfod-client.x86_64 0.180-1.el8 @rhel-8-baseos
elfutils-default-yama-scope.noarch 0.180-1.el8 @rhel-8-baseos
elfutils-libelf.x86_64 0.180-1.el8 @rhel-8-baseos
elfutils-libs.x86_64 0.180-1.el8 @rhel-8-baseos
ethtool.x86_64 2:5.0-2.el8 @rhel-8-baseos
expat.x86_64 2.2.5-4.el8 @rhel-8-baseos
file.x86_64 5.33-16.el8 @rhel-8-baseos
file-libs.x86_64 5.33-16.el8 @rhel-8-baseos
filesystem.x86_64 3.8-3.el8 @rhel-8-baseos
findutils.x86_64 1:4.6.0-20.el8 @rhel-8-baseos
firewalld.noarch 0.8.2-2.el8 @rhel-8-baseos
firewalld-filesystem.noarch 0.8.2-2.el8 @rhel-8-baseos
freetype.x86_64 2.9.1-4.el8 @rhel-8-baseos
fuse-libs.x86_64 2.9.7-12.el8 @rhel-8-baseos
gawk.x86_64 4.2.1-1.el8 @rhel-8-baseos
gdbm.x86_64 1:1.18-1.el8 @rhel-8-baseos
gdbm-libs.x86_64 1:1.18-1.el8 @rhel-8-baseos
geolite2-city.noarch 20180605-1.el8 @rhel-8-appstream
geolite2-country.noarch 20180605-1.el8 @rhel-8-appstream
gettext.x86_64 0.19.8.1-17.el8 @rhel-8-baseos
gettext-libs.x86_64 0.19.8.1-17.el8 @rhel-8-baseos
glib2.x86_64 2.56.4-8.el8 @rhel-8-baseos
glibc.x86_64 2.28-127.el8 @rhel-8-baseos
glibc-common.x86_64 2.28-127.el8 @rhel-8-baseos
glibc-langpack-ja.x86_64 2.28-127.el8 @rhel-8-baseos
gmp.x86_64 1:6.1.2-10.el8 @rhel-8-baseos
gnupg2.x86_64 2.2.20-2.el8 @rhel-8-baseos
gnupg2-smime.x86_64 2.2.20-2.el8 @rhel-8-baseos
gnutls.x86_64 3.6.14-6.el8 @rhel-8-baseos
gobject-introspection.x86_64 1.56.1-1.el8 @rhel-8-baseos
gpgme.x86_64 1.13.1-3.el8 @rhel-8-baseos
grep.x86_64 3.1-6.el8 @rhel-8-baseos
groff-base.x86_64 1.22.3-18.el8 @rhel-8-baseos
grub2-common.noarch 1:2.02-90.el8 @rhel-8-baseos
grub2-pc.x86_64 1:2.02-90.el8 @rhel-8-baseos
grub2-pc-modules.noarch 1:2.02-90.el8 @rhel-8-baseos
grub2-tools.x86_64 1:2.02-90.el8 @rhel-8-baseos
grub2-tools-extra.x86_64 1:2.02-90.el8 @rhel-8-baseos
grub2-tools-minimal.x86_64 1:2.02-90.el8 @rhel-8-baseos
grubby.x86_64 8.40-41.el8 @rhel-8-baseos
gzip.x86_64 1.9-9.el8 @rhel-8-baseos
hardlink.x86_64 1:1.3-6.el8 @rhel-8-baseos
hdparm.x86_64 9.54-2.el8 @rhel-8-baseos
hostname.x86_64 3.20-6.el8 @rhel-8-baseos
httpd.x86_64 2.4.37-30.module+el8.3.0+7001+0766b9e7 @rhel-8-appstream
httpd-filesystem.noarch 2.4.37-30.module+el8.3.0+7001+0766b9e7 @rhel-8-appstream
httpd-tools.x86_64 2.4.37-30.module+el8.3.0+7001+0766b9e7 @rhel-8-appstream
hwdata.noarch 0.314-8.6.el8 @rhel-8-baseos
ima-evm-utils.x86_64 1.1-5.el8 @rhel-8-baseos
info.x86_64 6.5-6.el8 @rhel-8-baseos
initscripts.x86_64 10.00.9-1.el8 @rhel-8-baseos
insights-client.noarch 3.1.0-3.el8 @rhel-8-appstream
ipcalc.x86_64 0.2.4-4.el8 @rhel-8-baseos
iproute.x86_64 5.3.0-5.el8 @rhel-8-baseos
iprutils.x86_64 2.4.19-1.el8 @rhel-8-baseos
ipset.x86_64 7.1-1.el8 @rhel-8-baseos
ipset-libs.x86_64 7.1-1.el8 @rhel-8-baseos
iptables.x86_64 1.8.4-15.el8 @rhel-8-baseos
iptables-ebtables.x86_64 1.8.4-15.el8 @rhel-8-baseos
iptables-libs.x86_64 1.8.4-15.el8 @rhel-8-baseos
iputils.x86_64 20180629-2.el8 @rhel-8-baseos
irqbalance.x86_64 2:1.4.0-4.el8 @rhel-8-baseos
iwl100-firmware.noarch 39.31.5.1-99.el8.1 @rhel-8-baseos
iwl1000-firmware.noarch 1:39.31.5.1-99.el8.1 @rhel-8-baseos
iwl105-firmware.noarch 18.168.6.1-99.el8.1 @rhel-8-baseos
iwl135-firmware.noarch 18.168.6.1-99.el8.1 @rhel-8-baseos
iwl2000-firmware.noarch 18.168.6.1-99.el8.1 @rhel-8-baseos
iwl2030-firmware.noarch 18.168.6.1-99.el8.1 @rhel-8-baseos
iwl3160-firmware.noarch 1:25.30.13.0-99.el8.1 @rhel-8-baseos
iwl5000-firmware.noarch 8.83.5.1_1-99.el8.1 @rhel-8-baseos
iwl5150-firmware.noarch 8.24.2.2-99.el8.1 @rhel-8-baseos
iwl6000-firmware.noarch 9.221.4.1-99.el8.1 @rhel-8-baseos
iwl6000g2a-firmware.noarch 18.168.6.1-99.el8.1 @rhel-8-baseos
iwl6050-firmware.noarch 41.28.5.1-99.el8.1 @rhel-8-baseos
iwl7260-firmware.noarch 1:25.30.13.0-99.el8.1 @rhel-8-baseos
jansson.x86_64 2.11-3.el8 @rhel-8-baseos
json-c.x86_64 0.13.1-0.2.el8 @rhel-8-baseos
json-glib.x86_64 1.4.4-1.el8 @rhel-8-baseos
kbd.x86_64 2.0.4-10.el8 @rhel-8-baseos
kbd-legacy.noarch 2.0.4-10.el8 @rhel-8-baseos
kbd-misc.noarch 2.0.4-10.el8 @rhel-8-baseos
kernel.x86_64 4.18.0-240.el8 @rhel-8-baseos
kernel-core.x86_64 4.18.0-240.el8 @rhel-8-baseos
kernel-modules.x86_64 4.18.0-240.el8 @rhel-8-baseos
kernel-tools.x86_64 4.18.0-240.el8 @rhel-8-baseos
kernel-tools-libs.x86_64 4.18.0-240.el8 @rhel-8-baseos
kexec-tools.x86_64 2.0.20-34.el8 @rhel-8-baseos
keyutils-libs.x86_64 1.5.10-6.el8 @rhel-8-baseos
kmod.x86_64 25-16.el8 @rhel-8-baseos
kmod-libs.x86_64 25-16.el8 @rhel-8-baseos
kpartx.x86_64 0.8.4-5.el8 @rhel-8-baseos
krb5-libs.x86_64 1.18.2-5.el8 @rhel-8-baseos
langpacks-ja.noarch 1.0-12.el8 @rhel-8-appstream
less.x86_64 530-1.el8 @rhel-8-baseos
libacl.x86_64 2.2.53-1.el8 @rhel-8-baseos
libaio.x86_64 0.3.112-1.el8 @rhel-8-baseos
libarchive.x86_64 3.3.2-9.el8 @rhel-8-baseos
libassuan.x86_64 2.5.1-3.el8 @rhel-8-baseos
libattr.x86_64 2.4.48-3.el8 @rhel-8-baseos
libbasicobjects.x86_64 0.1.1-39.el8 @rhel-8-baseos
libblkid.x86_64 2.32.1-24.el8 @rhel-8-baseos
libcap.x86_64 2.26-4.el8 @rhel-8-baseos
libcap-ng.x86_64 0.7.9-5.el8 @rhel-8-baseos
libcollection.x86_64 0.7.0-39.el8 @rhel-8-baseos
libcom_err.x86_64 1.45.6-1.el8 @rhel-8-baseos
libcomps.x86_64 0.1.11-4.el8 @rhel-8-baseos
libcroco.x86_64 0.6.12-4.el8_2.1 @rhel-8-baseos
libcurl.x86_64 7.61.1-14.el8 @rhel-8-baseos
libdaemon.x86_64 0.14-15.el8 @rhel-8-baseos
libdb.x86_64 5.3.28-39.el8 @rhel-8-baseos
libdb-utils.x86_64 5.3.28-39.el8 @rhel-8-baseos
libdhash.x86_64 0.5.0-39.el8 @rhel-8-baseos
libdnf.x86_64 0.48.0-5.el8 @rhel-8-baseos
libedit.x86_64 3.1-23.20170329cvs.el8 @rhel-8-baseos
libestr.x86_64 0.1.10-1.el8 @rhel-8-appstream
libevent.x86_64 2.1.8-5.el8 @rhel-8-baseos
libfastjson.x86_64 0.99.8-2.el8 @rhel-8-appstream
libfdisk.x86_64 2.32.1-24.el8 @rhel-8-baseos
libffi.x86_64 3.1-22.el8 @rhel-8-baseos
libgcc.x86_64 8.3.1-5.1.el8 @rhel-8-baseos
libgcrypt.x86_64 1.8.5-4.el8 @rhel-8-baseos
libgomp.x86_64 8.3.1-5.1.el8 @rhel-8-baseos
libgpg-error.x86_64 1.31-1.el8 @rhel-8-baseos
libidn2.x86_64 2.2.0-1.el8 @rhel-8-baseos
libini_config.x86_64 1.3.1-39.el8 @rhel-8-baseos
libkcapi.x86_64 1.2.0-2.el8 @rhel-8-baseos
libkcapi-hmaccalc.x86_64 1.2.0-2.el8 @rhel-8-baseos
libksba.x86_64 1.3.5-7.el8 @rhel-8-baseos
libldb.x86_64 2.1.3-2.el8 @rhel-8-baseos
libmaxminddb.x86_64 1.2.0-10.el8 @rhel-8-appstream
libmetalink.x86_64 0.1.3-7.el8 @rhel-8-baseos
libmnl.x86_64 1.0.4-6.el8 @rhel-8-baseos
libmodulemd.x86_64 2.9.4-2.el8 @rhel-8-baseos
libmount.x86_64 2.32.1-24.el8 @rhel-8-baseos
libndp.x86_64 1.7-3.el8 @rhel-8-baseos
libnetfilter_conntrack.x86_64 1.0.6-5.el8 @rhel-8-baseos
libnfnetlink.x86_64 1.0.1-13.el8 @rhel-8-baseos
libnfsidmap.x86_64 1:2.3.3-35.el8 @rhel-8-baseos
libnftnl.x86_64 1.1.5-4.el8 @rhel-8-baseos
libnghttp2.x86_64 1.33.0-3.el8_2.1 @rhel-8-baseos
libnl3.x86_64 3.5.0-1.el8 @rhel-8-baseos
libnl3-cli.x86_64 3.5.0-1.el8 @rhel-8-baseos
libnsl2.x86_64 1.2.0-2.20180605git4a062cf.el8 @rhel-8-baseos
libpath_utils.x86_64 0.2.1-39.el8 @rhel-8-baseos
libpcap.x86_64 14:1.9.1-4.el8 @rhel-8-baseos
libpipeline.x86_64 1.5.0-2.el8 @rhel-8-baseos
libpng.x86_64 2:1.6.34-5.el8 @rhel-8-baseos
libpsl.x86_64 0.20.2-6.el8 @rhel-8-baseos
libpwquality.x86_64 1.4.0-9.el8 @rhel-8-baseos
libref_array.x86_64 0.1.5-39.el8 @rhel-8-baseos
librepo.x86_64 1.12.0-2.el8 @rhel-8-baseos
libreport-filesystem.x86_64 2.9.5-15.el8 @rhel-8-baseos
librhsm.x86_64 0.0.3-3.el8 @rhel-8-baseos
libseccomp.x86_64 2.4.3-1.el8 @rhel-8-baseos
libsecret.x86_64 0.18.6-1.el8 @rhel-8-baseos
libselinux.x86_64 2.9-3.el8 @rhel-8-baseos
libselinux-utils.x86_64 2.9-3.el8 @rhel-8-baseos
libsemanage.x86_64 2.9-3.el8 @rhel-8-baseos
libsepol.x86_64 2.9-1.el8 @rhel-8-baseos
libsigsegv.x86_64 2.11-5.el8 @rhel-8-baseos
libsmartcols.x86_64 2.32.1-24.el8 @rhel-8-baseos
libsolv.x86_64 0.7.11-1.el8 @rhel-8-baseos
libss.x86_64 1.45.6-1.el8 @rhel-8-baseos
libssh.x86_64 0.9.4-2.el8 @rhel-8-baseos
libssh-config.noarch 0.9.4-2.el8 @rhel-8-baseos
libsss_autofs.x86_64 2.3.0-9.el8 @rhel-8-baseos
libsss_certmap.x86_64 2.3.0-9.el8 @rhel-8-baseos
libsss_idmap.x86_64 2.3.0-9.el8 @rhel-8-baseos
libsss_nss_idmap.x86_64 2.3.0-9.el8 @rhel-8-baseos
libsss_sudo.x86_64 2.3.0-9.el8 @rhel-8-baseos
libstdc++.x86_64 8.3.1-5.1.el8 @rhel-8-baseos
libsysfs.x86_64 2.1.0-24.el8 @rhel-8-baseos
libtalloc.x86_64 2.3.1-2.el8 @rhel-8-baseos
libtasn1.x86_64 4.13-3.el8 @rhel-8-baseos
libtdb.x86_64 1.4.3-1.el8 @rhel-8-baseos
libteam.x86_64 1.31-2.el8 @rhel-8-baseos
libtevent.x86_64 0.10.2-2.el8 @rhel-8-baseos
libtirpc.x86_64 1.1.4-4.el8 @rhel-8-baseos
libunistring.x86_64 0.9.9-3.el8 @rhel-8-baseos
libusbx.x86_64 1.0.23-4.el8 @rhel-8-baseos
libuser.x86_64 0.62-23.el8 @rhel-8-baseos
libutempter.x86_64 1.1.6-14.el8 @rhel-8-baseos
libuuid.x86_64 2.32.1-24.el8 @rhel-8-baseos
libverto.x86_64 0.3.0-5.el8 @rhel-8-baseos
libxcrypt.x86_64 4.1.1-4.el8 @rhel-8-baseos
libxkbcommon.x86_64 0.9.1-1.el8 @rhel-8-appstream
libxml2.x86_64 2.9.7-8.el8 @rhel-8-baseos
libyaml.x86_64 0.1.7-5.el8 @rhel-8-baseos
libzstd.x86_64 1.4.4-1.el8 @rhel-8-baseos
linux-firmware.noarch 20200619-99.git3890db36.el8 @rhel-8-baseos
logrotate.x86_64 3.14.0-4.el8 @rhel-8-baseos
lshw.x86_64 B.02.19.2-2.el8 @rhel-8-baseos
lsscsi.x86_64 0.30-1.el8 @rhel-8-baseos
lua-libs.x86_64 5.3.4-11.el8 @rhel-8-baseos
lvm2.x86_64 8:2.03.09-5.el8 @rhel-8-baseos
lvm2-libs.x86_64 8:2.03.09-5.el8 @rhel-8-baseos
lz4-libs.x86_64 1.8.3-2.el8 @rhel-8-baseos
lzo.x86_64 2.08-14.el8 @rhel-8-baseos
mailcap.noarch 2.1.48-3.el8 @rhel-8-baseos
man-db.x86_64 2.7.6.1-17.el8 @rhel-8-baseos
memstrack.x86_64 0.1.11-1.el8 @rhel-8-baseos
microcode_ctl.x86_64 4:20200609-2.el8 @rhel-8-baseos
mod_http2.x86_64 1.15.7-2.module+el8.3.0+7670+8bf57d29 @rhel-8-appstream
mozjs60.x86_64 60.9.0-4.el8 @rhel-8-baseos
mpfr.x86_64 3.1.6-1.el8 @rhel-8-baseos
ncurses.x86_64 6.1-7.20180224.el8 @rhel-8-baseos
ncurses-base.noarch 6.1-7.20180224.el8 @rhel-8-baseos
ncurses-libs.x86_64 6.1-7.20180224.el8 @rhel-8-baseos
nettle.x86_64 3.4.1-2.el8 @rhel-8-baseos
newt.x86_64 0.52.20-11.el8 @rhel-8-baseos
nftables.x86_64 1:0.9.3-16.el8 @rhel-8-baseos
npth.x86_64 1.5-4.el8 @rhel-8-baseos
numactl-libs.x86_64 2.0.12-11.el8 @rhel-8-baseos
openldap.x86_64 2.4.46-15.el8 @rhel-8-baseos
openssh.x86_64 8.0p1-5.el8 @rhel-8-baseos
openssh-clients.x86_64 8.0p1-5.el8 @rhel-8-baseos
openssh-server.x86_64 8.0p1-5.el8 @rhel-8-baseos
openssl.x86_64 1:1.1.1g-11.el8 @rhel-8-baseos
openssl-libs.x86_64 1:1.1.1g-11.el8 @rhel-8-baseos
openssl-pkcs11.x86_64 0.4.10-2.el8 @rhel-8-baseos
os-prober.x86_64 1.74-6.el8 @rhel-8-baseos
p11-kit.x86_64 0.23.14-5.el8_0 @rhel-8-baseos
p11-kit-trust.x86_64 0.23.14-5.el8_0 @rhel-8-baseos
pam.x86_64 1.3.1-11.el8 @rhel-8-baseos
parted.x86_64 3.2-38.el8 @rhel-8-baseos
passwd.x86_64 0.80-3.el8 @rhel-8-baseos
pciutils.x86_64 3.6.4-2.el8 @rhel-8-baseos
pciutils-libs.x86_64 3.6.4-2.el8 @rhel-8-baseos
pcre.x86_64 8.42-4.el8 @rhel-8-baseos
pcre2.x86_64 10.32-2.el8 @rhel-8-baseos
pigz.x86_64 2.4-4.el8 @rhel-8-baseos
pinentry.x86_64 1.1.0-2.el8 @rhel-8-appstream
platform-python.x86_64 3.6.8-31.el8 @rhel-8-baseos
platform-python-pip.noarch 9.0.3-18.el8 @rhel-8-baseos
platform-python-setuptools.noarch 39.2.0-6.el8 @rhel-8-baseos
plymouth.x86_64 0.9.4-7.20200615git1e36e30.el8 @rhel-8-appstream
plymouth-core-libs.x86_64 0.9.4-7.20200615git1e36e30.el8 @rhel-8-appstream
plymouth-scripts.x86_64 0.9.4-7.20200615git1e36e30.el8 @rhel-8-appstream
policycoreutils.x86_64 2.9-9.el8 @rhel-8-baseos
polkit.x86_64 0.115-11.el8 @rhel-8-baseos
polkit-libs.x86_64 0.115-11.el8 @rhel-8-baseos
polkit-pkla-compat.x86_64 0.1-12.el8 @rhel-8-baseos
popt.x86_64 1.16-14.el8 @rhel-8-baseos
prefixdevname.x86_64 0.1.0-6.el8 @rhel-8-baseos
procps-ng.x86_64 3.3.15-3.el8 @rhel-8-baseos
publicsuffix-list-dafsa.noarch 20180723-1.el8 @rhel-8-baseos
python3-chardet.noarch 3.0.4-7.el8 @rhel-8-baseos
python3-configobj.noarch 5.0.6-11.el8 @rhel-8-baseos
python3-dateutil.noarch 1:2.6.1-6.el8 @rhel-8-baseos
python3-dbus.x86_64 1.2.4-15.el8 @rhel-8-baseos
python3-decorator.noarch 4.2.1-2.el8 @rhel-8-baseos
python3-dmidecode.x86_64 3.12.2-15.el8 @rhel-8-baseos
python3-dnf.noarch 4.2.23-4.el8 @rhel-8-baseos
python3-dnf-plugins-core.noarch 4.0.17-5.el8 @rhel-8-baseos
python3-ethtool.x86_64 0.14-3.el8 @rhel-8-baseos
python3-firewall.noarch 0.8.2-2.el8 @rhel-8-baseos
python3-gobject-base.x86_64 3.28.3-2.el8 @rhel-8-baseos
python3-gpg.x86_64 1.13.1-3.el8 @rhel-8-baseos
python3-hawkey.x86_64 0.48.0-5.el8 @rhel-8-baseos
python3-idna.noarch 2.5-5.el8 @rhel-8-baseos
python3-iniparse.noarch 0.4-31.el8 @rhel-8-baseos
python3-inotify.noarch 0.9.6-13.el8 @rhel-8-baseos
python3-libcomps.x86_64 0.1.11-4.el8 @rhel-8-baseos
python3-libdnf.x86_64 0.48.0-5.el8 @rhel-8-baseos
python3-librepo.x86_64 1.12.0-2.el8 @rhel-8-baseos
python3-libs.x86_64 3.6.8-31.el8 @rhel-8-baseos
python3-libselinux.x86_64 2.9-3.el8 @rhel-8-baseos
python3-libxml2.x86_64 2.9.7-8.el8 @rhel-8-baseos
python3-linux-procfs.noarch 0.6.2-2.el8 @rhel-8-baseos
python3-magic.noarch 5.33-16.el8 @rhel-8-baseos
python3-nftables.x86_64 1:0.9.3-16.el8 @rhel-8-baseos
python3-perf.x86_64 4.18.0-240.el8 @rhel-8-baseos
python3-pexpect.noarch 4.3.1-3.el8 @rhel-8-appstream
python3-pip.noarch 9.0.3-18.el8 @rhel-8-appstream
python3-pip-wheel.noarch 9.0.3-18.el8 @rhel-8-baseos
python3-ptyprocess.noarch 0.5.2-4.el8 @rhel-8-appstream
python3-pysocks.noarch 1.6.8-3.el8 @rhel-8-baseos
python3-pyudev.noarch 0.21.0-7.el8 @rhel-8-baseos
python3-pyyaml.x86_64 3.12-12.el8 @rhel-8-baseos
python3-requests.noarch 2.20.0-2.1.el8_1 @rhel-8-baseos
python3-rpm.x86_64 4.14.3-4.el8 @rhel-8-baseos
python3-schedutils.x86_64 0.6-6.el8 @rhel-8-baseos
python3-setuptools.noarch 39.2.0-6.el8 @rhel-8-baseos
python3-setuptools-wheel.noarch 39.2.0-6.el8 @rhel-8-baseos
python3-six.noarch 1.11.0-8.el8 @rhel-8-baseos
python3-slip.noarch 0.6.4-11.el8 @rhel-8-baseos
python3-slip-dbus.noarch 0.6.4-11.el8 @rhel-8-baseos
python3-subscription-manager-rhsm.x86_64 1.27.16-1.el8 @rhel-8-baseos
python3-syspurpose.x86_64 1.27.16-1.el8 @rhel-8-baseos
python3-unbound.x86_64 1.7.3-14.el8 @rhel-8-appstream
python3-urllib3.noarch 1.24.2-4.el8 @rhel-8-baseos
python36.x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 @rhel-8-appstream
qemu-guest-agent.x86_64 15:4.2.0-34.module+el8.3.0+7976+077be4ec @rhel-8-appstream
readline.x86_64 7.0-10.el8 @rhel-8-baseos
redhat-logos-httpd.noarch 81.1-1.el8 @rhel-8-baseos
redhat-release.x86_64 8.3-1.0.el8 @rhel-8-baseos
redhat-release-eula.x86_64 8.3-1.0.el8 @rhel-8-baseos
rng-tools.x86_64 6.8-3.el8 @rhel-8-baseos
rootfiles.noarch 8.1-22.el8 @rhel-8-baseos
rpm.x86_64 4.14.3-4.el8 @rhel-8-baseos
rpm-build-libs.x86_64 4.14.3-4.el8 @rhel-8-baseos
rpm-libs.x86_64 4.14.3-4.el8 @rhel-8-baseos
rpm-plugin-selinux.x86_64 4.14.3-4.el8 @rhel-8-baseos
rpm-plugin-systemd-inhibit.x86_64 4.14.3-4.el8 @rhel-8-baseos
rsyslog.x86_64 8.1911.0-6.el8 @rhel-8-appstream
sed.x86_64 4.5-2.el8 @rhel-8-baseos
selinux-policy.noarch 3.14.3-54.el8 @rhel-8-baseos
selinux-policy-targeted.noarch 3.14.3-54.el8 @rhel-8-baseos
setup.noarch 2.12.2-6.el8 @rhel-8-baseos
sg3_utils.x86_64 1.44-5.el8 @rhel-8-baseos
sg3_utils-libs.x86_64 1.44-5.el8 @rhel-8-baseos
shadow-utils.x86_64 2:4.6-11.el8 @rhel-8-baseos
shared-mime-info.x86_64 1.9-3.el8 @rhel-8-baseos
slang.x86_64 2.3.2-3.el8 @rhel-8-baseos
snappy.x86_64 1.1.8-3.el8 @rhel-8-baseos
sqlite-libs.x86_64 3.26.0-11.el8 @rhel-8-baseos
squashfs-tools.x86_64 4.3-19.el8 @rhel-8-baseos
sssd-client.x86_64 2.3.0-9.el8 @rhel-8-baseos
sssd-common.x86_64 2.3.0-9.el8 @rhel-8-baseos
sssd-kcm.x86_64 2.3.0-9.el8 @rhel-8-baseos
sssd-nfs-idmap.x86_64 2.3.0-9.el8 @rhel-8-baseos
subscription-manager.x86_64 1.27.16-1.el8 @rhel-8-baseos
subscription-manager-rhsm-certificates.x86_64 1.27.16-1.el8 @rhel-8-baseos
sudo.x86_64 1.8.29-6.el8 @rhel-8-baseos
systemd.x86_64 239-40.el8 @rhel-8-baseos
systemd-libs.x86_64 239-40.el8 @rhel-8-baseos
systemd-pam.x86_64 239-40.el8 @rhel-8-baseos
systemd-udev.x86_64 239-40.el8 @rhel-8-baseos
tar.x86_64 2:1.30-5.el8 @rhel-8-baseos
teamd.x86_64 1.31-2.el8 @rhel-8-baseos
timedatex.x86_64 0.5-3.el8 @rhel-8-baseos
trousers.x86_64 0.3.14-4.el8 @rhel-8-baseos
trousers-lib.x86_64 0.3.14-4.el8 @rhel-8-baseos
tuned.noarch 2.14.0-3.el8 @rhel-8-baseos
tzdata.noarch 2020a-1.el8 @rhel-8-baseos
unbound-libs.x86_64 1.7.3-14.el8 @rhel-8-appstream
usermode.x86_64 1.113-1.el8 @rhel-8-baseos
util-linux.x86_64 2.32.1-24.el8 @rhel-8-baseos
vim-minimal.x86_64 2:8.0.1763-15.el8 @rhel-8-baseos
virt-what.x86_64 1.18-6.el8 @rhel-8-baseos
which.x86_64 2.21-12.el8 @rhel-8-baseos
xfsprogs.x86_64 5.0.0-4.el8 @rhel-8-baseos
xkeyboard-config.noarch 2.28-1.el8 @rhel-8-appstream
xz.x86_64 5.2.4-3.el8 @rhel-8-baseos
xz-libs.x86_64 5.2.4-3.el8 @rhel-8-baseos
yum.noarch 4.2.23-4.el8 @rhel-8-baseos
yum-utils.noarch 4.0.17-5.el8 @rhel-8-baseos
zlib.x86_64 1.2.11-16.el8_2 @rhel-8-baseos
- Subscription登録
今回は、ISOファイルでパッケージを更新したので、サブスクリプション登録は、コンバート後に行う必要がある
# yum install subscription-manager
# subscription-manager register
登録中: subscription.rhsm.redhat.com:443/subscription
:
convert2rhelは、CentOSがインターネット接続できる環境であれば、変換時にサブスクリプションを登録しながら、変換パッケージリポジトリとして、RHELのリポジトリを使うことも可能。
# convert2rhel -h
Usage:
convert2rhel [-h]
convert2rhel [-u username] [-p password | -f pswd_file] [--pool pool_id | -a] [--disablerepo repoid] [--enablerepo repoid] [-v variant] [--serverurl url] [--no-rpm-va] [--debug] [--restart] [-y]
convert2rhel [--disable-submgr] [--disablerepo repoid] [--enablerepo repoid] [--no-rpm-va] [--debug] [--restart] [-y]
convert2rhel [-k key] [-o organization] [--pool pool_id | -a] [--disablerepo repoid] [--enablerepo repoid] [-v variant] [--serverurl url] [--no-rpm-va] [--debug] [--restart] [-y]
Options:
-h, --help Show help message and exit.
--debug Print traceback in case of an abnormal exit and
messages that could help find an issue.
--no-rpm-va Skip gathering changed rpm files using 'rpm -Va'. By
default it's performed before and after the conversion
with the output stored in log files rpm_va.log and
rpm_va_after_conversion.log. At the end of the
conversion, these logs are compared to show you what
rpm files have been affected by the conversion.
--enablerepo=repoidglob
Enable specific repositories by ID or glob. For more
repositories to enable, use this option multiple
times. If you don't use the --disable-submgr option,
you can use this option to override the default RHEL
CDN repoids that convert2rhel enables through
subscription-manager.
--disablerepo=repoidglob
Disable specific repositories by ID or glob. For more
repositories to disable, use this option multiple
times. This option defaults to all repositories ('*').
Subscription Manager Options:
The following options are specific tousing subscription-manager.
-u USERNAME, --username=USERNAME
Username for the subscription-manager. If neither
--username nor --activation-key option is used, the
user is asked to enter the username.
-p PASSWORD, --password=PASSWORD
Password for the subscription-manager. If --password,
--password-from-file or --activationkey are not used,
the user is asked to enter the password.
-f PASSWORD_FROM_FILE, --password-from-file=PASSWORD_FROM_FILE
File containing password for the subscription-manager
in the plain text form. It's an alternative to the
--password option.
-k ACTIVATIONKEY, --activationkey=ACTIVATIONKEY
Activation key used for the system registration by the
subscription-manager. It requires to have the --org
option specified.
-o ORG, --org=ORG Organization with which the system will be registered
by the subscription-manager. A list of available
organizations is possible to obtain by running
'subscription-manager orgs'. From the listed pairs
Name:Key, use the Key here.
-a, --auto-attach Automatically attach compatible subscriptions to the
system.
--pool=POOL Subscription pool ID. If not used, the user is asked
to choose from the available subscriptions. A list of
the available subscriptions is possible to obtain by
running 'subscription-manager list --available'.
-v VARIANT, --variant=VARIANT
The RHEL variant to which the system will be
converted. Available variants are: Server, Client,
Workstation, ComputeNode. If not used, the user is
asked to choose a variant.
--serverurl=SERVERURL
Use a custom Red Hat Subscription Manager server URL
to register the system with. If not provided, the
subscription-manager defaults will be used.
Alternative Installation Options:
The following options are required if you do not intend on using
subscription-manager
--disable-submgr Do not use the subscription-manager, use custom
repositories instead. See --enablerepo/--disablerepo
options. Without this option, the subscription-manager
is used to access RHEL repositories by default. It
requires to have the --enablerepo specified.
Automation Options:
The following options are used to automate the installation
-r, --restart Restart the system when it is successfully converted
to RHEL to boot the new RHEL kernel.
-y Answer yes to all yes/no questions the tool asks.
トラブル
- ISOファイルのマウントポイント
簡易的に(というか適当に)やりすぎて、ISOのマウントポイントを/mnt
にしてしまい、filesystemパッケージの更新に失敗。
Installing : filesystem-2.4.30-3.el6.x86_64 1/1Error unpacking rpm package filesystem-2.4.30-3.el6.x86_64
error: unpacking of archive failed on file /mnt: cpio: chown
Verifying : filesystem-2.4.30-3.el6.x86_64 1/1
Failed:
Red HatのドキュメントにもKnown Issueへ追加されている。/mnt/media
であればOK。
The conversion fails if any files are mounted directly to the /mnt/ directory or if the /sys/ directory is mounted as read-only. (BZ#1887513)
- v0.14の不具合
v0.14のconvert2rhelを使ったところ、コンバートは完了するものの/etc/redhat-release
が変換されなかった。移行元がCentOS8.3の場合に起こる不具合のようで、v0.15で修正済み。