Update the Vagrantfile to resolve package update/installation issue. (#9783)
* Re-factor the Vagrantfile. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> * Change to `--force` and `--force-yes` to `--assume-yes`. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
parent
48f0c85712
commit
0ab0519edb
|
@ -16,7 +16,7 @@ ARCH="$(uname -m | sed 's|i686|386|' | sed 's|x86_64|amd64|')"
|
||||||
export DEBIAN_PRIORITY=critical
|
export DEBIAN_PRIORITY=critical
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
export DEBCONF_NONINTERACTIVE_SEEN=true
|
export DEBCONF_NONINTERACTIVE_SEEN=true
|
||||||
APT_OPTS="--yes --force-yes --no-install-suggests --no-install-recommends"
|
APT_OPTS="--assume-yes --no-install-suggests --no-install-recommends -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\""
|
||||||
echo "Upgrading packages ..."
|
echo "Upgrading packages ..."
|
||||||
apt-get update ${APT_OPTS} >/dev/null
|
apt-get update ${APT_OPTS} >/dev/null
|
||||||
apt-get upgrade ${APT_OPTS} >/dev/null
|
apt-get upgrade ${APT_OPTS} >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue