Unable to install Podman inside UBI-8.6 container

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 8.6
  • Podman - 4.0.2-6.module+el8.6.0+14877+f643d2d6

Issue

1) Cannot install Podman - 4.0.2-6.module+el8.6.0+14877+f643d2d6 inside a UBI8.6 Container via UBI8.6 enabled repositories only.

2) ERROR :

 Problem: conflicting requests
  - nothing provides libsubid.so.3()(64bit) needed by podman-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```

Resolution

1) A commit RhBug 2084179 made for addition of the shadow-utils-subid in BaseOS repositories of the UBI8.6 container solved the issue.

2) Podman - 4.0.2-6.module+el8.6.0+14877+f643d2d6 can now be installed on a UBI8.6 Container.

Root Cause

  • RHEL8.6 UBI image repository did not contain the libsubid.so.3()(64bit) needed by podman-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.x86_64 to install Podman from the UBI8 repositories.
  • Installation of podman-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.x86_64 inside a UBI-8.6 depended on the repositories provided by only RHEL OS and not the UBI 8.6 repositories.

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.

Comments