[Share Experiences] 终于干掉snapd分区了!
Tofloor
poster avatar
海天鹰
deepin
2021-02-10 08:25
Author

安装snap软件后文管多出很多分区,这几天没事做,挑战一下!

https://www.kutu66.com/ubuntu/article_160744

显示已挂载的snapd分区:losetup -a

/dev/loop1: []: (/var/lib/snapd/snaps/core18_1944.snap)
/dev/loop2: []: (/var/lib/snapd/snaps/gtk-common-themes_1514.snap)
/dev/loop0: []: (/var/lib/snapd/snaps/gnome-3-34-1804_60.snap)
/dev/loop3: []: (/var/lib/snapd/snaps/solvespace_237.snap)

显示snapd软件包列表:snap list

Name               Version          Rev   Tracking  Publisher   Notes
core18             20201210         1944  stable    canonical✓  base
gnome-3-34-1804    0+git.3556cb3    60    stable    canonical✓  -
gtk-common-themes  0.1-50-gf7627e4  1514  stable    canonical✓  -
solvespace         3.0~1b2d47cd     237   beta      solvespace  disabled

sudo snap remove solvespace 成功。

sudo snap remove gtk-common-themes 成功。

 

sudo snap remove core18

error: snap "core18" has "auto-refresh" change in progress

 

sudo snap remove gnome-3-34-1804

error: snap "gnome-3-34-1804" has "auto-refresh" change in progress

 

https://blog.csdn.net/gxgalaxy/article/details/96972326

snap changes

ID   Status  Spawn                      Ready                      Summary                                                                                                                     
4    Error   52 days ago, at 22:55 CST  52 days ago, at 22:56 CST  Remove "solvespace" snap                                                                                                    
5    Doing   yesterday at 23:48 CST     -                          Auto-refresh snaps "core18", "gnome-3-34-1804"                                                                              
6    Done    yesterday at 23:49 CST     yesterday at 23:49 CST     Remove "solvespace" snap                                                                                                    
7    Done    yesterday at 23:51 CST     yesterday at 23:51 CST     Remove "gtk-common-themes" snap

sudo snap abort 5

sudo snap remove gnome-3-34-1804

snap remove 后,自动任务又会启动,snap changes 查看 Doing,snap abort ID,再 snap remove。

文管的无用分区终于没有了。

Reply Favorite View the author
All Replies
wtz
deepin
2021-02-10 18:32
#1

好文章,Mark一下

Reply View the author
蒙笛
deepin
2021-02-10 22:52
#2

哇,大佬这么暴%&力,我可以告诉你还有别的解决办法吗,不要打我。
https://bbs.deepin.org/zh/post/203517

Reply View the author
152******17
deepin
2021-02-11 04:41
#3
蒙笛

哇,大佬这么暴%&力,我可以告诉你还有别的解决办法吗,不要打我。
https://bbs.deepin.org/zh/post/203517

那个方法我在 V20 1010 测试的时候没有起作用,不知道是不是操作不正确?

我有个 loop 分区是 xdroid 的也需要隐藏

Reply View the author
蒙笛
deepin
2021-02-22 02:57
#4
152******17

那个方法我在 V20 1010 测试的时候没有起作用,不知道是不是操作不正确?

我有个 loop 分区是 xdroid 的也需要隐藏

原贴后面有@灵兮之 指出 loop后面不要空格,直接loop*,你可以再试试。

Reply View the author