41
submitted 3 months ago* (last edited 3 months ago) by sem@piefed.blahaj.zone to c/linux@programming.dev

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. ๐Ÿ˜‚

you are viewing a single comment's thread
view the rest of the comments
[-] forestbeasts@pawb.social 5 points 3 months ago

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

this post was submitted on 04 Jul 2026
41 points (100.0% liked)

Linux

15226 readers
916 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS