Update APT package metadata on installs to avoid errors due to staleness.

This commit is contained in:
awalsh128 2021-10-21 12:25:56 -07:00
parent 1372e9e2e7
commit 9512f95182

View file

@ -15,6 +15,8 @@ for package in $packages; do
done
mkdir -p $cache_dir
echo "* Updating APT package list and get the latest information..."
sudo apt-get update
for package in $packages; do
cache_filepath=$cache_dir/$package.tar.gz