From dec215851b1b4c50785233f1842daaa772d6a611 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 24 Aug 2019 11:40:10 -0400 Subject: [PATCH] vagrant: Stop any ongoing unattended-upgrade Signed-off-by: James Valleroy [sunil@medhas.org add lines for finishing interrupted apt process] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index bdf3676f3..415866956 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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