From: marc tobias Date: Wed, 7 Sep 2016 14:08:30 +0000 (+0100) Subject: make apt-get noninteractive. Also fixes the grub error state X-Git-Tag: v3.0.0~134 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/e49ed1bb133c805e0ef36c7d9ed45fae1de3fe1b make apt-get noninteractive. Also fixes the grub error state grub complains about disc unique identifier having changed --- diff --git a/vagrant/install-on-ubuntu-16.sh b/vagrant/install-on-ubuntu-16.sh index e077989f..a466c514 100755 --- a/vagrant/install-on-ubuntu-16.sh +++ b/vagrant/install-on-ubuntu-16.sh @@ -3,6 +3,9 @@ # hacks for broken vagrant box #DOCS: sudo rm -f /var/lib/dpkg/lock #DOCS: sudo update-locale LANG=en_US.UTF-8 #DOCS: +export APT_LISTCHANGES_FRONTEND=none #DOCS: +export DEBIAN_FRONTEND=noninteractive #DOCS: + # # *Note:* these installation instructions are also available in executable # form for use with vagrant under vagrant/install-on-ubuntu-16.sh. @@ -16,7 +19,7 @@ sudo update-locale LANG=en_US.UTF-8 #DOCS: # sudo apt-get update -qq - sudo apt-get upgrade -y + sudo apt-get -o Dpkg::Options::="--force-confnew" --force-yes -fuy dist-upgrade #DOCS: sudo apt-get upgrade # Now you can install all packages needed for Nominatim: