我正在尝试使用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.
如何解决这种情况。