Ubuntu 16.04上的MSSQL Server未满足的依赖关系问题

时间:2019-07-18 07:51:22

标签: .net sql-server ubuntu-16.04 sql-server-on-linux

我正在尝试使用this手册将mssql-server安装到我的ubuntu 16.04 PC。

我正面临未满足的依赖关系问题。

root@foo-desktop:/# sudo apt-get install -y mssql-server
Reading package lists... Done
Building dependency tree       
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: libsasl2-modules-gssapi-mit but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

然后我尝试..

root@foo-desktop:/# sudo apt-get install  libsasl2-modules-gssapi-mit
Reading package lists... Done
Building dependency tree       
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:
 libsasl2-modules-gssapi-mit : Depends: libsasl2-modules (= 2.1.26.dfsg1-14build1) but 2.1.26.dfsg1-14ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.

然后我尝试..

root@foo-desktop:/# sudo apt-get install libsasl2-2
Reading package lists... Done
Building dependency tree 
Reading state information... Done
libsasl2-2 is already the newest version (2.1.26.dfsg1-14ubuntu0.1).
The following package was automatically installed and is no longer required:
snapd-login-service
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

如何解决这种情况。

0 个答案:

没有答案