From db1bd8d8c1ddda2c97cc8977f93281b9126d749a Mon Sep 17 00:00:00 2001 From: Jeremy Plichta Date: Fri, 22 May 2015 15:18:11 -0600 Subject: [PATCH] change to https in sources.list.d I started having this problem when running the docker provisioner (Vagrant 1.7.2): Err http://get.docker.io docker/main amd64 Packages Undetermined Error Err http://get.docker.io docker/main i386 Packages Undetermined Error Ign http://get.docker.io docker/main Translation-en_US Ign http://get.docker.io docker/main Translation-en Stderr from the command: stdin: is not a tty W: Failed to fetch http://get.docker.io/ubuntu/dists/docker/main/binary-amd64/Packages Undetermined Error W: Failed to fetch http://get.docker.io/ubuntu/dists/docker/main/binary-i386/Packages Undetermined Error Changing this to https seemed to fix the problem for now. --- plugins/provisioners/docker/cap/debian/docker_install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/docker/cap/debian/docker_install.rb b/plugins/provisioners/docker/cap/debian/docker_install.rb index 4e4a2ae6e..2ab526b51 100644 --- a/plugins/provisioners/docker/cap/debian/docker_install.rb +++ b/plugins/provisioners/docker/cap/debian/docker_install.rb @@ -15,7 +15,7 @@ module VagrantPlugins comm.sudo("apt-get update -y") comm.sudo("apt-get install -y --force-yes -q curl") comm.sudo("curl -sSL https://get.docker.com/gpg | apt-key add -") - comm.sudo("echo deb http://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list") + comm.sudo("echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list") comm.sudo("apt-get update") comm.sudo("echo lxc lxc/directory string /var/lib/lxc | debconf-set-selections") comm.sudo("apt-get install -y --force-yes -q xz-utils #{package} -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold'")