Singularity build dependency errors with RHEL 9.7 (for RStudio)

Hi all,

We are installing Open On Demand 4.0 on RHEL 9.7

On the compute node, we’re working through the steps in 3. Setup Singularity — Open OnDemand 4.0.0 documentation specifically around building the Singularity image.

We have a Singularity.def ( Singularity.def.txt (476 Bytes) ) with the MirrorURL of repository index

When we run the singularity build command we’re encountering dependency errors, see below:

sudo singularity build Singularity.sif Singularity.def
INFO:    Starting build…
WARNING: Your host system is using the sqlite RPM database backend.
WARNING: Bootstrapping of older distributions that use the bdb backend will fail.
INFO:    Skipping GPG Key Import
Error:
Problem: package python3-dnf-4.14.0-31.el9.noarch from base requires python3-gpg, but none of the providers can be installed

package python3-gpg-1.15.1-6.el9.x86_64 from base requires libgpgme.so.11()(64bit), but none of the providers can be installed

package python3-gpg-1.15.1-6.el9.x86_64 from base requires libgpgme.so.11(GPGME_1.0)(64bit), but none of the providers can be installed

package python3-gpg-1.15.1-6.el9.x86_64 from base requires libgpgme.so.11(GPGME_1.1)(64bit), but none of the providers can be installed

package python3-gpg-1.15.1-6.el9.x86_64 from base requires gpgme(x86-64) = 1.15.1-6.el9, but none of the providers can be installed

package dnf-4.14.0-31.el9.noarch from base requires python3-dnf = 4.14.0-31.el9, but none of the providers can be installed

package gpgme-1.15.1-6.el9.x86_64 from base requires gnupg2 >= 2.2.24, but none of the providers can be installed

package yum-4.14.0-31.el9.noarch from base requires dnf = 4.14.0-31.el9, but none of the providers can be installed

package gnupg2-2.3.3-4.el9.x86_64 from base requires liblber.so.2()(64bit), but none of the providers can be installed

package gnupg2-2.3.3-4.el9.x86_64 from base requires liblber.so.2(OPENLDAP_2.200)(64bit), but none of the providers can be installed

package gnupg2-2.3.3-4.el9.x86_64 from base requires libldap.so.2()(64bit), but none of the providers can be installed

package gnupg2-2.3.3-4.el9.x86_64 from base requires libldap.so.2(OPENLDAP_2.200)(64bit), but none of the providers can be installed

conflicting requests

nothing provides libltdl.so.7()(64bit) needed by openldap-2.6.8-4.el9.x86_64 from base
FATAL:   While performing build: conveyor failed to get: while bootstrapping: exit status 1

We do have two versions of python3-dnf installed on the compute node:

Installed Packages
python3-dnf.noarch 4.14.0-25.el9 @rhel-9-for-x86_64-baseos-rpms
python3-dnf.noarch 4.14.0-31.el9 @rhel-9-for-x86_64-baseos-rpms

Trying to remove the 4.14.0-25 version threatens to also remove protected packages

Error:
Problem: The operation would result in removing the following protected packages: dnf, yum
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

So I wanted to reach out to the community for advice on the next steps for resolving this please.

Many thanks in advance,

Alex