Also, linux-image-ex is not a valid package name. You can see the kernels you have install with:
sudo dpkg -l | grep linux-image -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1778610 Title: package linux-image-4.15.0-23-generic 4.15.0-23.25 failed to install/upgrade: installed linux-image-4.15.0-23-generic package pre- removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1778610/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs