首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动失败:远程“管理器”未知或无法到达-多通返回退出代码2

启动失败:远程“管理器”未知或无法到达-多通返回退出代码2
EN

Ask Ubuntu用户
提问于 2023-03-22 02:23:18
回答 1查看 156关注 0票数 1

我正在学习如何通过跟踪Ubuntu网站教程创建快照。前三步走得很好,但就在我要走到第四步的时候,我需要去一个地方。第二天,我试着继续下去,但什么也没成功。

当我试图运行snapcraft

代码语言:javascript
复制
❯ snapcraft -v
Starting Snapcraft 7.3.1                                                                                                                                                 
Logging execution to '~/.local/state/snapcraft/log/snapcraft-20230321-191401.108439.log'                                                                       
Launching a VM.
Build environment is in unknown state, cleaning first.
info failed: The following errors occurred:
instance "snapcraft-my-snap-name" does not exist
warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc.
launch failed: Remote "snapcraft" is unknown or unreachable.                    
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.

当我检查多通的内容时,它显示了大量的网络访问被禁用,即

代码语言:javascript
复制
❯ snap logs multipass
2023-03-21T19:04:31-07:00 multipassd[911]: Could not update manifest: failed to download from 'https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img': Network access is disabled.
2023-03-21T19:12:09-07:00 multipassd[911]: Error getting https://codeload.github.com/canonical/multipass-blueprints/zip/refs/heads/main: Network access is disabled. - trying cache.
2023-03-21T19:12:09-07:00 multipassd[911]: Cannot retrieve headers for https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz: Network access is disabled.
2023-03-21T19:12:09-07:00 multipassd[911]: Could not update manifest: failed to download from 'https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz': Network access is disabled.
2023-03-21T19:12:09-07:00 multipassd[911]: Cannot retrieve headers for https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img: Network access is disabled.
2023-03-21T19:12:09-07:00 multipassd[911]: Could not update manifest: failed to download from 'https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img': Network access is disabled.
2023-03-21T19:14:01-07:00 multipassd[911]: Cannot retrieve headers for https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz: Network access is disabled.
2023-03-21T19:14:01-07:00 multipassd[911]: Could not update manifest: failed to download from 'https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz': Network access is disabled.
2023-03-21T19:14:01-07:00 multipassd[911]: Cannot retrieve headers for https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img: Network access is disabled.
2023-03-21T19:14:01-07:00 multipassd[911]: Could not update manifest: failed to download from 'https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img': Network access is disabled.

我不确定这些日志是否真的是相关的,如教程中所说的使用core18 (我曾经使用过),我也尝试使用core20

EN

回答 1

Ask Ubuntu用户

发布于 2023-03-22 03:07:33

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

https://askubuntu.com/questions/1460377

复制
相关文章

相似问题

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