misc: Run apt update before installing packages
Sometimes the package repo may be out of date and installing required packages can return 404 because the version in the stale database has been removed. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
@@ -56,6 +56,7 @@ if [ -n "$YUM" ]; then
|
||||
$sudo_command $YUM install -y graphviz || true # for debugging
|
||||
fi
|
||||
if [ -n "$APT" ]; then
|
||||
$sudo_command $APT update -y
|
||||
$sudo_command $APT install -y libvirt-dev || true
|
||||
$sudo_command $APT install -y libaugeas-dev || true
|
||||
$sudo_command $APT install -y ruby ruby-dev || true
|
||||
|
||||
Reference in New Issue
Block a user