有什么想法可以让azure-cli在Visual Studio在线环境中工作吗?
我试着通过官方文档安装- https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest
echo "deb https://packages.microsoft.com/repos/azure-cli/ buster main" | sudo tee /etc/apt/sources.list.d/azure-cli.list并尝试安装
vsonline:/etc/apt/sources.list.d$ sudo apt-get install azure-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package azure-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'azure-cli' has no installation candidate发布于 2019-11-14 18:33:23
我已经通过手动将不同的包放入Debian stretch版本中解决了问题,并且我可以确认az登录现在可以在Visual Studio Online环境中工作:)
echo "deb https://packages.microsoft.com/repos/azure-cli/ stretch main" | sudo tee /etc/apt/sources.list.d/azure-cli.list然后
sudo apt-get update
sudo apt-get install azure-clihttps://stackoverflow.com/questions/58854346
复制相似问题