安装sqlserver linux 2019报错无法打开 ‘microsoft.asc’: 没有那个文件或目录(Cannot open 'microsoft.asc': there is no such file or directory).

今天在给ubuntu执行为 SQL Server Linux 2019 安装导入公共存储库 GPG 密钥的命令所报的错误。

也就是以下命令:

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add microsoft.asc

新手刚接触ubuntu linux,不懂~~~然后我用curl进行导入,好像成功了:

curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

然后再执行为 SQL Server 2019 注册 Microsoft SQL Server Ubuntu 存储库的命令就没问题了

安装sqlserver linux 2019报错无法打开 ‘microsoft.asc’: 没有那个文件或目录 sqlserver

以上就是【安装sqlserver linux 2019报错无法打开 ‘microsoft.asc’: 没有那个文件或目录】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论