
df-h 讓我明白
Filesystem Size Used Avail Use% Mounted on
udev 3,9G 0 3,9G 0% /dev
tmpfs 785M 9,7M 775M 2% /run
/dev/sdb5 15G 14G 0 100% /
tmpfs 3,9G 1,3M 3,9G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
tmpfs 785M 32K 785M 1% /run/user/1000
之後我嘗試刪除一些大約100MB的文件,進入vim寫入一行並保存失敗。 sudo apt-get autoclean 根本不做任何事 sudo apt-get -f autoremove 讓我
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libc++1 libjpeg62
Suggested packages:
clang
The following packages will be REMOVED:
linux-headers-4.4.0-64 linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
linux-headers-4.4.0-70-generic linux-headers-4.4.0-72
linux-headers-4.4.0-72-generic linux-headers-4.4.0-78
linux-headers-4.4.0-78-generic linux-image-4.4.0-64-generic
linux-image-4.4.0-66-generic linux-image-4.4.0-70-generic
linux-image-4.4.0-72-generic linux-image-extra-4.4.0-64-generic
linux-image-extra-4.4.0-66-generic linux-image-extra-4.4.0-70-generic
linux-image-extra-4.4.0-72-generic snap-confine thermald
ubuntu-core-launcher
The following NEW packages will be installed:
libc++1 libjpeg62
0 upgraded, 2 newly installed, 21 to remove and 475 not upgraded.
2 not fully installed or removed.
Need to get 304 kB of archives.
After this operation, 1265 MB disk space will be freed.
E: You don't have enough free space in /var/cache/apt/archives/.
這讓我無處可去,因為我無法安裝任何一個位元。
尋找其他一些解決方案,例如我應該運行的解決方案
# tune2fs -m 1 /dev/sdb5
但沒有任何改變,然後我重新啟動了我的電腦,以防刪除的檔案仍然打開,因此不會釋放內存,也不會lsof|grep delete
提供任何內容。