From eb4fcfaba107edffab3683bc436df5df8d81307d Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 29 Jan 2018 22:41:34 +0100 Subject: Instead of just warning that apt failed, tell why MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the lsof we should see which process was holding the lock. After that we can disable this source of problems. Change-Id: Ie6a014bdb101e6230139569c0e4ea51a57089c30 Reviewed-by: Oswald Buddenhagen Reviewed-by: Heikki Halmet Reviewed-by: Jędrzej Nowacki --- coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'coin/provisioning') 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 d15e0059..a2132209 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 @@ -159,6 +159,7 @@ catch || { ;; $ExceptionAPT) echo "Failed to install package." + sudo lsof /var/lib/dpkg/lock exit 1; ;; $ExceptionSED) -- cgit v1.2.3