Oracle/MSSQL/MySQL

Unable to install msodbcsql17 on Ubuntu: Error installing MsSQL

Unable to install msobdcsql17 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

install mssql tools via commans

Solution: Update msodbcsql17 package running the following command

sudo apt-get install msodbcsql17

Now as you can see the issue will be resolved and the installation is completed as shown below.

installation complete

That’s it for fixing unable to install msodbcsql17 on Ubuntu. I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Subscribe
Notify of
guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Paco Valverde
Paco Valverde
11 months ago

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

2
0
Would love your thoughts, please comment.x
()
x