I am trying to install Microsoft SQL Server on Ubuntu 21.10 and I am getting an error. I noticed that Microsoft page doesn't mention 21; so maybe it's not possible yet. But Canonical announcement specifically mentions SQL Server support.
Anyway, when I run sudo apt install mssql-server
I am getting the following:
The following packages have unmet dependencies: mssql-server : Depends: libldap-2.4-2 but it is not installable
if I try to install libldap
manually, it just says that unable to locate package. However, when I run sudo apt install libldap-2.4-2
, I get something more interesting:
Package libldap-2.4-2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libldap-common
But how do I tell sql server installer to use it?
Maybe I am using a wrong repository? This guide still uses 20.04 - and there isn't much relevant under 21.