On 6/06/2014 8:39 PM, Tom H wrote: > On Fri, Jun 6, 2014 at 5:52 AM, Horatio Leragon <hlera...@yahoo.com> wrote: >> >> dpkg --list 'linux-image-*' \ >> | perl -ane 'BEGIN { $r = `uname -r` or die; chomp $r } print $F[1], >> "\n" if $F[0] eq "ii" && $F[1] !~ /\Q$r\E\b/' \ >> | xargs -r aptitude purge -y > > This script'll remove linux-image-generic and the kernel will no > longer be upgraded automatically. > > And if your box has Secure Boot (even disabled), the corresponding > linux-signed-* packages will be installed and won't be purged.
That sure sounds like it would be doing us all a great service! A. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5391fe54.9010...@affinityvision.com.au