the setup:
- system:
"x86_64-linux"
- host os:
Linux 4.15.0-22-generic, Ubuntu, 18.04 LTS (Bionic Beaver)
- multi-user?:
no
- sandbox:
no
- version:
nix-env (Nix) 2.0.2
- channels(aeug):
"nixpkgs-18.09pre140731.c29d2fde74d"
- nixpkgs:
/home/aeug/.nix-defexpr/channels/nixpkgs
running:
nix-shell -p conda --run "conda-shell"
results in:
bash: /etc/profile.d/vte.sh: No such file or directory
mkdir: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
edit I had to allow my user to access /etc/profile.d/vte.sh
but this results in:
./conda-shell
** (process:20829): WARNING **: 08:04:35.617: chrootenv doesn't stack!
** Message: 08:04:35.628: Requires Linux version >= 3.19 built with CONFIG_USER_NS
** Message: 08:04:35.628: Run: sudo sysctl -w kernel.unprivileged_userns_clone=1
** (process:20831): ERROR **: 08:04:35.629: main: unshare: Operation not permitted
Trace/breakpoint trap (core dumped)
so I issue
kernel.unprivileged_userns_clone=1
but still the result is the same.
If i do
sudo ./conda-shell
mkdir: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
stat: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
id: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
besides "nix-shell" there is still nix-env but
nix-env -qaP .\*conda.\*
nixpkgs.conda conda-shell-4.3.31
nixpkgs.python27Packages.conda python2.7-conda-4.3.16
nixpkgs.python36Packages.conda python3.6-conda-4.3.16
nix-env -i conda
error: selector 'conda' matches no derivations
Why is in nix-env an conda pkgs available but via -i not existing?
How can you debug the root cause and which way are there to solve it?