-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Uninstall only removes modules when containers in distinct path #436
Comments
I think you are leaving out information - like having different directories? |
Ooops sorry, indeed I forgot to mention that I have a custom |
ah that's something new to try! So I have a custom config in my home with a custom
now I'll install the module (default singularity and lmod). This shows that the container is pulled to /tmp/containers
There it is! and the module is still in modules in the present working directory:
so now I'll list to see it $ shpc list
ghcr.io/autamus/beast2:2.6.4 Then I uninstall: $ shpc uninstall ghcr.io/autamus/beast2:2.6.4
Are you sure you want to uninstall $container_base/ghcr.io/autamus/beast2/2.6.4, and all content below it? y
$container_base/ghcr.io/autamus/beast2/2.6.4 and all subdirectories been removed.
Are you sure you want to uninstall $module_base/ghcr.io/autamus/beast2/2.6.4, and all content below it? y
$module_base/ghcr.io/autamus/beast2/2.6.4 and all subdirectories been removed. The top level folder for beast is there, but the version folder is gone:
and the module files are removed: $ ls modules/ghcr.io/autamus/beast2/ shpc doesn't see that it is installed: $ shpc list beast
You don't have any install modules. Try shpc show. As for why your sif isn't removed, I can't reproduce. Can you try doing this from the main branch? I have a quick bugfix I want to do (not pushed / PRed yet) but it's not related to this issue. I wanted to address these before opening a PR. |
Let's give it another go:
Ah! with this fresh installation it works! Must have done something silly the other day -- apol for the issue -- closing now! |
Describe the bug
As per description
To Reproduce
[update]: custom, distinct
container_root
in the shpc configExpected behavior
Both container and module are removed.
Version of Singularity and Singularity Registry HPC Client
Singularity 3.7.4
Latest SHPC as of 11 Aug 2021.
**Anything else?
The text was updated successfully, but these errors were encountered: