فهرست منبع

Vagrant: update APT index before installing packages

The bootstrap script fails when the APT index in the base box
is not up to date, as it will try to install obsolete packages
and get 404 errors.
Ronan Amicel 11 سال پیش
والد
کامیت
0f100664f3
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      deployment/vagrant-common/bootstrap.sh

+ 1 - 0
deployment/vagrant-common/bootstrap.sh

@@ -90,6 +90,7 @@ if [ ! -e "~/.firstboot" ]; then
 
   # Install prerequisite tools
   echo "Installing prerequisites"
+  sudo apt-get update
   sudo apt-get install -y git
   sudo apt-get install -y python-pip