aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
index e0e1d1f1..1f2139c1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
@@ -51,6 +51,19 @@ try
sudo systemctl stop $service
sudo systemctl disable $service
done
+
+ # aptdaemon is used by update notifiers and similar and there is no point in having those (the symptom is aptd holding a lock)
+ for i in `seq 10`; do
+ echo attempting to remove aptdaemon
+ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y remove aptdaemon || true
+ # check that aptdaemon is no longer installed
+ which aptd > /dev/null || break
+ if [[ $i -eq 10 ]]; then
+ throw $ExceptionAPT
+ fi
+ sleep 10
+ done
+
# Git is not needed by builds themselves, but is nice to have
# immediately as one starts debugging
installPackages+=(git)