On Fri, Aug 15, 2014 at 04:16:55PM +0100, Colin Law wrote:

> Right, gotit, thanks.  I deduce from what I see that 14.04
> automatically uninstalls (or at least makes available for
> autoremoving) all except the current and previous kernel, and all that
> is left is the conf files for previous versions.  Thus (if I am
> correct) there should no longer be any need to worry about old
> kernels, which is great.

Right, kernels are marked as autoinstalled by default and the latest 3
are overridden to be 'needed'.  This lets apt-get autoremove drop all
the older ones.  A couple of you have mentioned that there are a number
of kernels listed, mostly with 'rc' at the start.  That implied they
were removed but not purged, as the kernel really doesn't bring any
config files purging them is safe and reasonable.  I use 'apt-get
autoremove --purge' to cleanup and avoid these building up (existing
ones can be cleared with apt-get purge <name>).

I also have used the following incantation to pull older kernels from
before the change to auto-track the latest three into the system and let
autoremove have at them:

  sudo apt-mark auto `apt-mark showmanual 
'^linux-(headers|image|image-extra|cloud-tools|tools)-[0-9]'`

Yeah I know I am very late to the party :).

-apw

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to