tensorflow / haskell

Haskell bindings for TensorFlow
https://tensorflow.github.io/haskell/haddock/
Apache License 2.0
1.58k stars 196 forks source link

404 on instructions Stack + Docker + GPU #253

Closed KiaraGrouwstra closed 4 years ago

KiaraGrouwstra commented 4 years ago

Following the Stack + Docker + GPU instructions, I'm getting the following error:

$ IMAGE_NAME=tensorflow/haskell:1.14.0-gpu
$ docker build -t $IMAGE_NAME docker/gpu
Sending build context to Docker daemon  3.072kB
Step 1/7 : FROM tensorflow/tensorflow:1.14.0-gpu
 ---> 481cb7ea8826
Step 2/7 : LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
 ---> Using cache
 ---> ad7a862f94ee
Step 3/7 : RUN apt-get update
 ---> Using cache
 ---> f4d48770b101
Step 4/7 : RUN apt-get install -y         git         libsnappy-dev         libncurses5-dev         libgmp-dev         zlib1g-dev         curl         unzip         locales
 ---> Running in 3068db705906
Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0-21ubuntu1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
zlib1g-dev set to manually installed.
curl is already the newest version (7.58.0-2ubuntu3.7).
The following additional packages will be installed:
  git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libgmpxx4ldbl
  libsnappy1v5 libssl1.0.0 libtinfo-dev libx11-6 libx11-data libxau6 libxcb1
  libxdmcp6 libxext6 libxmuu1 openssh-client xauth
Suggested packages:
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
  git-gui gitk gitweb git-cvs git-mediawiki git-svn gmp-doc libgmp10-doc
  libmpfr-dev ncurses-doc keychain libpam-ssh monkeysphere ssh-askpass
The following NEW packages will be installed:
  git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libgmp-dev
  libgmpxx4ldbl libncurses5-dev libsnappy-dev libsnappy1v5 libssl1.0.0
  libtinfo-dev libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6
  libxmuu1 locales openssh-client xauth
0 upgraded, 24 newly installed, 0 to remove and 13 not upgraded.
Need to get 11.9 MB of archives.
After this operation, 64.1 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libbsd0 amd64 0.8.7-1 [41.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 locales all 2.27-3ubuntu1 [3612 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB]
Ign:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.7
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Ign:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.4
Ign:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.4
Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-2 [8964 B]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-2 [316 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtinfo-dev amd64 6.1-1ubuntu1.18.04 [81.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libncurses5-dev amd64 6.1-1ubuntu1.18.04 [174 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsnappy1v5 amd64 1.1.7-1 [16.0 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsnappy-dev amd64 1.1.7-1 [27.2 kB]
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.173 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.173 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.173 80]
Fetched 7001 kB in 2s (3118 kB/s)
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.173 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.173 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.173 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/bash -c apt-get install -y         git         libsnappy-dev         libncurses5-dev         libgmp-dev         zlib1g-dev         curl         unzip         locales' returned a non-zero code: 100

Could these package versions perhaps be outdated?

blackgnezdo commented 4 years ago

The command line doesn't mention any version numbers:

Step 4/7 : RUN apt-get install -y         git  ...

I presume apt is resolving git and its dependencies based on the state of the Debian mirror you used. For the fun of it I just ran the steps on my system