SQL Server won't install on Linux Ubuntu 18.04 due to Openssl version issue
Doing an Ubuntu OS upgrade to VERSION="18.04 LTS (Bionic Beaver)", my SQL Server had to be removed, and can't be reinstalled. The following message shows during the apt-get installation step:
maxt@mars:~$ sudo apt 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: openssl (<= 1.1.0)
E: Unable to correct problems, you have held broken packages.
I got "openssl/bionic,now 1.1.0g-2ubuntu4 amd64 [installed]".
Is there a workaround?
Previous upgrades, from Ubuntu 16.04 to 17.10 went without any issues.
maxt@mars:~$ cat /etc/os-release
VERSION="18.04 LTS (Bionic Beaver)"
PRETTYNAME="Ubuntu 18.04 LTS"
Millicent Duke commented
There are some comments elsewhere describing repackaging the Deb with the SSL dependency changed, but I would not recommend doing this with a production instance of SQL. As someone who is not a developer on this project, I have no reason to believe that the version cap on the OpenSSL dependency is arbitrary.
The basic functionality I need is available to me with a Deb that I repackaged, but again, I would not trust this workaround for production use without an answer from Microsoft confirming whether or not this is supported.