自動清理 boot - jenhaoyang/backend_blog GitHub Wiki

editing /etc/apt/apt.conf.d/10periodic and changing:

APT::Periodic::AutocleanInterval "0";

to

APT::Periodic::AutocleanInterval "7";

參考:
https://dev.to/cpu/avoiding-a-full-boot-partition-on-ubuntu-2aob