I think you refer to this line: new=`dpkg -l | grep ^ii | grep $ver |grep linux-| awk -F' ' '{ print $2 }'|xargs` which identifies all the packages involved with a particular kernel version. In this case, searching (with grep) for linux- instead of linux-image- has the same effect, unless you see otherwise (in which case, please show the commands as well as the filtered and unfiltered (before and after grep) outputs).
-- 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