Skip to content

Instantly share code, notes, and snippets.

@mowings
Last active June 20, 2019 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mowings/58db60c50a287ea0f27e87093fadb75c to your computer and use it in GitHub Desktop.
Save mowings/58db60c50a287ea0f27e87093fadb75c to your computer and use it in GitHub Desktop.
Enable autoremove of old kernels from ubuntu /boot directory

edit /etc/apt/apt.conf.d/50unattended-upgrades

Uncomment line:

Unattended-Upgrade::Remove-Unused-Dependencies “false”;

and change to true

This all assumes unattended-upgrades is enabled (it usually is by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment