[xubuntu-users] [15.04 64Bit]-Delete Old Kernels?

Victor Forberger vforberger at fastmail.fm
Sun Jun 21 13:26:09 UTC 2015


On 06/20/2015 09:48 AM, Ince, Wilbur wrote:
> This is absolutely not true.  'sudo apt-get autoremove' will NOT remove
> old kernels.  
> 
> 
> Here's a page referring to why to script does NOT remove old kernels:
> http://askubuntu.com/questions/563483/why-doesnt-apt-get-autoremove-remove-my-old-kernels
> 
> This command will list the number of kernels you have installed:
> dpkg -l | grep linux-image-
> 
> I have 20 currently installed, and running autoremove has no effect on
> that number.  
> 
> There is no consensus within Xubuntu or larger Ubuntu communities about
> the best way to handle this.  
> 
> Ubuntu-Tweak provides a GUI for removing old kernels, which is a good
> approach for non-technical users.  
> 
> 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.  
> 
> Wilbur Ince
> 
> 
> 
> On Fri, Jun 19, 2015 at 10:23 PM, Justin O'Shea <191jordan at gmail.com
> <mailto:191jordan at gmail.com>> wrote:
> 
>     sudo apt-get autoremove
>

When this issue came up a few weeks ago, I created a blog post about it at:

http://linuxatty.wordpress.com/2015/05/25/upgrade-problems-kernels-filling-up-boot/

I just added a note about autoremove option in apt-get not doing all
that much. Rather than bleachbit, I have used ubuntu tweak.

- Victor



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20150621/59e1d049/attachment.sig>


More information about the xubuntu-users mailing list