CentOS 8をAlmaLinuxに移行する(両方をインストールすることはできません))

CentOS 8をAlmaLinuxに移行する(両方をインストールすることはできません))

Centos が EOL に近づいているため、AlmaLinux に移行することにしました。移行プロセスを開始しましたが、いくつかエラーが発生しました。

[root@19827364 ~]# dnf distro-sync -y
Last metadata expiration check: 4:35:36 ago on Thu 23 Sep 2021 06:29:49 PM +03.
Error:
 Problem 1: package libdb-devel-5.3.28-42.el8_4.x86_64 requires libdb(x86-64) = 5.3.28-42.el8_4, but none of the providers can be installed
  - cannot install both libdb-5.3.28-40.el8.x86_64 and libdb-5.3.28-42.el8_4.x86_64
  - cannot install both libdb-5.3.28-42.el8_4.x86_64 and libdb-5.3.28-40.el8.x86_64
  - cannot install the best update candidate for package libdb-devel-5.3.28-42.el8_4.x86_64
  - cannot install the best update candidate for package libdb-5.3.28-42.el8_4.x86_64
 Problem 2: package libstdc++-devel-8.4.1-1.el8.alma.x86_64 requires libstdc++(x86-64) = 8.4.1-1.el8.alma, but none of the providers can be installed
  - cannot install both libstdc++-8.4.1-1.el8.x86_64 and libstdc++-8.4.1-1.el8.alma.x86_64
  - cannot install both libstdc++-8.4.1-1.el8.alma.x86_64 and libstdc++-8.4.1-1.el8.x86_64
  - cannot install the best update candidate for package libstdc++-devel-8.4.1-1.el8.alma.x86_64
  - cannot install the best update candidate for package libstdc++-8.4.1-1.el8.alma.x86_64
 Problem 3: libgcc-8.4.1-1.el8.alma.i686 has inferior architecture
  - package gcc-8.4.1-1.el8.alma.x86_64 requires libgcc >= 8.4.1-1.el8.alma, but none of the providers can be installed
  - cannot install both libgcc-8.4.1-1.el8.x86_64 and libgcc-8.4.1-1.el8.alma.x86_64
  - cannot install both libgcc-8.4.1-1.el8.alma.x86_64 and libgcc-8.4.1-1.el8.x86_64
  - cannot install the best update candidate for package libgcc-8.4.1-1.el8.alma.x86_64
  - cannot install the best update candidate for package gcc-8.4.1-1.el8.alma.x86_64
 Problem 4: problem with installed package gcc-8.4.1-1.el8.alma.x86_64
  - package gcc-8.4.1-1.el8.alma.x86_64 requires libgomp = 8.4.1-1.el8.alma, but none of the providers can be installed
  - libgomp-8.4.1-1.el8.alma.i686 has inferior architecture
  - package gcc-8.4.1-1.el8.x86_64 requires cpp = 8.4.1-1.el8, but none of the providers can be installed
  - package gcc-8.2.1-3.5.el8.x86_64 requires cpp = 8.2.1-3.5.el8, but none of the providers can be installed
  - cannot install both libgomp-8.4.1-1.el8.x86_64 and libgomp-8.4.1-1.el8.alma.x86_64
  - cannot install both libgomp-8.4.1-1.el8.alma.x86_64 and libgomp-8.4.1-1.el8.x86_64
  - cannot install both cpp-8.4.1-1.el8.x86_64 and cpp-8.4.1-1.el8.alma.x86_64
  - cannot install both cpp-8.2.1-3.5.el8.x86_64 and cpp-8.4.1-1.el8.alma.x86_64
  - cannot install the best update candidate for package libgomp-8.4.1-1.el8.alma.x86_64
  - cannot install the best update candidate for package cpp-8.4.1-1.el8.alma.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

2 つのパッケージを同時にインストールすることはできないことはわかっています。 そのため、古いパッケージを削除しようとしましたが、プライベート パッケージ (sudo) を削除しようとしているというメッセージが表示されます。

上記のエラーに記載されているパッケージをそれぞれダウングレード/アップグレードしてみましたが、何も変わりませんでした。その後、その問題について Google で検索しましたが、この問題に関する詳細情報はないようです。

どなたか助けていただけませんか? よろしくお願いします。

関連情報