snap 列表与 snap 相关的循环挂载不匹配

snap 列表与 snap 相关的循环挂载不匹配

我正在运行 Ubuntu 18.04。我没有遇到任何性能问题,如这个相关问题但我列表中的按扣环座比按扣座多得多。

me@me-Z370-HD3P:~$ df -h | grep snap
/dev/loop0      2.5M  2.5M     0 100% /snap/gnome-calculator/826
/dev/loop1      162M  162M     0 100% /snap/gnome-3-28-1804/128
/dev/loop2      384K  384K     0 100% /snap/gnome-characters/570
/dev/loop3      2.5M  2.5M     0 100% /snap/gnome-calculator/748
/dev/loop4      2.3M  2.3M     0 100% /snap/gnome-system-monitor/148
/dev/loop5      218M  218M     0 100% /snap/gnome-3-34-1804/60
/dev/loop6       98M   98M     0 100% /snap/core/10577
/dev/loop7      1.0M  1.0M     0 100% /snap/gnome-logs/93
/dev/loop10     163M  163M     0 100% /snap/gnome-3-28-1804/145
/dev/loop9       65M   65M     0 100% /snap/gtk-common-themes/1514
/dev/loop11     1.0M  1.0M     0 100% /snap/gnome-logs/100
/dev/loop13      56M   56M     0 100% /snap/core18/1944
/dev/loop12      65M   65M     0 100% /snap/gtk-common-themes/1513
/dev/loop14      98M   98M     0 100% /snap/core/10583
/dev/loop16      56M   56M     0 100% /snap/core18/1932
/dev/loop15     2.3M  2.3M     0 100% /snap/gnome-system-monitor/145
/dev/loop17     384K  384K     0 100% /snap/gnome-characters/550
/dev/loop18     219M  219M     0 100% /snap/gnome-3-34-1804/66
me@me-Z370-HD3P:~$ snap list
Name                  Version                     Rev    Tracking         Publisher   Notes
core                  16-2.48.2                   10583  latest/stable    canonical✓  core
core18                20201210                    1944   latest/stable    canonical✓  base
gnome-3-28-1804       3.28.0-19-g98f9e67.98f9e67  145    latest/stable    canonical✓  -
gnome-3-34-1804       0+git.3556cb3               66     latest/stable    canonical✓  -
gnome-calculator      3.38.0+git7.c840c69c        826    latest/stable/…  canonical✓  -
gnome-characters      v3.34.0+git9.eeab5f2        570    latest/stable/…  canonical✓  -
gnome-logs            3.34.0                      100    latest/stable/…  canonical✓  -
gnome-system-monitor  3.36.0-12-g35f88a56d7       148    latest/stable/…  canonical✓  -
gtk-common-themes     0.1-50-gf7627e4             1514   latest/stable/…  canonical✓  -

为什么我有 18 个已安装的卡扣环,而列出的只有 9 个snap list,其中是否有多余的?

编辑:

感谢@mook765 的评论,这里是人们可能认为是多余的禁用快照列表。

snap list --all | grep disabled
core                  16-2.48                     10577  latest/stable    canonical*  core,disabled
core18                20200929                    1932   latest/stable    canonical*  base,disabled
gnome-3-28-1804       3.28.0-17-gde3d74c.de3d74c  128    latest/stable    canonical*  disabled
gnome-3-34-1804       0+git.3556cb3               60     latest/stable    canonical*  disabled
gnome-calculator      3.36.0+git9.96b95fd2        748    latest/stable/…  canonical*  disabled
gnome-characters      v3.34.0+git8.a46106b        550    latest/stable/…  canonical*  disabled
gnome-logs            3.34.0                      93     latest/stable/…  canonical*  disabled
gnome-system-monitor  3.36.0-12-g35f88a56d7       145    latest/stable/…  canonical*  disabled
gtk-common-themes     0.1-44-gb73fa2d             1513   latest/stable/…  canonical*  disabled

答案1

看起来这并不是一个真正需要解决的问题,因为要保留的版本数量可调节的并且不能小于 2,而我的情况似乎就是如此。这在一定程度上是有道理的,这样如果你在使用最新的 snap 时遇到问题,你总是可以运行以前的版本。

相关内容