I had a similar problem while upgrading from Ubuntu Gnome 17.04 to 17.10 on Dell XPS 15(with GTX 1050 graphics card). The kernel version that I was trying to install was 4.13.0-25.
I successfully solved the problem by killing dpkg, switching to text- only console(Ctrl+Alt+F6), and running `sudo dpkg --configure -a`. It seems like this problem is related to Nvidia driver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1686107 Title: Latest kernel update gets stuck To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686107/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs