我查看了其他关于此问题的帖子,他们建议使用一些有用的权宜之计来释放文件空间[卸载我没有使用或几乎从未使用过的程序,使我的根目录变得更大。]
为什么文件夹总是被填满(尽管我没有安装任何东西)有没有什么办法可以阻止它?以前从来没有出现过这种情况,即使我已经安装了同一个 Ubuntu 多年,但这是新的
这是我收到的消息的屏幕截图,以防我解释得不正确:
user@computername:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 785M 1.9M 783M 1% /run
/dev/sda5 14G 13G 804M 94% /
tmpfs 3.9G 185M 3.7G 5% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop0 3.8M 3.8M 0 100% /snap/gnome-system-monitor/81
/dev/loop1 3.8M 3.8M 0 100% /snap/gnome-system-monitor/77
/dev/loop3 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop2 54M 54M 0 100% /snap/core18/941
/dev/loop4 90M 90M 0 100% /snap/core/6818
/dev/loop5 144M 144M 0 100% /snap/gnome-3-28-1804/23
/dev/loop6 1.0M 1.0M 0 100% /snap/gnome-logs/61
/dev/loop10 4.2M 4.2M 0 100% /snap/gnome-calculator/352
/dev/loop7 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop8 219M 219M 0 100% /snap/gimp/130
/dev/loop9 196M 196M 0 100% /snap/vlc/555
/dev/loop11 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop12 15M 15M 0 100% /snap/gnome-characters/254
/dev/loop14 152M 152M 0 100% /snap/gnome-3-28-1804/40
/dev/loop15 141M 141M 0 100% /snap/gnome-3-26-1604/82
/dev/loop13 35M 35M 0 100% /snap/gtk-common-themes/1122
/dev/loop17 4.2M 4.2M 0 100% /snap/gnome-calculator/406
/dev/loop16 141M 141M 0 100% /snap/gnome-3-26-1604/74
/dev/loop18 203M 203M 0 100% /snap/vlc/770
/dev/loop19 92M 92M 0 100% /snap/core/6531
/dev/loop20 1.0M 1.0M 0 100% /snap/gnome-logs/57
/dev/loop21 518M 518M 0 100% /snap/libreoffice/115
/dev/loop22 3.8M 3.8M 0 100% /snap/gnome-system-monitor/70
/dev/loop23 219M 219M 0 100% /snap/gimp/165
/dev/loop24 161M 161M 0 100% /snap/midori/451
/dev/loop25 484M 484M 0 100% /snap/libreoffice/106
/dev/loop26 90M 90M 0 100% /snap/core/6673
/dev/loop27 141M 141M 0 100% /snap/gnome-3-26-1604/78
/dev/loop28 54M 54M 0 100% /snap/core18/731
/dev/loop29 15M 15M 0 100% /snap/gnome-characters/206
/dev/loop31 203M 203M 0 100% /snap/vlc/768
/dev/loop30 54M 54M 0 100% /snap/core18/782
/dev/loop32 36M 36M 0 100% /snap/gtk-common-themes/1198
/dev/loop33 15M 15M 0 100% /snap/gnome-characters/258
/dev/loop34 523M 523M 0 100% /snap/libreoffice/112
/dev/sda6 101G 75G 22G 78% /home
tmpfs 785M 48K 784M 1% /run/user/1000
谢谢
答案1
我通过彻底摆脱 snapd 解决了这个问题。
sudo apt autoremove --purge snapd
(特别感谢 Ubuntu 论坛上的 OldFred 提出的建议)