永无止境的“如果存在,则运行核心快照的配置挂钩”

Mar*_*cky 4 debian software-installation snapshot

我正在使用带有 KDE Plasma 的 Debian 9 来工作和娱乐,我只是想安装 Krita 图形应用程序。这成为试用称为“snap”的新安装系统的机会。所以我安装了 snapd 并调用了 (as root) /home/user# snap install krita

我收到了这些消息,而不是安装了新程序:

2017-08-09T23:47:17+02:00 INFO snap "core" has bad plugs or slots: core-support-plug (unknown interface)
[|] Run configure hook of "core" snap if present
Run Code Online (Sandbox Code Playgroud)

并且[|] Run configure hook of "core" snap if present似乎永远运行:(

如何修复这个问题?

更新:

重新运行/home/user# snap install krita会带来另一个问题:

error: cannot perform the following tasks:
- Setup snap "core" (2462) security profiles (cannot setup seccomp for snap "core": fork/exec /usr/lib/snapd/snap-seccomp: no such file or directory)
- Setup snap "core" (2462) security profiles (fork/exec /usr/lib/snapd/snap-seccomp: no such file or directory)
Run Code Online (Sandbox Code Playgroud)

PS:我会提交错误报告但是...我真的厌倦了设置和维护另一个登录名/密码只是为了报告它。10年前,我可以做到,但现在太多了。如果一个项目不在 Github 上,我会通过。

小智 5

根据错误报告,如果您同时安装 core 和任何 snap,则 snapd 将失败。

为避免该错误,您必须清除并重新安装 snapd:

# apt purge snapd
# apt install snapd
Run Code Online (Sandbox Code Playgroud)

安装核心卡扣:

# snap install --edge core
Run Code Online (Sandbox Code Playgroud)

安装所需的 snap,在本例中为 krita:

# snap install krita
Run Code Online (Sandbox Code Playgroud)