<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 15, 2015 at 12:45 PM, Colin Law <span dir="ltr"><<a href="mailto:clanlaw@gmail.com" target="_blank">clanlaw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15 January 2015 at 14:37, Dustin Kirkland <<a href="mailto:kirkland@canonical.com">kirkland@canonical.com</a>> wrote:<br>
> ...<br>
<span class="">> I have Ubuntu Server instances in the Cloud, with very tiny root disks, one<br>
> of which has run for several years, autoupdating, and accumulated 37(!!)<br>
> kernels, which filled up its 8GB root partition.<br>
><br>
> Around that time a few years ago, I wrote the "purge-old-kernels" command<br>
> (<a href="http://manpg.es/purge-old-kernels" target="_blank">http://manpg.es/purge-old-kernels</a>), which does a very effective job of<br>
> saving your current kernel, and one other known working kernel, while<br>
> deleting the rest.  I was working on getting that into the distro (and out<br>
> of the bikeshed package), but Adam Conrad told me that apt would fix this,<br>
> itself.  I've CC'd Adam.  Can you advise us, Adam?<br>
<br>
</span>As from 14.04 apt-get autoremove should remove old kernels except for<br>
current and most recent.<br></blockquote><div><br></div><div>apt-get autoremove is an "arcane command-line tool". I thought by this part of the discussion it had became clear that it is not a sensible solution (except maybe if auto-scheduled). </div></div><div><br></div>-- <br><div class="gmail_signature">Cláudio "Patola" Sampaio<br>IRC: ptl  - Yahoo: patolaaa<br>Campinas, SP - Brazil.</div>
</div></div>