樹心幽徑

« 20190603為fedora Linux 的 httpd 裝SSL自簽憑證 | Main | 20190826在ubuntu 裝python3.7.0.tgz、編寫並執行第1個程式 »

20190826 solve ubuntu boot directory full problem.
2019/08/26,09:22

(1) 手動移除/boot中過期的系統檔。

$ sudo apt-get autoremove --purge

...
移除 linux-modules-4.4.0-154-generic (4.4.0-154.181) 中...
Purging configuration files for linux-modules-4.4.0-154-generic (4.4.0-154.181) ...

(2)設定自動移除:

$ sudo vi /etc/apt/apt.conf.d/50unattended-upgrades

修改如下設定為真

Unattended-Upgrade::Remove-Unused-Dependencies "true";

 

 

迴響

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType