I don’t want the system to shutdown in the middle of the upgrade, but I’ve already started the upgrade in the GUI.
Is there a better way, maybe involving the apt lock?
EDIT: Thank you for all the helpful suggestions. Hopefully this helps the next person. My upgrade actually finished on its own while I was posting. 😂


Otherwise it’d only check for the lock once. It’d run, go “oops, apt is in use!”, and quit, and never check again.
The loop here is what makes it check again at all.
– Frost