「snap」- 常见错误汇总

ERR – Waiting for automatic snapd restart

Bug #1892551 “snapcraft fails to run if it is installed as a try…” : Bugs : Snapcraft

使用 snap 安装 chromium 浏览器时出现如下错误,并一直卡住:

...
2020-08-21T16:56:10Z INFO Waiting for automatic snapd restart...
...

问题原因

这个问题的原因可能有很多,我们则是网络原因导致无法继续执行。

解决方法

通过配置代理解决该问题,代理配置方法参考笔记。

[Sol.] error: unable to contact snap store

解决方案:检查 proxy 配置,是否能够正常连接。

[Sol.] dropping privs did not work: No data available

dropping privs did not work: Invalid argument

当前用户非普通用户,或者当前用户在 ROOT 组中。

我们场景属于后者:用户属于 ROOT 组

退出 ROOT 组即可,然后重新登录即可。