How to fix unable to install msodbcsql17 tool on Ubuntu

In this article, we shall discuss How to fix unable to install msodbcsql17 tool on Ubuntu. When you are unable to install msodbcsql17 on Ubuntu, the root cause is because the msodbcsql17 package has a different version of MsSql-tools, both should have the same version. On how to install Microsoft SQL Server 2019 and MsSQL Command line tools on Ubuntu Linux. See this guide on how to download and install Microsoft SQL Server 2019 Express edition and Microsoft SQL Server Management Studio on Windows 10 and Windows Server.
The following packages have unmet dependencies:
mssql-tools : Depends: msodbcsql17 (>= 17.3.0.0) but it is not going to be installed
Please, see Upgrade Veeam Backup and Replication v12.3 to v13 on Windows, how to Integrate Active Directory with IPMI for Out-of-Band Management, and Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure.
Solution to fixing the error when “installing MSSQL”
Update msodbcsql17 package running the following command
sudo apt-get install msodbcsql17
click on Yes to continue
Now as you can see the issue will be resolved and the installation is completed as shown below.
I hope you found this guide on how to fix unable to install msodbcsql17 tool on Ubuntu. I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.




Hello Christian, if I want to install the exact version 17.10.so.1.1 on Ubuntu, how can I install that particular version? Kind regards
Hi Paco, To install a specific version of SQL Server on Linux, you will have to explore the different packages on the Microsoft Package Repositories and choose the one that you need. You can check the available packages. You could also, run this command(s) to list all the available packages for the version of SQL Server on Linux that you want to install. The result of this command will depend on the version of SQL Server that you are trying to install and it is based on the repository configuration file you are using: sudo apt -a list mssql-server