Dependency errors of atomic-registries while installing Podman on RHEL 7.7 workstation

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7.7
  • Podman

Issue

  • Podman installation encounters the below dependency error on a RHEL 7.7 Workstation.
# yum install podman
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package podman.x86_64 0:1.4.4-3.el7 will be installed
--> Processing Dependency: atomic-registries >= 1.22.1-3 for package: podman-1.4.4-3.el7.x86_64
--> Processing Dependency: containernetworking-plugins >= 0.8.1-1 for package: podman-1.4.4-3.el7.x86_64
--> Processing Dependency: skopeo-containers >= 0.1.29-3 for package: podman-1.4.4-3.el7.x86_64
--> Processing Dependency: container-selinux for package: podman-1.4.4-3.el7.x86_64
--> Processing Dependency: runc for package: podman-1.4.4-3.el7.x86_64
--> Running transaction check
---> Package container-selinux.noarch 2:2.107-3.el7 will be installed
---> Package containernetworking-plugins.x86_64 0:0.8.1-2.el7 will be installed
---> Package containers-common.x86_64 1:0.1.37-3.el7 will be installed
---> Package podman.x86_64 0:1.4.4-3.el7 will be installed
--> Processing Dependency: atomic-registries >= 1.22.1-3 for package: podman-1.4.4-3.el7.x86_64
---> Package runc.x86_64 0:1.0.0-65.rc8.el7 will be installed
--> Processing Dependency: criu for package: runc-1.0.0-65.rc8.el7.x86_64
--> Running transaction check
---> Package criu.x86_64 0:3.12-2.el7 will be installed
--> Processing Dependency: libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) for package: criu-3.12-2.el7.x86_64
--> Processing Dependency: libnet.so.1()(64bit) for package: criu-3.12-2.el7.x86_64
--> Processing Dependency: libprotobuf-c.so.1()(64bit) for package: criu-3.12-2.el7.x86_64
---> Package podman.x86_64 0:1.4.4-3.el7 will be installed
--> Processing Dependency: atomic-registries >= 1.22.1-3 for package: podman-1.4.4-3.el7.x86_64
--> Running transaction check
---> Package libnet.x86_64 0:1.1.6-7.el7 will be installed
---> Package podman.x86_64 0:1.4.4-3.el7 will be installed
--> Processing Dependency: atomic-registries >= 1.22.1-3 for package: podman-1.4.4-3.el7.x86_64
---> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed
--> Finished Dependency Resolution
Error: Package: podman-1.4.4-3.el7.x86_64 (rhel-7-workstation-extras-rpms)
           Requires: atomic-registries >= 1.22.1-3
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: podman-1.4.4-3.el7.x86_64 (rhel-7-workstation-extras-rpms)
           Requires: atomic-registries >= 1.22.1-3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Resolution

Root Cause

  • Package podman is shipped in the repo rhel-7-workstation-extras-rpms
  • The dependencies for Podman are absent in this repo due to which installation of podman fails.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.