我的/var
已满,因为旧的快照没有被删除。
- 作为权宜之计,我可以手动删除除最近的两张快照之外的所有快照吗?
- 我怎样才能让旧快照像我认为的那样被自动删除?
(请注意,当我复制/粘贴终端命令的输出时,它会将所有内容一起运行,我必须添加额外的回车符来分隔行)
careyschug@OptiPlex-7050:~$ snap list --all
Name Version Rev Tracking Publisher Notes
audacity 3.1.3 1051 latest/stable lucyllewy✪ -
bare 1.0 5 latest/stable canonical✓ base
blue-recorder 0+git.77ab1d6 126 latest/stable xlmnxp -
brave 1.61.116 331 latest/stable brave✓ disabled
brave 1.62.153 335 latest/stable brave✓ -
chromium 120.0.6099.216 2729 latest/stable canonical✓ disabled
chromium 121.0.6167.85 2738 latest/stable canonical✓ -
chromium-ffmpeg 0.1 34 latest/stable canonical✓ disabled
carey@OptiPlex-7050:/var/lib/snapd/snaps$ ls -al
total 12390516
drwxr-xr-x 3 root root 4096 Feb 3 21:20 .
drwxr-xr-x 23 root root 4096 Feb 3 21:24 ..
-rw------- 2 root root 261177344 Dec 2 2022 audacity_1051.snap
-rw------- 1 root root 4096 Aug 9 2022 bare_5.snap
-rw------- 2 root root 152416256 Dec 2 2022 blue-recorder_126.snap
-rw------- 1 root root 161738752 May 17 2023 brave_234.snap
-rw------- 1 root root 161374208 Jun 14 2023 brave_242.snap
-rw------- 1 root root 163106816 Jul 7 2023 brave_246.snap
-rw------- 1 root root 164630528 Jul 21 2023 brave_250.snap
-rw------- 1 root root 164634624 Jul 26 2023 brave_252.snap
-rw------- 1 root root 162439168 Aug 4 2023 brave_256.snap
-rw------- 1 root root 165072896 Aug 24 07:11 brave_262.snap
-rw------- 1 root root 165101568 Sep 12 10:12 brave_272.snap
-rw------- 1 root root 166170624 Sep 20 11:21 brave_279.snap
-rw------- 1 root root 166178816 Sep 22 10:32 brave_281.snap
-rw------- 1 root root 166842368 Nov 2 06:05 brave_297.snap
-rw------- 1 root root 167243776 Nov 8 03:05 brave_299.snap
-rw------- 1 root root 167202816 Dec 6 14:18 brave_318.snap
-rw------- 1 root root 170098688 Dec 7 10:23 brave_321.snap
-rw------- 1 root root 170168320 Dec 21 07:16 brave_325.snap
-rw------- 1 root root 170192896 Jan 10 11:27 brave_329.snap
-rw------- 1 root root 170188800 Jan 14 03:51 brave_331.snap
-rw------- 1 root root 170192896 Jan 25 09:11 brave_333.snap
-rw------- 1 root root 173035520 Jan 31 07:25 brave_335.snap
-rw------- 1 root root 173109248 Feb 3 21:20 brave_338.snap
-rw------- 1 root root 159129600 Sep 19 09:51 chromium_2623.snap
-rw------- 1 root root 165093376 Nov 9 00:05 chromium_2680.snap
-rw------- 1 root root 165117952 Nov 16 01:15 chromium_2686.snap
-rw------- 1 root root 165117952 Dec 7 13:18 chromium_2704.snap
-rw------- 1 root root 166608896 Jan 4 01:26 chromium_2719.snap