vagrant: Stop any ongoing unattended-upgrade

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org add lines for finishing interrupted apt process]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy 2019-08-24 11:40:10 -04:00 committed by Sunil Mohan Adapa
parent 52d6c885f2
commit dec215851b
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

4
Vagrantfile vendored
View File

@ -36,6 +36,10 @@ Vagrant.configure(2) do |config|
cd /vagrant/
./setup.py install
systemctl daemon-reload
# Stop any ongoing upgrade
killall -9 unattended-upgr
dpkg --reconfigure -a
apt -f install
apt-get update
# In case new dependencies conflict with old dependencies
apt-mark hold freedombox