floydhub / dl-docker

An all-in-one Docker image for deep learning. Contains all the popular DL frameworks (TensorFlow, Theano, Torch, Caffe, etc.)

Home Page:https://www.floydhub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

jenniferzhu opened this issue · comments

I failed to open this website during the docker build process. Any suggestions? Thanks!

$ docker build -t floydhub/dl-docker:gpu -f Dockerfile.gpu .
Sending build context to Docker daemon 129.5kB
Step 1/34 : FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu14.04
---> 0741d64ae1b6
Step 2/34 : MAINTAINER Sai Soundararaj saip@outlook.com
---> Using cache
---> c24e4dceafae
Step 3/34 : ARG THEANO_VERSION=rel-0.8.2
---> Using cache
---> 0527114719a3
Step 4/34 : ARG TENSORFLOW_VERSION=0.12.1
---> Using cache
---> af3e139bd5d0
Step 5/34 : ARG TENSORFLOW_ARCH=gpu
---> Using cache
---> eb8864b378b0
Step 6/34 : ARG KERAS_VERSION=1.2.0
---> Using cache
---> 6d314b8c2786
Step 7/34 : ARG LASAGNE_VERSION=v0.1
---> Using cache
---> 7413b1f5426f
Step 8/34 : ARG TORCH_VERSION=latest
---> Using cache
---> 5c54039b915c
Step 9/34 : ARG CAFFE_VERSION=master
---> Using cache
---> 187c41d631ad
Step 10/34 : RUN apt-get update && apt-get install -y bc build-essential cmake curl g++ gfortran git libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblcms2-dev libopenblas-dev liblapack-dev libopenjpeg2 libpng12-dev libssl-dev libtiff5-dev libwebp-dev libzmq3-dev nano pkg-config python-dev software-properties-common unzip vim wget zlib1g-dev qt5-default libvtk6-dev zlib1g-dev libjpeg-dev libwebp-dev libpng-dev libtiff5-dev libjasper-dev libopenexr-dev libgdal-dev libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev yasm libopencore-amrnb-dev libopencore-amrwb-dev libv4l-dev libxine2-dev libtbb-dev libeigen3-dev python-dev python-tk python-numpy python3-dev python3-tk python3-numpy ant default-jdk doxygen && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* && update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3
---> Running in f3b089e69160
Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-backports InRelease

Err http://security.ubuntu.com trusty-security InRelease

Err http://developer.download.nvidia.com InRelease

Err http://developer.download.nvidia.com InRelease

Err http://developer.download.nvidia.com Release.gpg
Could not resolve 'developer.download.nvidia.com'
Err http://archive.ubuntu.com trusty Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://developer.download.nvidia.com Release.gpg
Could not resolve 'developer.download.nvidia.com'
Err http://archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/InRelease

W: Failed to fetch http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/Release.gpg Could not resolve 'developer.download.nvidia.com'

W: Failed to fetch http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/Release.gpg Could not resolve 'developer.download.nvidia.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package pkg-config is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-tk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libpng12-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libpng12-0

E: Unable to locate package bc
E: Package 'cmake' has no installation candidate
E: Unable to locate package curl
E: Unable to locate package gfortran
E: Unable to locate package git
E: Unable to locate package libffi-dev
E: Unable to locate package libfreetype6-dev
E: Unable to locate package libhdf5-dev
E: Unable to locate package libjpeg-dev
E: Unable to locate package liblcms2-dev
E: Unable to locate package libopenblas-dev
E: Unable to locate package liblapack-dev
E: Unable to locate package libopenjpeg2
E: Package 'libpng12-dev' has no installation candidate
E: Unable to locate package libssl-dev
E: Unable to locate package libtiff5-dev
E: Unable to locate package libwebp-dev
E: Unable to locate package libzmq3-dev
E: Unable to locate package nano
E: Package 'pkg-config' has no installation candidate
E: Unable to locate package python-dev
E: Unable to locate package software-properties-common
E: Unable to locate package unzip
E: Package 'vim' has no installation candidate
E: Unable to locate package wget
E: Unable to locate package zlib1g-dev
E: Unable to locate package qt5-default
E: Unable to locate package libvtk6-dev
E: Unable to locate package zlib1g-dev
E: Unable to locate package libjpeg-dev
E: Unable to locate package libwebp-dev
E: Unable to locate package libpng-dev
E: Unable to locate package libtiff5-dev
E: Unable to locate package libjasper-dev
E: Unable to locate package libopenexr-dev
E: Unable to locate package libgdal-dev
E: Unable to locate package libdc1394-22-dev
E: Unable to locate package libavcodec-dev
E: Unable to locate package libavformat-dev
E: Unable to locate package libswscale-dev
E: Unable to locate package libtheora-dev
E: Unable to locate package libvorbis-dev
E: Unable to locate package libxvidcore-dev
E: Unable to locate package libx264-dev
E: Unable to locate package yasm
E: Unable to locate package libopencore-amrnb-dev
E: Unable to locate package libopencore-amrwb-dev
E: Unable to locate package libv4l-dev
E: Unable to locate package libxine2-dev
E: Unable to locate package libtbb-dev
E: Unable to locate package libeigen3-dev
E: Unable to locate package python-dev
E: Unable to locate package python-tk
E: Unable to locate package python-numpy
E: Package 'python3-dev' has no installation candidate
E: Package 'python3-tk' has no installation candidate
E: Unable to locate package python3-numpy
E: Unable to locate package ant
E: Unable to locate package default-jdk
E: Unable to locate package doxygen
The command '/bin/sh -c apt-get update && apt-get install -y bc build-essential cmake curl g++ gfortran git libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblcms2-dev libopenblas-dev liblapack-dev libopenjpeg2 libpng12-dev libssl-dev libtiff5-dev libwebp-dev libzmq3-dev nano pkg-config python-dev software-properties-common unzip vim wget zlib1g-dev qt5-default libvtk6-dev zlib1g-dev libjpeg-dev libwebp-dev libpng-dev libtiff5-dev libjasper-dev libopenexr-dev libgdal-dev libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev yasm libopencore-amrnb-dev libopencore-amrwb-dev libv4l-dev libxine2-dev libtbb-dev libeigen3-dev python-dev python-tk python-numpy python3-dev python3-tk python3-numpy ant default-jdk doxygen && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* && update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3' returned a non-zero code: 100

I too got the same response when building from the dockerfile. The given links for archive.ubuntu.com seem to be broken or permanently moved for Trusty version of ubuntu. I tried accessing those links through my browser but got 404 as response. The developers of this docker image must use the latest ubuntu version or LTS version.