katerakelly / oyster

Implementation of Efficient Off-policy Meta-learning via Probabilistic Context Variables (PEARL)
MIT License
472 stars 125 forks source link

Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/Packages.gz Hash Sum mismatch #22

Open zhuliwen opened 4 years ago

zhuliwen commented 4 years ago

When I was runningDocker build.-t Pearl, I encountered the following error:

Sending build context to Docker daemon   16.9kB
Step 1/35 : ARG UBUNTU_VERSION=16.04
Step 2/35 : ARG ARCH=
Step 3/35 : ARG CUDA=10.0
Step 4/35 : FROM nvidia/cudagl${ARCH:+-$ARCH}:${CUDA}-base-ubuntu${UBUNTU_VERSION} as base
 ---> aefe6bc1bd55
Step 5/35 : ARG UBUNTU_VERSION
 ---> Running in 8ff78f771535
Removing intermediate container 8ff78f771535
 ---> 2d3cc7aa0958
Step 6/35 : ARG ARCH
 ---> Running in 1d052e107b4d
Removing intermediate container 1d052e107b4d
 ---> 965a1505bcd0
Step 7/35 : ARG CUDA
 ---> Running in cc7a6683e854
Removing intermediate container cc7a6683e854
 ---> be73a6761aa8
Step 8/35 : ARG CUDNN=7.6.5.32-1
 ---> Running in b401fc5c4195
Removing intermediate container b401fc5c4195
 ---> 04c797989ccf
Step 9/35 : SHELL ["/bin/bash", "-c"]
 ---> Running in 88555693b155
Removing intermediate container 88555693b155
 ---> 45eb95bbd2b6
Step 10/35 : ENV DEBIAN_FRONTEND="noninteractive"
 ---> Running in 7071bd6699cd
Removing intermediate container 7071bd6699cd
 ---> 29ed4b7b1712
Step 11/35 : ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
 ---> Running in 6f352d395713
Removing intermediate container 6f352d395713
 ---> e59089b1a9b9
Step 12/35 : ENV PATH /opt/conda/bin:$PATH
 ---> Running in 30fcdb3ca87c
Removing intermediate container 30fcdb3ca87c
 ---> 207b7c6899e3
Step 13/35 : RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates     libglib2.0-0 libxext6 libsm6 libxrender1     git mercurial subversion
 ---> Running in bb1ca9a5864e
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1197 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Ign:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [890 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1552 kB]
Ign:10 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  InRelease
Get:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [12.7 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [651 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [14.5 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [556 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6680 B]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [6848 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [9804 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [172 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1556 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [1225 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [13.1 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1052 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [947 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.7 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [18.5 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7942 B]
Get:32 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [7942 B]
Get:33 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [9084 B]
Get:34 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [8735 B]
Get:35 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Release [169 B]
Get:36 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Release [169 B]
Get:37 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Release.gpg [169 B]
Get:38 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Release.gpg [169 B]
Ign:39 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Packages
Get:40 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Packages [95.1 kB]
Err:40 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Packages
  Hash Sum mismatch
Get:39 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Packages [327 kB]
Err:39 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Packages
  Hash Sum mismatch
Fetched 31.9 MB in 3min 29s (152 kB/s)
Reading package lists...
E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/Packages.gz  Hash Sum mismatch
E: Failed to fetch https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/Packages.gz  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/bash -c apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates     libglib2.0-0 libxext6 libsm6 libxrender1     git mercurial subversion' returned a non-zero code: 100

May I ask how to solve it? Thank you~

zhuliwen commented 4 years ago

Dear @katerakelly, there are some restrictions for downloading some packages in China, can you provide a docker image that has been built, thank you very much ! 😀

zhuliwen commented 3 years ago

E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Some index files failed to download. They have been ignored, or old ones used instead.