-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
critical libmamba Can't create 'ssl/cert.pem' During installation on Ubuntu #628
Comments
I'd like to second this bug. This appears to be a libmamba issue, so does it go somewhere else maybe? The same behaviour occurs when using micromamba (which doesn't need the install script, so makes me think it's a more fundamental mamba library error). More generally, the problem appears to be that almost any package install can give a similar error (e.g. Can't create 'lib/libgomp.so') if you set the MAMBA_ROOT_PREFIX variable to something other than the default. Using the same micromamba binary, have successfully installed packages when MAMBA_ROOT_PREFIX is on the local disk (e.g. /var/tmp). But the same install fails when MAMBA_ROOT_PREFIX is on an NFS-mounted filesystem, and an older OS (e.g. CentOS 7) is being used. Mamba package install using same NFS mount target on Oracle Linux 8 works fine. |
can you check if this is resolved with our pre-releases: |
Hi, It's still an issue, but I've narrowed it further. The issue is that depending on how the NFS mount is configured, you may not be able to create symbolic links (e.g. when the underlying target is a CIFS share). The Mamba library is trying to create symbolic links during install and fails, hence the "cannot create" error, which more aptly should be 'cannot symbolically link'. Cheers, Paul |
sure PRs welcome. yeah, NFS + linux is bad news in general... |
wait, NFS, not SAMBA... strange... |
Can confirm a seemingly identical error with SMB/CIFS shares on Ubuntu. A potential workaround is to add
I have no clue what the ramifications of this are so buyer beware. At any rate, it does seem to fix the reported issue and install packages correctly (after a reboot and fresh environment), although I did get this ominous "error" while installing pip.
|
Update: I believe it's specifically an issue with installing |
Similar error:
Same error when installing any of these |
Ensuring the target filesystem can generate symlinks seems to be key. The mfsymlinks tip from zachary-t worked for me. |
Solution to issue cannot be found in the documentation.
Issue
When I trying to install miniforge3 on Ubuntu 24.04 with alternative installation location other than the default user home folder, a folder in another disk, it aborted with:
"critical libmamba Can't create 'ssl/cert.pem'"
The same with sudo previlige.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: