
由於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)
我知道不可能同時安裝兩個軟體包。因此,我嘗試刪除舊的包,但它說我正在嘗試刪除私有包(sudo)!
我嘗試降級/升級上述錯誤中提到的包的每個包,但沒有任何改變!然後我用谷歌搜尋了這個問題,但似乎沒有關於這個問題的進一步資訊。
有人可以幫忙嗎?謝謝。