I'm also attaching a newer version which outputs more about what it is doing and why, please post the whole of the new output. It's harmless to run directly from the console (still).
** Attachment added: "v2 script" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/241368/+attachment/1488567/+files/remove-old-kernels -- remove old kernels from grub list https://bugs.launchpad.net/bugs/241368 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs