I have this weird issue since about 1 month ago.
I used to routinely apply dist upgrades with:
apt-get update apt-get dist-upgrade
but since 1 month ago I get an output similar to this:
apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be REMOVED: apparmor console-setup grub kbd linux-image-3.2.0-23-generic linux-image-3.2.0-31-generic linux-image-3.2.0-49-generic linux-image-3.2.0-51-generic linux-image-3.2.0-52-generic linux-image-3.2.0-53-generic linux-image-server linux-server ntfs-3g plymouth-theme-ubuntu-text ubuntu-minimal The following NEW packages will be installed: libudev1 The following packages have been kept back: udev 0 upgraded, 1 newly installed, 15 to remove and 1 not upgraded. Need to get 48.1 kB of archives. After this operation, 904 MB disk space will be freed. Do you want to continue [Y/n]?
That is, Ubuntu wants to (correctly) remove the old kernel image but does NOT install the new one, it does not even propose it.
Do you know what is wrong with this?
I do have some 3rd party repos installed but I need them and they are quite famous (and thus should work): php, nginx, varnish and mysql.
Thanks in advance.
Edit: I did want to see what would happen by pressing ENTER at the "Do you want to continue [Y/n]?" question. So I made a backup and then upgraded. Unsurprisingly enough, Ubuntu would not reboot any more.