wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"
sudo apt-get update
sudo apt-get install -y mssql-server
// 我尝试在新安装的 ubuntu 22.04 机器上按照上述命令安装 sql server,但当我运行以下命令时出现卡住...
sudo /opt/mssql/bin/mssql-conf 设置 这是我从终端得到的错误
patrick@patrick-Lenovo-ideapad-330-15IGM:~$ sudo apt-get install -y mssql-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mssql-server : Depends: libldap-2.4-2 but it is not installable
E: Unable to correct problems, you have held broken packages.
patrick@patrick-Lenovo-ideapad-330-15IGM:~$ cd /opt
请社区帮助我解决这个僵局..或者帮助我如何轻松地将 SQL 安装到我新安装的 ubuntu 22.04 机器上..或者整个过程...或者我应该怎么做....
提前致谢