gpt4 book ai didi

linux - 在 Linux Mint 上安装 Azure CLI 时出错?

转载 作者:太空宇宙 更新时间:2023-11-04 04:51:06 26 4
gpt4 key购买 nike

我正在尝试在 Linux Mint 19 上安装 Azure CLI。官方 site状态:

This script is only verified for Ubuntu 16.04+ and Debian 8+. It may not work on other distributions. If you're using a derived distribution such as Linux Mint, follow the manual install instructions and perform any necessary troubleshooting.

我正在尝试遵循这些说明,但在这一行:

sudo apt-get install ca-certificates curl apt-transport-https lsb-release gnupg

我收到以下错误:

openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo dpkg --configure -a

sudo apt-get install -f

但是在这两种情况下我都会遇到此错误:

● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2019-09-16 22:39:42 -03; 6ms ago
Process: 22323 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)

最佳答案

要安装 Azure CLI,您可以在 Installation 中为特殊 Linux 发行版选择正确的步骤。 。但是,当您找不到适合您的 Linux 发行版的步骤时,您可以选择 steps for all the Linux system 。但首先,您需要满足先决条件。

关于linux - 在 Linux Mint 上安装 Azure CLI 时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57966299/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com