haskell icon indicating copy to clipboard operation
haskell copied to clipboard

gpu container cannot be created

Open gavlooth opened this issue 3 years ago • 1 comments

There seems to be a problem with the container images running

docker build -t $IMAGE_NAME docker/gpu
where IMAGE_NAME = tensorflow/haskell:1.14.0-gpu will fail to create the ubuntu (?) container :

Err:11 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 404 Not Found [IP: 91.189.88.142 80] Err:15 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.7 404 Not Found [IP: 91.189.88.142 80] Err:17 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.4 404 Not Found [IP: 91.189.88.142 80] Err:18 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.4 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-data_1.6.4-3ubuntu0.2_all.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-6_1.6.4-3ubuntu0.2_amd64.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3-gnutls_7.58.0-2ubuntu3.7_amd64.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.17.1-1ubuntu0.4_all.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_2.17.1-1ubuntu0.4_amd64.deb 404 Not Found [IP: 91.189.88.142 80]

gavlooth avatar Oct 01 '20 05:10 gavlooth

Seems like the ubuntu repositories are deprecated adding sed -i -e 's/://(archive.ubuntu.com|security.ubuntu.com)/old-releases.ubuntu.com/g' /etc/apt/sources.list to docker/gpu/Dockerfile before the apt-udpate allows the container to build

gavlooth avatar Oct 01 '20 11:10 gavlooth