由于 Centos 即将停产,我决定迁移到 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)!!
我尝试降级/升级上述错误中提到的每个软件包,但没有任何变化!然后我在 Google 上搜索了这个问题,但似乎没有关于这个问题的更多信息。
有人可以帮忙吗?谢谢。