Install Microsoft SQL Server on Pop!_OS

TalalAhmed 1 Reputation point
2022-08-25T12:49:33.843+00:00

I am trying to install Microsoft SQL Server on the latest Pop!_OS 22.04 LTS (jammy) but receiving following errors:

sudo apt-get install 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 was also not able to add the repository using the information given at microsoft sql server link for Ubuntu :

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Can someone guide me on how to resolve these dependencies and install MS Sql Server on Pop!_OS?

234800-j51pd.png

I also installed Synaptic and then tried installing mssql-server but got the following error as shown in image:

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,691 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 40,741 Reputation points
    2022-08-25T14:41:01.99+00:00
    0 comments No comments

  2. YufeiShao-msft 7,056 Reputation points
    2022-08-26T02:51:08.44+00:00

    Hi @TalalAhmed ,

    Although Pop!_OS is based on Ubuntu, but it is not Ubuntu, the information you use does not apply.

    SQL Server is supported on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), and Ubuntu. It is also supported as a Docker image, which can run on Docker Engine on Linux.

    Microsoft also supports deploying and managing SQL Server containers by using OpenShift and Kubernetes.

    Please check out the support policy
    https://learn.microsoft.com/en-US/troubleshoot/sql/general/support-policy-sql-server

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.