From b157bc5cd7b36be5ef77229a75753bca837d7283 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 8 Oct 2016 13:47:35 -0700 Subject: [PATCH] Fixes #768 Check the staleness of the package index instead of the package cache. --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 4dab9355..01fa3824 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -68,7 +68,7 @@ if [ -x "$(command -v apt-get)" ];then fi ############################################# PKG_MANAGER="apt-get" - PKG_CACHE="/var/cache/apt" + PKG_CACHE="/var/lib/apt/lists/" UPDATE_PKG_CACHE="$PKG_MANAGER -qq update" PKG_UPDATE="$PKG_MANAGER upgrade" PKG_INSTALL="$PKG_MANAGER --yes --quiet install"