You should use 'sudo dpkg --purge grub' instead. The problem you're
having is that apt is trying to remove other packages which have already
been marked for removal, and one of those is the kernel which is where
you're running into problems in the first place due to the unconfigured
grub on the system.
Using dpkg --purge avoids apt trying to remove packages that you aren't
requesting removal of.
** Changed in: grub (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879383
Title:
The Treminal command "sudo apt-get remove --purge grub" is not
removing "linux-image-4.15.0-91-generic"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1879383/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs