RHEL 8.4 に Veeam Agent for Linux 5.0 をインストールしようとしてハマったのでメモ。
(最終的な手順は 結論 にまとめた)
RHEL 8.4 は AWS に構築。
AMIは「Red Hat Enterprise Linux 8 (HVM), SSD Volume Type」の 64ビット(x86)を選択。
ボリュームサイズは 20 GB。
Veeam Agent for Linux に必要なソフトウェアは以下に記載されている。
RHEL の場合は以下が必要と思われる。
・dkms
・gcc
・make
・perl
・kernel-headers (for RedHat-based systems)
・kernel-devel (for RedHat-based systems)
・libudev
・libacl
・libattr
・lvm2
・libfuse
・libncurses5
・dmidecode
・libmysqlclient
・libpq5
・python3
・efibootmgr (for UEFI-based systems)
・syslinux (for RedHat-based systems)
・wget (for custom Veeam Recovery Media)
・xorriso (for custom Veeam Recovery Media with EFI support)
インストール手順は以下。
rpm -i <...> / kmod-veeamsnap-5.0.2.4567-4.18.0_80.el8.x86_64.rpm
rpm -i <...> / veeam-5.0.2.4567-1.el8.x86_64.rpmaa
※<...> は VeeamAgentパッケージを保存したディレクトリへのパス。
Veaam Agent for Linux のパッケージは以下のサイトから
kmod-veeamsnap-5.0.2.4567-4.18.0_80.el8.x86_64.rpm
veeam-5.0.2.4567-1.el8.x86_64.rpm
をダウンロードして /tmp に置く。
/tmp に移動してインストール開始。
[root@frederic ~]# cd /tmp
[root@frederic tmp]# rpm -i kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
warning: kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
error: Failed dependencies:
/usr/bin/python3 is needed by kmod-veeamsnap-5.0.2.4567-1.el8.x86_64
python3 is needed by kmod-veeamsnap-5.0.2.4567-1.el8.x86_64
[root@frederic tmp]#
「/usr/bin/python3、python3 が必要です」というメッセージが出てエラー。
RHEL8 では Python はインストールされていない(システムツールで使用される「Platform-Python」の /usr/libexec/platform-python はある)ため。
Python 3.9 をインストールする。
[root@frederic tmp]# yum install python39
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:03:18 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
python39 x86_64 3.9.6-2.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 33 k
Upgrading:
chkconfig x86_64 1.19.1-1.el8 rhel-8-baseos-rhui-rpms 198 k
Installing dependencies:
python39-libs x86_64 3.9.6-2.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 8.2 M
python39-pip-wheel noarch 20.2.4-6.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 1.3 M
python39-setuptools-wheel noarch 50.3.2-4.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 497 k
Installing weak dependencies:
python39-pip noarch 20.2.4-6.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 2.0 M
python39-setuptools noarch 50.3.2-4.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 871 k
Enabling module streams:
python39 3.9
Transaction Summary
==============================================================================================================================
Install 6 Packages
Upgrade 1 Package
Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch.rpm 8.1 MB/s | 871 kB 00:00
(2/7): python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64.rpm 3.2 MB/s | 33 kB 00:00
(3/7): python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch.rpm 14 MB/s | 2.0 MB 00:00
(4/7): python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch.rpm 24 MB/s | 1.3 MB 00:00
(5/7): python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch.rpm 18 MB/s | 497 kB 00:00
(6/7): chkconfig-1.19.1-1.el8.x86_64.rpm 13 MB/s | 198 kB 00:00
(7/7): python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64.rpm 25 MB/s | 8.2 MB 00:00
------------------------------------------------------------------------------------------------------------------------------
Total 31 MB/s | 13 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : chkconfig-1.19.1-1.el8.x86_64 1/8
Installing : python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch 2/8
Installing : python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch 3/8
Installing : python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 4/8
Installing : python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 5/8
Running scriptlet: python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 5/8
Installing : python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Running scriptlet: python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Installing : python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 7/8
Running scriptlet: python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 7/8
Cleanup : chkconfig-1.13-2.el8.x86_64 8/8
Running scriptlet: chkconfig-1.13-2.el8.x86_64 8/8
Verifying : python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 1/8
Verifying : python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 2/8
Verifying : python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 3/8
Verifying : python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 4/8
Verifying : python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch 5/8
Verifying : python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Verifying : chkconfig-1.19.1-1.el8.x86_64 7/8
Verifying : chkconfig-1.13-2.el8.x86_64 8/8
Installed products updated.
Upgraded:
chkconfig-1.19.1-1.el8.x86_64
Installed:
python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64
python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64
python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch
python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch
python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch
python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch
Complete!
[root@frederic tmp]#
再度 Veeam Agent のインストール。
[root@frederic tmp]# rpm -i kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
warning: kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
error: Failed dependencies:
python3 is needed by kmod-veeamsnap-5.0.2.4567-1.el8.x86_64
[root@frederic tmp]#
「python3 が必要です」というメッセージが出てエラー。
Python 3.9 をインストールしたはずなのに何故なのか。
1つ前の Python 3.8 をインストールする。
[root@frederic tmp]# yum install python38
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:06:53 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================
Installing:
python38 x86_64 3.8.8-4.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 79 k
Installing dependencies:
python38-libs x86_64 3.8.8-4.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 8.3 M
python38-pip-wheel noarch 19.3.1-4.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 1.2 M
python38-setuptools-wheel noarch 41.6.0-5.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 304 k
Installing weak dependencies:
python38-pip noarch 19.3.1-4.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 1.9 M
python38-setuptools noarch 41.6.0-5.module+el8.5.0+12205+a865257a rhel-8-appstream-rhui-rpms 668 k
Transaction Summary
==================================================================================================================================
Install 6 Packages
Total download size: 12 M
Installed size: 45 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): python38-setuptools-wheel-41.6.0-5.module+el8.5.0+12205+a865257a.noarch.rpm 3.0 MB/s | 304 kB 00:00
(2/6): python38-pip-19.3.1-4.module+el8.5.0+12205+a865257a.noarch.rpm 12 MB/s | 1.9 MB 00:00
(3/6): python38-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a.noarch.rpm 9.9 MB/s | 668 kB 00:00
(4/6): python38-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64.rpm 6.1 MB/s | 79 kB 00:00
(5/6): python38-pip-wheel-19.3.1-4.module+el8.5.0+12205+a865257a.noarch.rpm 24 MB/s | 1.2 MB 00:00
(6/6): python38-libs-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64.rpm 23 MB/s | 8.3 MB 00:00
----------------------------------------------------------------------------------------------------------------------------------
Total 31 MB/s | 12 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python38-pip-wheel-19.3.1-4.module+el8.5.0+12205+a865257a.noarch 1/6
Installing : python38-setuptools-wheel-41.6.0-5.module+el8.5.0+12205+a865257a.noarch 2/6
Installing : python38-libs-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64 3/6
Installing : python38-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64 4/6
Running scriptlet: python38-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64 4/6
Installing : python38-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a.noarch 5/6
Running scriptlet: python38-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a.noarch 5/6
Installing : python38-pip-19.3.1-4.module+el8.5.0+12205+a865257a.noarch 6/6
Running scriptlet: python38-pip-19.3.1-4.module+el8.5.0+12205+a865257a.noarch 6/6
Verifying : python38-setuptools-wheel-41.6.0-5.module+el8.5.0+12205+a865257a.noarch 1/6
Verifying : python38-libs-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64 2/6
Verifying : python38-pip-19.3.1-4.module+el8.5.0+12205+a865257a.noarch 3/6
Verifying : python38-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a.noarch 4/6
Verifying : python38-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64 5/6
Verifying : python38-pip-wheel-19.3.1-4.module+el8.5.0+12205+a865257a.noarch 6/6
Installed products updated.
Installed:
python38-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64
python38-libs-3.8.8-4.module+el8.5.0+12205+a865257a.x86_64
python38-pip-19.3.1-4.module+el8.5.0+12205+a865257a.noarch
python38-pip-wheel-19.3.1-4.module+el8.5.0+12205+a865257a.noarch
python38-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a.noarch
python38-setuptools-wheel-41.6.0-5.module+el8.5.0+12205+a865257a.noarch
Complete!
[root@frederic tmp]#
再々度 Veeam Agent のインストール。
[root@frederic tmp]# rpm -i kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
warning: kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
error: Failed dependencies:
python3 is needed by kmod-veeamsnap-5.0.2.4567-1.el8.x86_64
[root@frederic tmp]#
また「python3 が必要です」でエラー。
Python 3.9、3.8 ではダメなのか。
さらに前の Python 3.6 をインストールする(3.7 も試したかったが yum install python37 ではマッチするパッケージがないというエラーが出たため断念)。
[root@frederic tmp]# yum install python36
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:07:57 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================
Installing:
python36 x86_64 3.6.8-38.module+el8.5.0+12207+5c5719bc rhel-8-appstream-rhui-rpms 19 k
Installing dependencies:
python3-pip noarch 9.0.3-19.el8 rhel-8-appstream-rhui-rpms 20 k
python3-setuptools noarch 39.2.0-6.el8 rhel-8-baseos-rhui-rpms 163 k
Transaction Summary
==================================================================================================================================
Install 3 Packages
Total download size: 202 k
Installed size: 466 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): python3-pip-9.0.3-19.el8.noarch.rpm 330 kB/s | 20 kB 00:00
(2/3): python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm 313 kB/s | 19 kB 00:00
(3/3): python3-setuptools-39.2.0-6.el8.noarch.rpm 2.1 MB/s | 163 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 202 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-setuptools-39.2.0-6.el8.noarch 1/3
Installing : python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64 2/3
Running scriptlet: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64 2/3
Installing : python3-pip-9.0.3-19.el8.noarch 3/3
Running scriptlet: python3-pip-9.0.3-19.el8.noarch 3/3
Verifying : python3-pip-9.0.3-19.el8.noarch 1/3
Verifying : python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64 2/3
Verifying : python3-setuptools-39.2.0-6.el8.noarch 3/3
Installed products updated.
Installed:
python3-pip-9.0.3-19.el8.noarch python3-setuptools-39.2.0-6.el8.noarch python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64
Complete!
[root@frederic tmp]#
再々々度 Veeam Agent のインストール。
[root@frederic tmp]# rpm -i kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
warning: kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
[root@frederic tmp]# yum list installed | grep kmod-veeamsnap
kmod-veeamsnap.x86_64 5.0.2.4567-1.el8 @@System
[root@frederic tmp]#
ようやくインストールできた。
yum install python36 でインストールされた
python3-pip-9.0.3-19.el8.noarch.rpm
python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm
python3-setuptools-39.2.0-6.el8.noarch.rpm
が必要らしい。
でも、このうちどれが必要かどうかが分からなかったので1つずつ試してみた。
結果、python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64 だけあれば
kmod-veeamsnap のインストールはできた。
pythonpython36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm だけをインストールするには以下のようにする。
[root@frederic tmp]# yum install --downloadonly --downloaddir=/tmp python36
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:08:55 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================
Installing:
python36 x86_64 3.6.8-38.module+el8.5.0+12207+5c5719bc rhel-8-appstream-rhui-rpms 19 k
Installing dependencies:
python3-pip noarch 9.0.3-19.el8 rhel-8-appstream-rhui-rpms 20 k
python3-setuptools noarch 39.2.0-6.el8 rhel-8-baseos-rhui-rpms 163 k
Transaction Summary
==================================================================================================================================
Install 3 Packages
Total download size: 202 k
Installed size: 466 k
YUM will only download packages for the transaction.
Is this ok [y/N]: y
Downloading Packages:
(1/3): python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm 315 kB/s | 19 kB 00:00
(2/3): python3-pip-9.0.3-19.el8.noarch.rpm 305 kB/s | 20 kB 00:00
(3/3): python3-setuptools-39.2.0-6.el8.noarch.rpm 2.3 MB/s | 163 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------
Total 1.2 MB/s | 202 kB 00:00
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
[root@frederic tmp]# ls -ltr
total 70896
-rw-r--r--. 1 root root 116820 Jan 30 02:34 kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
-rw-r--r--. 1 root root 72267024 Jan 30 02:34 veeam-5.0.2.4567-1.el8.x86_64.rpm
-rw-r--r--. 1 root root 19858 Jan 30 14:32 python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm
-rw-r--r--. 1 root root 20208 Jan 30 14:32 python3-pip-9.0.3-19.el8.noarch.rpm
-rw-r--r--. 1 root root 166548 Jan 30 14:32 python3-setuptools-39.2.0-6.el8.noarch.rpm
[root@frederic tmp]# rpm -i python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm
error: Failed dependencies:
python3-pip is needed by python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64
python3-setuptools is needed by python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64
[root@frederic tmp]# rpm -i python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm --nodeps
[root@frederic tmp]# rpm -qa | grep python36-3.6.8-38.module
python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64
[root@frederic tmp]#
結論
従って、RHEL8 の Veeam Agent for Linux インストール手順をまとめると以下のようになる。
[root@frederic tmp]# yum install python39
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:03:18 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
python39 x86_64 3.9.6-2.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 33 k
Upgrading:
chkconfig x86_64 1.19.1-1.el8 rhel-8-baseos-rhui-rpms 198 k
Installing dependencies:
python39-libs x86_64 3.9.6-2.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 8.2 M
python39-pip-wheel noarch 20.2.4-6.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 1.3 M
python39-setuptools-wheel noarch 50.3.2-4.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 497 k
Installing weak dependencies:
python39-pip noarch 20.2.4-6.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 2.0 M
python39-setuptools noarch 50.3.2-4.module+el8.5.0+12204+54860423 rhel-8-appstream-rhui-rpms 871 k
Enabling module streams:
python39 3.9
Transaction Summary
==============================================================================================================================
Install 6 Packages
Upgrade 1 Package
Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch.rpm 8.1 MB/s | 871 kB 00:00
(2/7): python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64.rpm 3.2 MB/s | 33 kB 00:00
(3/7): python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch.rpm 14 MB/s | 2.0 MB 00:00
(4/7): python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch.rpm 24 MB/s | 1.3 MB 00:00
(5/7): python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch.rpm 18 MB/s | 497 kB 00:00
(6/7): chkconfig-1.19.1-1.el8.x86_64.rpm 13 MB/s | 198 kB 00:00
(7/7): python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64.rpm 25 MB/s | 8.2 MB 00:00
------------------------------------------------------------------------------------------------------------------------------
Total 31 MB/s | 13 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : chkconfig-1.19.1-1.el8.x86_64 1/8
Installing : python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch 2/8
Installing : python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch 3/8
Installing : python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 4/8
Installing : python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 5/8
Running scriptlet: python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 5/8
Installing : python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Running scriptlet: python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Installing : python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 7/8
Running scriptlet: python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 7/8
Cleanup : chkconfig-1.13-2.el8.x86_64 8/8
Running scriptlet: chkconfig-1.13-2.el8.x86_64 8/8
Verifying : python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch 1/8
Verifying : python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch 2/8
Verifying : python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 3/8
Verifying : python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64 4/8
Verifying : python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch 5/8
Verifying : python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch 6/8
Verifying : chkconfig-1.19.1-1.el8.x86_64 7/8
Verifying : chkconfig-1.13-2.el8.x86_64 8/8
Installed products updated.
Upgraded:
chkconfig-1.19.1-1.el8.x86_64
Installed:
python39-3.9.6-2.module+el8.5.0+12204+54860423.x86_64
python39-libs-3.9.6-2.module+el8.5.0+12204+54860423.x86_64
python39-pip-20.2.4-6.module+el8.5.0+12204+54860423.noarch
python39-pip-wheel-20.2.4-6.module+el8.5.0+12204+54860423.noarch
python39-setuptools-50.3.2-4.module+el8.5.0+12204+54860423.noarch
python39-setuptools-wheel-50.3.2-4.module+el8.5.0+12204+54860423.noarch
Complete!
[root@frederic tmp]#
[root@frederic tmp]# yum install --downloadonly --downloaddir=/tmp python36
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:08:55 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================
Installing:
python36 x86_64 3.6.8-38.module+el8.5.0+12207+5c5719bc rhel-8-appstream-rhui-rpms 19 k
Installing dependencies:
python3-pip noarch 9.0.3-19.el8 rhel-8-appstream-rhui-rpms 20 k
python3-setuptools noarch 39.2.0-6.el8 rhel-8-baseos-rhui-rpms 163 k
Transaction Summary
==================================================================================================================================
Install 3 Packages
Total download size: 202 k
Installed size: 466 k
YUM will only download packages for the transaction.
Is this ok [y/N]: y
Downloading Packages:
(1/3): python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm 315 kB/s | 19 kB 00:00
(2/3): python3-pip-9.0.3-19.el8.noarch.rpm 305 kB/s | 20 kB 00:00
(3/3): python3-setuptools-39.2.0-6.el8.noarch.rpm 2.3 MB/s | 163 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------
Total 1.2 MB/s | 202 kB 00:00
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
[root@frederic tmp]# ls -ltr
total 70896
-rw-r--r--. 1 root root 116820 Jan 30 02:34 kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
-rw-r--r--. 1 root root 72267024 Jan 30 02:34 veeam-5.0.2.4567-1.el8.x86_64.rpm
-rw-r--r--. 1 root root 19858 Jan 30 14:32 python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm
-rw-r--r--. 1 root root 20208 Jan 30 14:32 python3-pip-9.0.3-19.el8.noarch.rpm
-rw-r--r--. 1 root root 166548 Jan 30 14:32 python3-setuptools-39.2.0-6.el8.noarch.rpm
[root@frederic tmp]# rpm -i python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64.rpm --nodeps
[root@frederic tmp]# rpm -qa | grep python36-3.6.8-38.module
python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64
[root@frederic tmp]#
[root@frederic tmp]# rpm -i kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm
warning: kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
[root@frederic tmp]# rpm -i veeam-5.0.2.4567-1.el8.x86_64.rpm
warning: veeam-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
error: Failed dependencies:
lvm2 is needed by veeam-5.0.2.4567-1.el8.x86_64
[root@frederic tmp]# yum install lvm2
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:11:21 ago on Sun 30 Jan 2022 02:08:25 PM UTC.
Dependencies resolved.
==============================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================
Installing:
lvm2 x86_64 8:2.03.12-10.el8 rhel-8-baseos-rhui-rpms 1.6 M
Upgrading:
device-mapper x86_64 8:1.02.177-10.el8 rhel-8-baseos-rhui-rpms 377 k
device-mapper-libs x86_64 8:1.02.177-10.el8 rhel-8-baseos-rhui-rpms 409 k
Installing dependencies:
device-mapper-event x86_64 8:1.02.177-10.el8 rhel-8-baseos-rhui-rpms 271 k
device-mapper-event-libs x86_64 8:1.02.177-10.el8 rhel-8-baseos-rhui-rpms 270 k
device-mapper-persistent-data x86_64 0.9.0-4.el8 rhel-8-baseos-rhui-rpms 925 k
libaio x86_64 0.3.112-1.el8 rhel-8-baseos-rhui-rpms 33 k
lvm2-libs x86_64 8:2.03.12-10.el8 rhel-8-baseos-rhui-rpms 1.2 M
Transaction Summary
==============================================================================================================================
Install 6 Packages
Upgrade 2 Packages
Total download size: 5.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): libaio-0.3.112-1.el8.x86_64.rpm 500 kB/s | 33 kB 00:00
(2/8): device-mapper-event-1.02.177-10.el8.x86_64.rpm 3.4 MB/s | 271 kB 00:00
(3/8): device-mapper-event-libs-1.02.177-10.el8.x86_64.rpm 12 MB/s | 270 kB 00:00
(4/8): device-mapper-persistent-data-0.9.0-4.el8.x86_64.rpm 8.6 MB/s | 925 kB 00:00
(5/8): device-mapper-1.02.177-10.el8.x86_64.rpm 18 MB/s | 377 kB 00:00
(6/8): lvm2-2.03.12-10.el8.x86_64.rpm 22 MB/s | 1.6 MB 00:00
(7/8): lvm2-libs-2.03.12-10.el8.x86_64.rpm 22 MB/s | 1.2 MB 00:00
(8/8): device-mapper-libs-1.02.177-10.el8.x86_64.rpm 13 MB/s | 409 kB 00:00
------------------------------------------------------------------------------------------------------------------------------
Total 26 MB/s | 5.0 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libaio-0.3.112-1.el8.x86_64 1/10
Upgrading : device-mapper-libs-8:1.02.177-10.el8.x86_64 2/10
Upgrading : device-mapper-8:1.02.177-10.el8.x86_64 3/10
Installing : device-mapper-event-libs-8:1.02.177-10.el8.x86_64 4/10
Installing : device-mapper-event-8:1.02.177-10.el8.x86_64 5/10
Running scriptlet: device-mapper-event-8:1.02.177-10.el8.x86_64 5/10
Installing : lvm2-libs-8:2.03.12-10.el8.x86_64 6/10
Installing : device-mapper-persistent-data-0.9.0-4.el8.x86_64 7/10
Installing : lvm2-8:2.03.12-10.el8.x86_64 8/10
Running scriptlet: lvm2-8:2.03.12-10.el8.x86_64 8/10
Cleanup : device-mapper-8:1.02.175-5.el8.x86_64 9/10
Cleanup : device-mapper-libs-8:1.02.175-5.el8.x86_64 10/10
Running scriptlet: device-mapper-libs-8:1.02.175-5.el8.x86_64 10/10
Verifying : libaio-0.3.112-1.el8.x86_64 1/10
Verifying : device-mapper-event-8:1.02.177-10.el8.x86_64 2/10
Verifying : device-mapper-persistent-data-0.9.0-4.el8.x86_64 3/10
Verifying : lvm2-8:2.03.12-10.el8.x86_64 4/10
Verifying : device-mapper-event-libs-8:1.02.177-10.el8.x86_64 5/10
Verifying : lvm2-libs-8:2.03.12-10.el8.x86_64 6/10
Verifying : device-mapper-8:1.02.177-10.el8.x86_64 7/10
Verifying : device-mapper-8:1.02.175-5.el8.x86_64 8/10
Verifying : device-mapper-libs-8:1.02.177-10.el8.x86_64 9/10
Verifying : device-mapper-libs-8:1.02.175-5.el8.x86_64 10/10
Installed products updated.
Upgraded:
device-mapper-8:1.02.177-10.el8.x86_64 device-mapper-libs-8:1.02.177-10.el8.x86_64
Installed:
device-mapper-event-8:1.02.177-10.el8.x86_64 device-mapper-event-libs-8:1.02.177-10.el8.x86_64
device-mapper-persistent-data-0.9.0-4.el8.x86_64 libaio-0.3.112-1.el8.x86_64
lvm2-8:2.03.12-10.el8.x86_64 lvm2-libs-8:2.03.12-10.el8.x86_64
Complete!
[root@frederic tmp]# rpm -i veeam-5.0.2.4567-1.el8.x86_64.rpm
warning: veeam-5.0.2.4567-1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
Created symlink /etc/systemd/system/multi-user.target.wants/veeamservice.service → /usr/lib/systemd/system/veeamservice.service.
[root@frederic tmp]# yum list installed | grep veeam
kmod-veeamsnap.x86_64 5.0.2.4567-1.el8 @System
veeam.x86_64 5.0.2.4567-1.el8 @System
[root@frederic tmp]#
インストールが完了した。
しかし、python3 のバージョンが 3.6 になっている。
[root@frederic tmp]# python3 -V
Python 3.6.8
以下のようにして python 3.9 に変更する。
[root@frederic tmp]# alternatives --config python3
There are 2 programs which provide 'python3'.
Selection Command
-----------------------------------------------
1 /usr/bin/python3.9
*+ 2 /usr/bin/python3.6
Enter to keep the current selection[+], or type selection number: 1
[root@frederic tmp]# alternatives --config python3
There are 2 programs which provide 'python3'.
Selection Command
-----------------------------------------------
+ 1 /usr/bin/python3.9
* 2 /usr/bin/python3.6
Enter to keep the current selection[+], or type selection number:
[root@frederic tmp]# python3 -V
Python 3.9.6
[root@frederic tmp]#
以上で完了。