NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
622 stars 94 forks source link

invocation of parallel fails #203

Closed rminnich closed 2 months ago

rminnich commented 2 months ago
[INFO] Querying registry for permission grant
[INFO] Authenticating with user: <anonymous>
[INFO] Authentication succeeded
[INFO] Fetching image manifest list
[INFO] Fetching image manifest
[INFO] Downloading 9 missing layers...

parallel: invalid option -- '-'

755726 execve("/usr/bin/parallel", ["parallel", "--plain", "--bar", "--shuf", "--retries", "2", "-j", "10", "-q", "docker::_download_extract", "{}", "--p
roto", "=https", "--retry", "0", "--connect-timeout", "30", "--max-time", "0", "-SsL", "-f", "-K", "/usr/local/google/home/rminnich/.cache/enroot/.tokens
.156049/registry-1.docker.io.755666", "--", "https://registry-1.docker.io/v2/library/python/blobs/sha256:{}", ":::", "89cae5f42a4d7611fb518de30622ec93f40
95c722d04dafb209e3c00c41e6ebf", "25faddfd0b6bfdcb79de65b8438b6dd1fb4a2d3f9ba8e3db93e19e013e5f4d16", "d22f40fe2848777052f59dff579a1954a8c382eef71724b118ab
b88d9709c8ea", "ad8837c5b819f173d8d9000d3f913102e8f6189c6203fe64be152d8ab11ed1f7", "a620f0f174f1a761e84c4140503f31bb28ea9d75b6e28ec64872cf99f19c72a2", "d
6dc1019d7935fe82827434da11bf96cf14e24979f8155e73b794286f10b7f05", "10d643a5fa823cd013a108b2076f4d2edf1b2a921f863b533e83ea5ed8d09bd4", "30b93c12a9c9326732
b35d9e3ebe57148abe33f8fa6e25ab76867410b0ccf876", "ca4e5d6727252f0dbc207fbf283cb95e278bf562bda42d35ce6c919583a110a0"], 0x5643eeb3d3f0 /* 59 vars */) = 0
755726 write(2, "parallel: invalid option -- '-'\n", 32) = 32

Breaking it out, this gets the same error. I am not seeing the issue yet, the help message is pretty useless.

"/usr/bin/parallel" \
 "--plain" \
 "--bar" \
 "--shuf" \
 "--retries" \
 "2" \
 "-j" \
 "10" \
 "-q" \
 "docker::_download_extract" \
 "{}" \
 "--proto" \
 "=https" \
 "--retry" \
 "0" \
 "--connect-timeout" \
 "30" \
 "--max-time" \
 "0" \
 "-SsL" \
 "-f" \
 "-K" \
 "/usr/local/google/home/rminnich/.cache/enroot/.tokens.156049/registry-1.docker.io.755666" \
 "--" \
 "https://registry-1.docker.io/v2/library/python/blobs/sha256:{}" \
 ":::" \
 "89cae5f42a4d7611fb518de30622ec93f4095c722d04dafb209e3c00c41e6ebf" \
 "25faddfd0b6bfdcb79de65b8438b6dd1fb4a2d3f9ba8e3db93e19e013e5f4d16" \
 "d22f40fe2848777052f59dff579a1954a8c382eef71724b118abb88d9709c8ea" \
 "ad8837c5b819f173d8d9000d3f913102e8f6189c6203fe64be152d8ab11ed1f7" \
 "a620f0f174f1a761e84c4140503f31bb28ea9d75b6e28ec64872cf99f19c72a2" \
 "d6dc1019d7935fe82827434da11bf96cf14e24979f8155e73b794286f10b7f05" \
 "10d643a5fa823cd013a108b2076f4d2edf1b2a921f863b533e83ea5ed8d09bd4" \
 "30b93c12a9c9326732b35d9e3ebe57148abe33f8fa6e25ab76867410b0ccf876" \
 "ca4e5d6727252f0dbc207fbf283cb95e278bf562bda42d35ce6c919583a110a0" \
rminnich commented 2 months ago

ok it's just a usage of parallel not compatible with my version.

rminnich commented 2 months ago

fixed by apt install parallel. I won't try to figure out why this was wrong but oh well :-)