Loading... # CentOS8更新出现podman错误 ## 错误如下 ```bash root@Home: ~ # dnf update -y [15:32:10] Last metadata expiration check: 0:48:19 ago on Sun 10 Oct 2021 02:44:01 PM CST. Error: Problem: package podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64 - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64 - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64 - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64 - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64 - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64 - cannot install the best update candidate for package runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64 - cannot install the best update candidate for package podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64 - package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering - package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering - package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering - package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering (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) ``` ## 问题处理 其实呢,处理起来非常简单。直接解决冲突即可。 执行如下命令 ```bash sudo yum erase podman buildah ``` **注意** 上边命令如果在没有安装 podman 的情况下,如果出现如下提示。 ``` sudo yum erase podman buildah [15:30:10] No match for argument: podman No match for argument: buildah No packages marked for removal. Dependencies resolved. Nothing to do. Complete! ``` 如出现上边提示,那么安装一下 podman 即可。 ```bash dnf install podman -y --allowerasing ``` **安装完成后,再次执行依赖命令** ``` sudo yum erase podman buildah ``` 这样就可以了。 End Thanks!👌 最后修改:2021 年 10 月 10 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 0 如果觉得我的文章对你有用,请随意赞赏