[Bug 241368] Re: remove old kernels from grub list

Tom Chiverton 241368 at bugs.launchpad.net
Sat Aug 21 12:11:38 UTC 2010


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 Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list