Skip to content

Commit 91c6830

Browse files
committed
must kill unattended upgrades before reinstall
(you would think uninstall would stop it, but it doesn't)
1 parent 52ec1d1 commit 91c6830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/server/compute/cloud/startup-script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ setState state running
151151
# Basically, unattended upgrades can randomly run and just totally break
152152
# the startup script, which is really painful.
153153
pkill -9 apt-get || true
154-
apt remove -y unattended-upgrades || true
155154
pkill -f -9 unattended-upgrade || true
155+
apt-get remove -y unattended-upgrades || true
156156
157157
${installTime()}
158158

0 commit comments

Comments
 (0)