From e49ed1bb133c805e0ef36c7d9ed45fae1de3fe1b Mon Sep 17 00:00:00 2001 From: marc tobias Date: Wed, 7 Sep 2016 15:08:30 +0100 Subject: [PATCH] make apt-get noninteractive. Also fixes the grub error state grub complains about disc unique identifier having changed --- vagrant/install-on-ubuntu-16.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.39.5