Skip to content
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

gpu container cannot be created #266

Open
gavlooth opened this issue Oct 1, 2020 · 1 comment
Open

gpu container cannot be created #266

gavlooth opened this issue Oct 1, 2020 · 1 comment

Comments

@gavlooth
Copy link

gavlooth commented Oct 1, 2020

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
Copy link
Author

gavlooth commented Oct 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant