[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Post-installation: how to auto-configure network adapter (ie. enable internet access)?

On Fri, Jun 6, 2014 at 5:52 AM, Horatio Leragon <hleragon@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.

Reply to: