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
不会给出任何东西。