On my setup
apt remove linux-image-extra-4.4.0-42-generic
seemed to solve the problem, but 4.4.0-42 stayed in the boot menu.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
package linux-image-4.4.0-42-generic (not installed) failed to
install/upgrade: subprocess new pre-installation script returned error
exit status 2
To manage notifications about this bug go to:
ubuntu-bugs mailing list