netcat rpm fails with dependency error rhel8

Latest response

Hello,

We're using AWS image builder to build RHEL8 AMI's from the market place which converge and fails when it tries to install netcat rpm from our repo as it was looking for dependencies libraries ( libbsd-0.9.1-4.el8.x86_64.rpm) which is not available.

It isn't available when i tried to lookup in https://access.redhat.com/downloads/content/package-browser/

Do you have any thoughts ?

[root@ip-10-XXX-X-XXX yum.repos.d]# rpm -ivh /var/cinc/cache/netcat-1.218-4.el8.x86_64.rpm
warning: /var/cinc/cache/netcat-1.218-4.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
error: Failed dependencies:
libbsd.so.0()(64bit) is needed by netcat-1.218-4.el8.x86_64
libbsd.so.0(LIBBSD_0.0)(64bit) is needed by netcat-1.218-4.el8.x86_64
libbsd.so.0(LIBBSD_0.2)(64bit) is needed by netcat-1.218-4.el8.x86_64
libtls.so.24()(64bit) is needed by netcat-1.218-4.el8.x86_64

Same error from Image Builder logs

2023-09-21T14:50:06.119-05:00 Stdout: * dnf_package[netcat-1.218-4.el8.x86_64.rpm] action install[2023-09-21T19:50:06+00:00] INFO: Processing dnf_package[netcat-1.218-4.el8.x86_64.rpm] action install (ops_utils::_linux line 51)

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: ================================================================================

2023-09-21T14:50:08.817-05:00 Stdout: Error executing action install on resource 'dnf_package[netcat-1.218-4.el8.x86_64.rpm]'

2023-09-21T14:50:08.817-05:00 Stdout: ================================================================================

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: Mixlib::ShellOut::ShellCommandFailed

2023-09-21T14:50:08.817-05:00 Stdout: ------------------------------------

2023-09-21T14:50:08.817-05:00 Stdout: Expected process to exit with [0], but received '1'

2023-09-21T14:50:08.817-05:00 Stdout: ---- Begin output of ["dnf", "--nogpgcheck", "-y", "install", "/var/cinc/cache/netcat-1.218-4.el8.x86_64.rpm"] ----

2023-09-21T14:50:08.817-05:00 Stdout: STDOUT: Updating Subscription Management repositories.

2023-09-21T14:50:08.817-05:00 Stdout: Unable to read consumer identity

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: This system is not registered with an entitlement server. You can use subscription-manager to register.

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: Last metadata expiration check: 0:03:05 ago on Thu 21 Sep 2023 07:47:01 PM UTC.

2023-09-21T14:50:08.817-05:00 Stdout: (try to add '--skip-broken' to skip uninstallable packages)

2023-09-21T14:50:08.817-05:00 Stdout: STDERR: Error:

2023-09-21T14:50:08.817-05:00 Stdout: Problem: conflicting requests

2023-09-21T14:50:08.817-05:00 Stdout: - nothing provides libbsd.so.0()(64bit) needed by netcat-1.218-4.el8.x86_64

2023-09-21T14:50:08.817-05:00 Stdout: - nothing provides libbsd.so.0(LIBBSD_0.0)(64bit) needed by netcat-1.218-4.el8.x86_64

2023-09-21T14:50:08.817-05:00 Stdout: - nothing provides libbsd.so.0(LIBBSD_0.2)(64bit) needed by netcat-1.218-4.el8.x86_64

2023-09-21T14:50:08.817-05:00 Stdout: - nothing provides libtls.so.24()(64bit) needed by netcat-1.218-4.el8.x86_64

2023-09-21T14:50:08.817-05:00 Stdout: ---- End output of ["dnf", "--nogpgcheck", "-y", "install", "/var/cinc/cache/netcat-1.218-4.el8.x86_64.rpm"] ----

2023-09-21T14:50:08.817-05:00 Stdout: Ran ["dnf", "--nogpgcheck", "-y", "install", "/var/cinc/cache/netcat-1.218-4.el8.x86_64.rpm"] returned 1

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: Resource Declaration:

2023-09-21T14:50:08.817-05:00 Stdout: ---------------------

2023-09-21T14:50:08.817-05:00 Stdout: # In /var/cinc/cache/cookbooks/ops_utils/recipes/_linux.rb

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: 51: package app[source_version]['file_name'] do

2023-09-21T14:50:08.817-05:00 Stdout: 52: source "#{Chef::Config['file_cache_path']}/#{app[source_version]['file_name']}"

2023-09-21T14:50:08.817-05:00 Stdout: 53: action :install

2023-09-21T14:50:08.817-05:00 Stdout: 54: options '--nogpgcheck'

2023-09-21T14:50:08.817-05:00 Stdout: 55: end

2023-09-21T14:50:08.817-05:00 Stdout: 56: end

2023-09-21T14:50:08.817-05:00 Stdout:

2023-09-21T14:50:08.817-05:00 Stdout: Compiled Resource:

Responses