首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >删除快照-存储而不删除管理单元

删除快照-存储而不删除管理单元
EN

Ask Ubuntu用户
提问于 2019-12-04 04:52:22
回答 1查看 1.6K关注 0票数 0

我试着安装snap商店,但中间搞砸了.

当我跑步时:

代码语言:javascript
复制
joe@uOS:~$ snap list --all
Name               Version           Rev   Tracking  Publisher   Notes
core               16-2.42.1         8039  stable    canonical✓  core
core18             20191030          1265  stable    canonical✓  base
gtk-common-themes  0.1-25-gcc83164   1353  stable    canonical✓  -
micro              0+git.af520cf     648   stable    zy          classic
snap-store         20191114.a9948d5  209   stable    canonical✓  -

joe@uOS:~$ snap-store
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
cp: cannot stat '/snap/snap-store/209/gnome-platform/usr/share/mime': No such file or directory
Directory '/home/joe/snap/snap-store/209/.local/share/mime/packages' does not exist!
/snap/snap-store/209/bin/desktop-launch: line 10: /snap/snap-store/209/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
ERROR: update-mime-database /home/joe/snap/snap-store/209/.local/share/mime exited abnormally with status 1
ERROR: /snap/snap-store/209/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
04:49:21:0766 GLib-GIO g_app_info_get_name: assertion 'G_IS_APP_INFO (appinfo)' failed
04:49:21:0766 Gtk Locale not supported by C library.
    Using the fallback 'C' locale.
Unable to init server: Could not connect: Connection refused
04:49:21:0769 Gtk cannot open display: :0

joe@uOS:~$ sudo snap remove snap-store
error: snap "snap-store" has "install-snap" change in progress

如何在不影响其他snap包的情况下删除/重新安装snap存储?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-12-04 04:55:45

哦..。我刚做了..。我跑了

代码语言:javascript
复制
joe@uOS:~$ sudo snap remove gtk-common-themes
gtk-common-themes removed
joe@uOS:~$ snap list --all
Name             Version                     Rev   Tracking  Publisher   Notes
core             16-2.42.1                   8039  stable    canonical✓  core
core18           20191030                    1265  stable    canonical✓  base
gnome-3-28-1804  3.28.0-16-g27c9498.27c9498  110   stable    canonical✓  -
micro            0+git.af520cf               648   stable    zy          classic
snap-store       20191114.a9948d5            209   stable    canonical✓  -
joe@uOS:~$ sudo snap remove snap-store
snap-store removed

joe@uOS:~$ sudo snap install gtk-common-themes
gtk-common-themes 0.1-25-gcc83164 from Canonical✓ installed
joe@uOS:~$ sudo snap install snap-store
snap-store 20191114.a9948d5 from Canonical✓ installed

完美的运行..。但我不知道为什么会发生这种事。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1193674

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档