Hi ! I managed to build Tails, finally ! So let me share here the little patch I ended up with, in case it can help someone. This patch deals with the transient network problems I experienced.
Additionally, I increased the RAM of the VM to 1024M, just to be on the safe side. I've experienced an oomkiller once (clearly seen in the logs) during my several attempts to build Tails. Cheers. --- config/chroot_local-hooks/10-tbb | 2 +- vagrant/provision/setup-tails-builder | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/chroot_local-hooks/10-tbb b/config/chroot_local-hooks/10-tbb index 54e77e63be..8bf5d5c0b2 100755 --- a/config/chroot_local-hooks/10-tbb +++ b/config/chroot_local-hooks/10-tbb @@ -35,7 +35,7 @@ download_and_verify_files() { ( cd "${destination}" echo "Fetching ${base_url}/${tarball} ..." - curl --remote-name "${base_url}/${tarball}" + curl --retry 20 --remote-name "${base_url}/${tarball}" ) actual_sha256="$(sha256sum "${destination}/${tarball}" | cut -d' ' -f1)" if [ "${actual_sha256}" != "${expected_sha256}" ]; then diff --git a/vagrant/provision/setup-tails-builder b/vagrant/provision/setup-tails-builder index 9c6b044d49..75f84ffd87 100755 --- a/vagrant/provision/setup-tails-builder +++ b/vagrant/provision/setup-tails-builder @@ -18,6 +18,9 @@ fi rm -f /etc/apt/preferences.d/* /etc/apt/sources.list.d/* +# Configure apt to retry +echo 'APT::Acquire::Retries "20";' > /etc/apt/apt.conf.d/99retries + # Add our builder-jessie repository for live-build, and pin it low echo 'deb http://deb.tails.boum.org/ builder-jessie main' > /etc/apt/sources.list.d/tails.list sed -e 's/^[[:blank:]]*//' > /etc/apt/preferences.d/tails <<EOF -- 2.11.0 _______________________________________________ Tails-dev mailing list Tails-dev@boum.org https://mailman.boum.org/listinfo/tails-dev To unsubscribe from this list, send an empty email to tails-dev-unsubscr...@boum.org.