]> git.openstreetmap.org Git - nominatim.git/commitdiff
make apt-get noninteractive. Also fixes the grub error state
authormarc tobias <mtmail@gmx.net>
Wed, 7 Sep 2016 14:08:30 +0000 (15:08 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 10 Sep 2016 21:29:59 +0000 (23:29 +0200)
grub complains about disc unique identifier having changed

vagrant/install-on-ubuntu-16.sh

index e077989fb41251738028dc5a38be888b612676d8..a466c514f67a1b5a2823eb8f8f08a6e7353f34ca 100755 (executable)
@@ -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: