Introduction
This article is focusing on how to solve an error message occurs on installing podman in a virtual server. The virtual server is running in a VirtualBox application. Furthermore, it runs using Linux CentOS 8 operating system. Actually, the following is the execution of the command for installing podman where it is triggering an error message :
[root@10 docker]# yum -y install podman Last metadata expiration check: 2:44:27 ago on Wed 07 Apr 2021 10:19:37 PM EDT. Error: Problem: problem with installed package containerd.io-1.4.4-3.1.el8.x86_64 - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - installed package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.3.7-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.3.7-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.3.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.3.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64 - package podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed - conflicting requests - package runc-1.0.0-64.rc10.module_el8.3.0+479+69e2ae26.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) [root@10 docker]#
Actually, The error above occurs when there is already another container tool available in the operating system. In this case, docker has already available in the operating system.
Solution
In order to solve the problem, the solution is simple. It is also part of the podman installation exist in this link. That link will direct to the podman page for installation instruction for installing podman. It instruct to disable the container-tools. Just execute the following command :
[root@10 docker]# dnf -y module disable container-tools Last metadata expiration check: 2:46:40 ago on Wed 07 Apr 2021 10:19:37 PM EDT. Dependencies resolved. ============================================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================================ Disabling modules: container-tools Transaction Summary ============================================================================================================================================================================ Complete! [root@10 docker]#
And the next step is to perform update on the virtual server by executing the following command :
[root@10 ~]# sudo dnf -y update Last metadata expiration check: 0:08:14 ago on Thu 08 Apr 2021 01:26:47 AM EDT. Dependencies resolved. ============================================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================================ Upgrading: fuse-overlayfs x86_64 1.5.0-1.el8.5.1 devel_kubic_libcontainers_stable 73 k libslirp x86_64 4.3.1-4.el8.4.2 devel_kubic_libcontainers_stable 241 k nodejs x86_64 2:14.16.1-1nodesource nodesource 32 M openssl x86_64 1:1.1.1g-15.el8_3 baseos 707 k openssl-libs x86_64 1:1.1.1g-15.el8_3 baseos 1.5 M slirp4netns x86_64 1.1.8-4.el8.7.3 devel_kubic_libcontainers_stable 55 k Transaction Summary ============================================================================================================================================================================ Upgrade 6 Packages Total download size: 34 M Downloading Packages: (1/6): openssl-1.1.1g-15.el8_3.x86_64.rpm 324 kB/s | 707 kB 00:02 (2/6): fuse-overlayfs-1.5.0-1.el8.5.1.x86_64.rpm 25 kB/s | 73 kB 00:02 (3/6): openssl-libs-1.1.1g-15.el8_3.x86_64.rpm 505 kB/s | 1.5 MB 00:02 (4/6): slirp4netns-1.1.8-4.el8.7.3.x86_64.rpm 36 kB/s | 55 kB 00:01 (5/6): libslirp-4.3.1-4.el8.4.2.x86_64.rpm 46 kB/s | 241 kB 00:05 (6/6): nodejs-14.16.1-1nodesource.x86_64.rpm 1.0 MB/s | 32 MB 00:30 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 973 kB/s | 34 MB 00:36 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : libslirp-4.3.1-4.el8.4.2.x86_64 1/12 Upgrading : openssl-libs-1:1.1.1g-15.el8_3.x86_64 2/12 Running scriptlet: openssl-libs-1:1.1.1g-15.el8_3.x86_64 2/12 Upgrading : openssl-1:1.1.1g-15.el8_3.x86_64 3/12 Upgrading : slirp4netns-1.1.8-4.el8.7.3.x86_64 4/12 Running scriptlet: nodejs-2:14.16.1-1nodesource.x86_64 5/12 Detected old npm client, removing... Upgrading : nodejs-2:14.16.1-1nodesource.x86_64 5/12 Upgrading : fuse-overlayfs-1.5.0-1.el8.5.1.x86_64 6/12 Running scriptlet: fuse-overlayfs-1.5.0-1.el8.5.1.x86_64 6/12 Cleanup : openssl-1:1.1.1g-12.el8_3.x86_64 7/12 Cleanup : slirp4netns-1.1.8-1.module_el8.3.0+699+d61d9c41.x86_64 8/12 Cleanup : libslirp-4.3.1-1.module_el8.3.0+475+c50ce30b.x86_64 9/12 Cleanup : openssl-libs-1:1.1.1g-12.el8_3.x86_64 10/12 Running scriptlet: openssl-libs-1:1.1.1g-12.el8_3.x86_64 10/12 Cleanup : nodejs-2:14.16.0-1nodesource.x86_64 11/12 Cleanup : fuse-overlayfs-1.3.0-2.module_el8.3.0+699+d61d9c41.x86_64 12/12 Running scriptlet: fuse-overlayfs-1.3.0-2.module_el8.3.0+699+d61d9c41.x86_64 12/12 Verifying : openssl-1:1.1.1g-15.el8_3.x86_64 1/12 Verifying : openssl-1:1.1.1g-12.el8_3.x86_64 2/12 Verifying : openssl-libs-1:1.1.1g-15.el8_3.x86_64 3/12 Verifying : openssl-libs-1:1.1.1g-12.el8_3.x86_64 4/12 Verifying : fuse-overlayfs-1.5.0-1.el8.5.1.x86_64 5/12 Verifying : fuse-overlayfs-1.3.0-2.module_el8.3.0+699+d61d9c41.x86_64 6/12 Verifying : libslirp-4.3.1-4.el8.4.2.x86_64 7/12 Verifying : libslirp-4.3.1-1.module_el8.3.0+475+c50ce30b.x86_64 8/12 Verifying : slirp4netns-1.1.8-4.el8.7.3.x86_64 9/12 Verifying : slirp4netns-1.1.8-1.module_el8.3.0+699+d61d9c41.x86_64 10/12 Verifying : nodejs-2:14.16.1-1nodesource.x86_64 11/12 Verifying : nodejs-2:14.16.0-1nodesource.x86_64 12/12 Upgraded: fuse-overlayfs-1.5.0-1.el8.5.1.x86_64 libslirp-4.3.1-4.el8.4.2.x86_64 nodejs-2:14.16.1-1nodesource.x86_64 openssl-1:1.1.1g-15.el8_3.x86_64 openssl-libs-1:1.1.1g-15.el8_3.x86_64 slirp4netns-1.1.8-4.el8.7.3.x86_64 Complete! [root@10 ~]#
Continue on from the above step, just execute the command for podman installation. For further information, just access the following article in this link. It is an article with the title of ‘How to Install Podman in Linux CentOS 8’.