mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Instead of just warning that apt failed, tell why
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 <oswald.buddenhagen@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
committed by
Liang Qi
parent
00e31823d3
commit
eb4fcfaba1
@@ -159,6 +159,7 @@ catch || {
|
||||
;;
|
||||
$ExceptionAPT)
|
||||
echo "Failed to install package."
|
||||
sudo lsof /var/lib/dpkg/lock
|
||||
exit 1;
|
||||
;;
|
||||
$ExceptionSED)
|
||||
|
||||
Reference in New Issue
Block a user