我尝试使用Microsoft的指南安装MSSQL-Server,但在安装过程中遇到了这个错误,我尝试了Synaptic,但是它没有工作,我浏览了运行一些终端代码的Stackexchange,但是它也没有帮助,下面是错误:
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.下面是我试图更新的另一个错误:
dpkg: error processing package msodbcsql17 (--configure):
installed msodbcsql17 package post-installation script subprocess returned erro
r exit status 127
dpkg: dependency problems prevent configuration of mssql-tools:
mssql-tools depends on msodbcsql17 (>= 17.3.0.0); however:
Package msodbcsql17 is not configured yet.
dpkg: error processing package mssql-tools (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
Errors were encountered while processing:
msodbcsql17
mssql-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)如果时间太长我很抱歉。
发布于 2022-10-25 05:55:03
Ubuntu22.04破坏了兼容性。Libldap已经不再适用,你必须在其他地方找到它。我跑了22.04
https://askubuntu.com/questions/1416777
复制相似问题