diff --git a/3.New_server_deployment/3.Initialize_APT/0_setup.sh b/3.New_server_deployment/3.Initialize_APT/0_setup.sh index e4f6d5e0fa5a6296d6cd56e79484751076600791..d6367d1172fbed01d855e6304414827afb5b8770 100755 --- a/3.New_server_deployment/3.Initialize_APT/0_setup.sh +++ b/3.New_server_deployment/3.Initialize_APT/0_setup.sh @@ -23,6 +23,8 @@ fi # migrate to Ubuntu 16.04 / apply sources.list if ( rgrep '14.04' /etc/lsb-release >/dev/null ); then echo "Upgrading to Ubuntu 16.04." + apt-get update + apt-get dist-upgrade -y cp sources16.list /etc/apt/sources.list apt-get update DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get dist-upgrade -o Dpkg::Options::="--force-confold" --force-yes -y