apt upgrade has been stuck at the following for a day or two now:
Q1: What is the best practice for solving this issue?
I've tried Ctrl+C, as recommended here for "gracefully" terminating the process, but it hasn't worked:
How to safely abort apt-get install?
Do I follow the second answer instead?
Q2: How can I avoid this in future?
It looks like it's been reported as a bug here:
https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5580909.html
So how likely is this to happen again?
Edit:
Seems like it could be linked to this
Ubuntu 18.04 stuck at upgrading linux-header
although AFAIK I've had Secure Boot disabled for ages
Could an update have re-enabled Secure Boot somehow?