mirror of
git://code.qt.io/qt/qt5.git
synced 2026-10-06 15:17:35 +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 <[email protected]> Reviewed-by: Heikki Halmet <[email protected]> Reviewed-by: Jędrzej Nowacki <[email protected]>
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