![无法在 ubuntu 22.10 上安装 SQL Server 2022](https://linux22.com/image/951452/%E6%97%A0%E6%B3%95%E5%9C%A8%20ubuntu%2022.10%20%E4%B8%8A%E5%AE%89%E8%A3%85%20SQL%20Server%202022%20.png)
我在安装 SQL Server 2022 Express 时遇到问题......
sudo apt-get update sudo apt-get install -y mssql-server Hit:1
http://security.ubuntu.com/ubuntu kinetic-security InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 http://gr.archive.ubuntu.com/ubuntu kinetic InRelease
Hit:4 http://gr.archive.ubuntu.com/ubuntu kinetic-updates InRelease
Hit:5 http://gr.archive.ubuntu.com/ubuntu kinetic-backports InRelease
Hit:6 https://packages.microsoft.com/ubuntu/20.04/mssql-server-2022
focal InRelease Hit:7 https://packages.microsoft.com/ubuntu/20.04/prod
focal InRelease Reading package lists... Done 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.
...我尝试重新安装软件包但没有任何变化。
答案1
答案2
libldap-2.4-2
无法在 Ubuntu 22.10 中安装,因为它在 Ubuntu 20.04 之后已从 Ubuntu 存储库中删除。
您所遵循的说明已过时。通知向您提供这些说明的人员,他们需要更新这些说明。
或者,您可以安装 Ubuntu 20.04。该软件包在该版本中可用。