wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"
sudo apt-get update
sudo apt-get install -y mssql-server
// i have tried to install sql server following the above commands in my newly installed ubuntu 22.04 machine and when i run the following command am stuck...
sudo /opt/mssql/bin/mssql-conf setup
this is the error am getting from terminal
patrick@patrick-Lenovo-ideapad-330-15IGM:~$ 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.
patrick@patrick-Lenovo-ideapad-330-15IGM:~$ cd /opt
Please i beg from the community to help me unlock this stalemate.. or lather i be helped how i can install sql to my newly installed ubuntu 22.04 machine with ease .. or the entire procedure... or what i should do....
Thanks in Advance