无法在 16.04 LTS 中安装 ubuntu snap

Dhe*_*Man 6 ubuntu-core snap

我无法在 Ubuntu 16.04 中安装 snap,而是收到如下所示的错误:

dheer@dheer-Inspiron-3558:~$ sudo snap install notes  
[sudo] password for dheer:  *********

error: cannot perform the following tasks:
- Fetch and check assertions for snap "ubuntu-core" (423) (Get https://assertions.ubuntu.com/v1/assertions/snap-revision/7sS9MbzjeZ87E4IVq3ByrAO8t1YqriNlaX4r7eT5AHYZjzRCa7twTmWU53e6falH: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers))
dheer@dheer-Inspiron-3558:~$ 
Run Code Online (Sandbox Code Playgroud)

请帮忙?

Eld*_*eek 3

您收到状态代码 423,这表明您尝试访问的内容已被锁定。这表明在您尝试访问快照“ubuntu-core”时,它可能正在被修改。在我的例子中,尝试访问assertions.ubuntu.com/v1/assertions/snap-revision会导致403错误(禁止),因为我没有访问权限。