diff --git a/scripts/provision-web.sh b/scripts/provision-web.sh index 8e8a7c2094..ec575ddef6 100755 --- a/scripts/provision-web.sh +++ b/scripts/provision-web.sh @@ -47,13 +47,16 @@ fi export DEBIAN_FRONTEND=noninteractive provision_web_common_ubuntu14 () { - # Update sources.list to use archive repositories - $sudo sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list - $sudo sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list + + # Point the main repository to the archive + sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list + + # Point the security repository to the archive + sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list # sphinxdoc-install-useful-system-tools-ubuntu14-begin # update list of available packages: - $sudo apt-get -y update -o Acquire::Check-Valid-Until=false --allow-releaseinfo-change + $sudo apt-get -y update --allow-releaseinfo-change # install useful system tools: $sudo apt-get -y install \