You could also try replacing line 8 (VERS=...) with this one and let me know how that behaves. VERS=`dpkg -l | grep ^ii |grep linux-image|grep -v linux-image-generic|tr -s ' '|cut -d' ' -f3|sort -V | head -n -$NUM_TO_KEEP`
-- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
