prashant@BGRGP93:~$ microstack
microstack: command not found
尝试使用以下命令进行安装
prashant@BGRGP93:~$ sudo snap install microstack --beta --devmode
[sudo] password for prashant:
error: cannot communicate with server: Post http://localhost/v2/snaps/microstack: dial unix /run/snapd.socket: connect: no such file or directory
在线查找如何修复上述错误...他们建议尝试以下步骤...但我在启动 snapd.service 时出现错误
prashant@BGRGP93:~$ sudo systemctl unmask snapd.service
prashant@BGRGP93:~$ sudo systemctl enable snapd.service
prashant@BGRGP93:~$ sudo systemctl start snapd.service
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
我的系统版本
prashant@BGRGP93:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
prashant@BGRGP93:~$
在安装 openstack 时我多次遇到此错误...我在 Windows 10 上使用 wsl2...
相同的 snap 安装可以在 ubuntu 16.04 上正确运行在 gcp 实例上