Whenever I try to get my system up-to-date in Ubuntu 18.04, it stops:
whenever it reaches
Setting up linux-headers-<version>-generic. I cannot cancel the upgrading from there, but even when you and leave it for hours, it doesn't change anything. If I check the process in
htop it shows it now doing anything. If I force the upgrade to end and try to restart it, when I retry the upgrade it says a previous one has been interrupted and I should try it with
sudo dpkg --configure -a which fixes the problem.
I just find it very annoying to have to do this every time there is a header-upgrade available, especially because I feel like it shouldn't happen and there should be a more permanent fix available. What am I missing or doing wrong?