问题如下所述,我电脑明明装的就是下面提示的版本,为啥 会报错呢?
Problem 2: package docker-25.0.3-10.oe2403.x86_64 from @System requires docker-engine =
25.0.3-10.oe2403, but none of the providers can be installed
cannot install both docker-engine-2:18.09.0-340.oe2403.x86_64 from update and docker
-engine-25.0.3-10.oe2403.x86_64 from @System
cannot install both docker-engine-25.0.3-10.oe2403.x86_64 from update and docker-eng
ine-2:18.09.0-340.oe2403.x86_64 from update
# 先安装 docker,默认会安装 docker-25.0.3-10
$ yum install docker
# 再执行更新命令
$ dnf update
Last metadata expiration check: 0:10:27 ago on Tue 03 Dec 2024 05:10:45 PM CST.
Error:
Problem: package docker-25.0.3-10.oe2403.x86_64 from @System requires docker-engine = 25.0.3-10.oe2403, but none of the providers can be installed
- cannot install both docker-engine-2:18.09.0-340.oe2403.x86_64 from update and docker-engine-25.0.3-10.oe2403.x86_64 from @System
- cannot install both docker-engine-25.0.3-10.oe2403.x86_64 from update and docker-engine-2:18.09.0-340.oe2403.x86_64 from update
- cannot install both docker-engine-25.0.3-10.oe2403.x86_64 from openEuler-update and docker-engine-2:18.09.0-340.oe2403.x86_64 from update
- cannot install the best update candidate for package docker-engine-25.0.3-10.oe2403.x86_64
- cannot install the best update candidate for package docker-25.0.3-10.oe2403.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)