Update APT package metadata on installs to avoid errors due to staleness.
This commit is contained in:
parent
1372e9e2e7
commit
9512f95182
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue