A side note, it seems like this failing to build broke future pushes to Dokku. Is there a way to safeguard against this? Thanks!
sudo make build
docker build -t progrium/buildstep .
Uploading context 204800 bytes
Step 1 : FROM ubuntu:quantal
Pulling repository ubuntu
Pulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc (quantal) from ubuntu
---> b750fe79269d
Step 2 : MAINTAINER progrium "[email protected]"
---> Using cache
---> f483a3cc4777
Step 3 : RUN mkdir /build
---> Using cache
---> 930b06fd8216
Step 4 : ADD ./stack/ /build
---> 18de966245bd
Step 5 : RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare
---> Running in 1df7e07f4720
Err http://archive.ubuntu.com quantal InRelease
Err http://archive.ubuntu.com quantal Release.gpg
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Package openjdk-6-jre-headless 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:
icedtea-netx-common icedtea-netx default-jre-headless
Package mercurial 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 openjdk-6-jdk 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
E: Unable to locate package daemontools
E: Unable to locate package libssl0.9.8
E: Couldn't find any package by regex 'libssl0.9.8'
E: Package 'mercurial' has no installation candidate
E: Unable to locate package nodejs
E: Package 'openjdk-6-jdk' has no installation candidate
E: Package 'openjdk-6-jre-headless' has no installation candidate
E: Unable to locate package socat
xargs: git: No such file or directory
update-alternatives: error: no alternatives for ruby
update-alternatives: error: no alternatives for gem
/build/prepare: line 30: gem: command not found
/build/prepare: line 31: cd: /build/buildpacks/heroku-buildpack-ruby: No such file or directory
Error build: The command [/bin/sh -c LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare] returned a non-zero code: 1
The command [/bin/sh -c LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare] returned a non-zero code: 1
deploy@devcloud:~/buildstep$ ping archive.ubunut.com
ping: unknown host archive.ubunut.com
deploy@devcloud:~/buildstep$ ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.91.15) 56(84) bytes of data.
64 bytes from likho.canonical.com (91.189.91.15): icmp_req=1 ttl=52 time=19.2 ms
64 bytes from likho.canonical.com (91.189.91.15): icmp_req=2 ttl=52 time=19.2 ms
^C
--- archive.ubuntu.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 19.240/19.248/19.256/0.008 ms
deploy@devcloud:~/buildstep$ sudo make build
docker build -t progrium/buildstep .
Uploading context 204800 bytes
Step 1 : FROM ubuntu:quantal
---> b750fe79269d
Step 2 : MAINTAINER progrium "[email protected]"
---> Using cache
---> f483a3cc4777
Step 3 : RUN mkdir /build
---> Using cache
---> 930b06fd8216
Step 4 : ADD ./stack/ /build
---> 8d4074297c09
Step 5 : RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare
---> Running in 46d34e0e60f5
Err http://archive.ubuntu.com quantal InRelease
Err http://archive.ubuntu.com quantal Release.gpg
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Package openjdk-6-jre-headless 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:
icedtea-netx-common icedtea-netx default-jre-headless
Package mercurial 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 openjdk-6-jdk 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
E: Unable to locate package daemontools
E: Unable to locate package libssl0.9.8
E: Couldn't find any package by regex 'libssl0.9.8'
E: Package 'mercurial' has no installation candidate
E: Unable to locate package nodejs
E: Package 'openjdk-6-jdk' has no installation candidate
E: Package 'openjdk-6-jre-headless' has no installation candidate
E: Unable to locate package socat
xargs: git: No such file or directory
update-alternatives: error: no alternatives for ruby
update-alternatives: error: no alternatives for gem
/build/prepare: line 30: gem: command not found
/build/prepare: line 31: cd: /build/buildpacks/heroku-buildpack-ruby: No such file or directory
Error build: The command [/bin/sh -c LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare] returned a non-zero code: 1
The command [/bin/sh -c LC_ALL=C DEBIAN_FRONTEND=noninteractive /build/prepare] returned a non-zero code: 1