From: Kefu Chai Date: Fri, 22 Dec 2017 04:20:19 +0000 (+0800) Subject: install-deps.sh: do not download i18n apt index X-Git-Tag: wip-pdonnell-testing-20180317.202121~711^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=45781602c9a02bd30986ea59a5603deaebf9c435;p=ceph-ci.git install-deps.sh: do not download i18n apt index and do not fail the `apt-get update` command, if any mirror is not reachable. Signed-off-by: Kefu Chai --- diff --git a/install-deps.sh b/install-deps.sh index b8c1f8a1b3f..0e86a9114dc 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -45,7 +45,7 @@ deb http://mirror.yandex.ru/mirrors/launchpad/ubuntu-toolchain-r $dist main EOF # import PPA's signing key into APT's keyring $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F - $SUDO apt-get update + $SUDO apt-get -y update -o Acquire::Languages=none -o Acquire::Translation=none || true $SUDO apt-get install -y g++-7 fi