Debian 12 bookworm-snap:安装错误访问被拒绝

Debian 12 bookworm-snap:安装错误访问被拒绝

我正在尝试安装multipassDebian 12 bookworm(在 WSL 下运行)下的软件包,但是在安装过程中出现错误。

这是一个新问题。 snap 之前曾使用过并安装了 multipass(参考超级用户 Q/A),但在我尝试解决在multipasssnap开始投掷error: access denied (see 'snap help login')

具体来说,这似乎是在我运行之后发生的:

  • sudo systemctl restart snapd snapd.socket

现在snapd无法启动...我收到以下错误:

$ systemctl status snapd.socket
● snapd.socket - Socket activation for snappy daemon
     Loaded: loaded (/lib/systemd/system/snapd.socket; enabled; preset: enabled)
     Active: active (running) since Wed 2024-01-24 12:19:49 CST; 20h ago
   Triggers: ● snapd.service
     Listen: /run/snapd.socket (Stream)
             /run/snapd-snap.socket (Stream)
      Tasks: 0 (limit: 4512)
     Memory: 4.0K
     CGroup: /system.slice/snapd.socket

Jan 24 12:19:49 mudslide systemd[1]: Starting snapd.socket - Socket activation for snappy daemon...
Jan 24 12:19:49 mudslide systemd[1]: Listening on snapd.socket - Socket activation for snappy daemon.
$
$ sudo systemctl restart snapd snapd.socket
Failed to restart snapd.service: Transport endpoint is not connected
See system logs and 'systemctl status snapd.service' for details.
Failed to restart snapd.socket: Transport endpoint is not connected
See system logs and 'systemctl status snapd.socket' for details.
$

我如何multipass从这里进行安装?

相关内容