1

apt upgrade has been stuck at the following for a day or two now:

apt upgrade stuck at linux-headers-4.4.0-146-generic (4.4.0-146.172)


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?

Jeff
  • 1,674
J Taylor
  • 21
  • 4

1 Answers1

1

In the end I followed this method.

Running apt upgrade then prompted me for a new Secure Boot password, but otherwise completed successfully.

Zanna
  • 70,465
J Taylor
  • 21
  • 4