examples
examples copied to clipboard
database/mongodb: Example doesn't work
Example: database/mongodb
The build process fails. Many 404 errors appear when trying to access Debian repositories.
$ sudo singularity build mongodb.sif mongodb.def
INFO: Starting build...
INFO: Downloading library image
40.3MiB / 40.3MiB [===============================================================] 100 % 5.9 MiB/s 0s
INFO: Verifying bootstrap image /root/.singularity/cache/library/sha256.3a358bce61ef01e938e94c67ddac5a1caa7cd8a9ce739e6458cdc46c00e8f812
INFO: Running post scriptlet
+ mkdir -p /data/db
+ chmod -R 777 /data/db
+ apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian stretch-updates InRelease
Ign:3 http://security.debian.org/debian-security stretch/updates InRelease
Ign:4 http://deb.debian.org/debian stretch Release
Ign:5 http://deb.debian.org/debian stretch-updates Release
Ign:6 http://security.debian.org/debian-security stretch/updates Release
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Err:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
404 Not Found [IP: 151.101.130.132 80]
Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:7 http://deb.debian.org/debian stretch/main all Packages
Err:9 http://deb.debian.org/debian stretch/main amd64 Packages
404 Not Found [IP: 146.75.34.132 80]
Ign:10 http://deb.debian.org/debian stretch-updates/main all Packages
Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
404 Not Found [IP: 146.75.34.132 80]
Reading package lists... Done
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found [IP: 146.75.34.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found [IP: 146.75.34.132 80]
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.130.132 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
FATAL: While performing build: while running engine: exit status 255