-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install apptainer having installed ohpc-base-compute #1889
Comments
Thanks for the report. This is actually something we discussed a lot in the TSC. The reason for what we have is historical. OpenHPC used to package singularity but no longer includes it. To give the users the same packages as before we use Our idea was that if you have one of But trying to install
So, not sure how you get to the error you see.
I don't know. @jcsiadal was arguing against it. The main reason we have it is to provide users with the same set of packages as we did before dropping singularity and using the package from an existing repository (EPEL in this case). |
I got the error because I do:
i.e. two sequential commands. So its maybe a quirk of the way our ansible is structured (for which there are reasons, but they're irrelevant here, IMO). I think your reasoning makes sense in terms of providing the least changes for most users. |
Ah, okay, now I get it. Okay. You could also disable recommends during installation that would avoid that. In the end this is error in the packages in EPEL. The |
Yes sorry I should have been clear which bit threw the error. Turns out you can add |
This reverts commit 14dee3f.
Turns out this also occurs when installing OpenHPC v2.6.2 now, same error re. |
* add RL9/OHPCv3 repos * FIXME: use crb instead of powertools * fix apptainer/singularity clash: openhpc/ohpc#1889 (comment) * FIXME: add cgroup.conf * FIXME: don't use outdated pgid for proctracktype * bump CI to include RL9 * fix linter errors * fix molecule instance creation for RL9 * bump RL8 CI image * fix powertools/crb repos * fix container startup * bump GH actions version to avoid node version warning in CI * minimise PR differences * include cgroup.conf template from upstream * pin molecule-podman to avoid ansible-community/molecule-plugins#242
I'm just trying out RL9/OHPCv3. ohpc-base-compute appears to install singularity-ce (at least when using ansible/dnf install -y) , which clashes with apptainer:
I guess the
Recommends:
line here is the cause though I can't find any docs for this "Recommends:" feature (and oddly it meansrepoquery --whatrequires singularity-ce --alldeps
can't find the dependency.Is the recommendation necessary/useful?
Clearly the singularity/apptainer clash isn't within OpenHPC's control but it'd be nice to be able to install one of them without having to uninstall the auto-installed one first.
Installing
apptainer
beforeohpc-base-compute
does work as a workaround.The text was updated successfully, but these errors were encountered: