将 Fedora 40 升级到 41 后,docker-compose
不再可用。
当我尝试重新安装时sudo dnf install docker-compose
,会出现以下冲突:
- installed package docker-compose-plugin-2.29.7-1.fc41.x86_64 conflicts with docker-compose-plugin provided by docker-compose-2.29.7-1.fc41.x86_64 from fedora
- package docker-compose-2.29.7-1.fc41.x86_64 from fedora conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.2-1.fc41.x86_64 from docker-ce-stable
- package docker-compose-2.29.7-1.fc41.x86_64 from fedora conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.6-1.fc41.x86_64 from docker-ce-stable
- package docker-compose-2.29.7-1.fc41.x86_64 from fedora conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.7-1.fc41.x86_64 from docker-ce-stable
- installed package docker-compose-plugin-2.29.7-1.fc41.x86_64 conflicts with docker-compose-plugin provided by docker-compose-2.29.7-3.fc41.x86_64 from updates
- package docker-compose-2.29.7-3.fc41.x86_64 from updates conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.2-1.fc41.x86_64 from docker-ce-stable
- package docker-compose-2.29.7-3.fc41.x86_64 from updates conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.6-1.fc41.x86_64 from docker-ce-stable
- package docker-compose-2.29.7-3.fc41.x86_64 from updates conflicts with docker-compose-plugin provided by docker-compose-plugin-2.29.7-1.fc41.x86_64 from docker-ce-stable
--allowerasing
使用或运行命令行--skip-broken
也不起作用。
我也尝试过(但没有成功):
- 移除/重新安装
docker-compose-plugin
- 按照文档删除/重新安装 Docker(https://docs.docker.com/engine/install/fedora)
我还能做什么来再次找到docker-compose
工作?