re: Avoiding a full /boot partition on Ubuntu. VIEW POST


Thanks for your post! I have also set up the automatic upgrade, but found that the "APT::Periodic::AutocleanInterval" setting does not remove old kernels or other not needed packages. Instead is has the same effect as "apt-get autoclean", which removes downloaded package files (the *.deb files) from the apt cache.

See e.g. here for a description of this option:

Btw. I was sure there is also an option similar to "apt-get autoremove", but currently cannot find it.


I found the option equivalent to apt-get autoremove.

It's at /etc/apt/apt.conf.d/50unattended-upgrades file under option :

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";

Source :

code of conduct - report abuse