access-ci-org / Jetstream_Cluster

Scripts and Ansible Playbooks for building an HPC-style resource in Jetstream
MIT License
19 stars 16 forks source link

Remove conflicting Lmod package #9

Closed julianpistorius closed 2 years ago

julianpistorius commented 2 years ago

Jetstream2 featured images now include the Lmod package by default. This causes an error when running the install.sh and install_local.sh scripts on an instance created from the featured Rocky 8 image. These scripts try to install the lmod-ohpc, which causes a conflict with the existing Lmod package. To avoid this problem we add --allowerasing to the dnf commands which install the lmod-ohpc package. This results in the offending Lmod package being uninstalled.

Fixes #8

DImuthuUpe commented 2 years ago

Thanks, @julianpistorius. I am not sure why this did not happen in earlier installations on Rocky Linux but changes makes sense