ubuntu 18.04 上安装SQL Server 2019

官方安装文档:https://docs.microsoft.com/zh-cn/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-ver15


在进行到 sudo apt-get install –y mssql-server时可能会出现错误:

The following packages have unmet dependencies:
 mssql-server : Depends: libc++1 but it is not installable
E: Unable to correct problems, you have held broken packages.


解决办法:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

然后再次安装就没问题了。

posted @ 2020-05-15 15:40  黄小墨  阅读(1895)  评论(0编辑  收藏  举报