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"

然后再次安裝就沒問題了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM