<div dir="ltr"><div class="gmail_extra">This is absolutely not true.  'sudo apt-get autoremove' will NOT remove old kernels.  </div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Here's a page referring to why to script does NOT remove old kernels:</div><div class="gmail_extra"><a href="http://askubuntu.com/questions/563483/why-doesnt-apt-get-autoremove-remove-my-old-kernels">http://askubuntu.com/questions/563483/why-doesnt-apt-get-autoremove-remove-my-old-kernels</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">This command will list the number of kernels you have installed:</div><div class="gmail_extra"><div class="gmail_extra">dpkg -l | grep linux-image-</div><div><br></div><div>I have 20 currently installed, and running autoremove has no effect on that number.  </div><div><br></div><div>There is no consensus within Xubuntu or larger Ubuntu communities about the best way to handle this.  </div><div><br></div><div>Ubuntu-Tweak provides a GUI for removing old kernels, which is a good approach for non-technical users.  </div><div><br></div><div>Google searches will provide many attempts at scripts to automate this process, but be careful, I have deleted all kernels twice by using such scripts.  </div><div><br></div><div>Wilbur Ince</div><div><br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 10:23 PM, Justin O'Shea <span dir="ltr"><<a href="mailto:191jordan@gmail.com" target="_blank">191jordan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">sudo apt-get autoremove</blockquote></div><br><br></div></div>