79203368

Date: 2024-11-19 12:16:33
Score: 1.5
Natty:
Report link

The issue occurs because the UBI8 container doesn't automatically use the same repositories as the host. To fix it, register the container with the Red Hat Subscription Manager using subscription-manager register --username=<your_username> --password=<your_password> and attach the subscription with subscription-manager attach. Then, enable the required repositories with subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms --enable rhel-8-for-$(arch)-baseos-rpms --enable rhel-8-for-$(arch)-appstream-rpms. Finally, install EPEL inside the container using yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanderson CorrĂȘa