Skip to content

Commit aafc1c5

Browse files
Robust way of checking apt(-get) locks (#747)
2 parents 23d5650 + 7eebbcc commit aafc1c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.25.12
1+
1.25.13

installer/tue-install-impl.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ function tue-install-system-now
959959
# Wait for apt-lock first (https://askubuntu.com/a/375031)
960960
i=0
961961
tput sc
962-
while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1
962+
while sudo fuser /var/{lib/{dpkg,apt/lists},cache/apt/archives}/{lock,lock-frontend} >/dev/null 2>&1
963963
do
964964
case $((i % 4)) in
965965
0 ) j="-" ;;

0 commit comments

Comments
 (0)