Why can't I install SQL Server 2019 on Ubuntu 22.04?

Viewed 47

I have Ubuntu 22.04 and when I tried to install SQL Server 2019 I run into an error. I tried many ways to fix it and still it didn't work out!

Here is the Error I get when I run this command just after updating my packages:
sudo apt-get install -y mssql-server

sudo apt-get install -y mssql-server
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.

I have no idea about this error. I tried to install libldap separately and still it didn't work out.

0 Answers
Related