差異處
這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
ubuntu [2021/09/17 22:49] jz |
ubuntu [2021/09/20 23:26] (目前版本) jz |
||
|---|---|---|---|
| 行 2: | 行 2: | ||
| ===== Fix boot partition full ===== | ===== Fix boot partition full ===== | ||
| + | <code> | ||
| + | sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r` | ||
| + | sudo rm -rf /boot/*-3.2.0-{23,45,49,51,52,53,54,55}-* | ||
| + | sudo apt-get -f install | ||
| + | </code> | ||
| + | |||
| + | [[https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition]] | ||
| + | |||
| <code> | <code> | ||
| # check current running linux kernel version | # check current running linux kernel version | ||
| uname -a | uname -a | ||
| + | |||
| # remove old kernel at /boot | # remove old kernel at /boot | ||
| + | apt-get purge linux-image-4.4.0-101-generic | ||
| + | |||
| # fix broken package | # fix broken package | ||
| apt-get -f install | apt-get -f install | ||
