Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Oracle/MSSQL/MySQL » How to fix unable to install msodbcsql17 tool on Ubuntu
  • How to stop remove and manage docker container
    Stopping, Removing and Naming Docker Container Containers
  • showdefenderupdate
    View Microsoft Defender Antivirus Update Details on Windows Image Windows
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization
  • How to create edit save exit file
    Mastering Vim in Linux: How to Create, Edit, Save, and Quit Files Linux
  • Retieve BitLocker Recovery Keys from microsoft sql
    Get MBAM BitLocker Recovery Keys from Microsoft SQL Server Windows
  • SUID GUID Sticky Bit 1
    Set Special File Permissions with SUID or GUID and Sticky Bit Linux
  • Screenshot 2022 03 20 at 21.08.50
    How to integrate AWS CodeBuild and AWS CodeCommit to SonarCloud AWS/Azure/OpenShift
  • diag7
    How to run Windows Memory Diagnostics Tool on Windows Windows

How to fix unable to install msodbcsql17 tool on Ubuntu

Posted on 22/06/202024/11/2025 Christian By Christian 2 Comments on How to fix unable to install msodbcsql17 tool on Ubuntu
Unable to install msobdcsql17 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

install mssql tools via commans

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
Run the install msodbcsql17 in command
Run the install msodbcsql17 in command

click on Yes to continue

Accept the terms
Accept the terms

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

installation complete

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.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Oracle/MSSQL/MySQL Tags:MsSQL, MsSQL Editions

Post navigation

Previous Post: How to fix Bluetooth not available on MacBook
Next Post: Install Microsoft SQL Server 2019 and MSSQL Command line tools on Ubuntu Linux

Related Posts

  • Enale FIPS compliance mode on Windows
    How to enable FIPS mode on Windows Server Oracle/MSSQL/MySQL
  • sql server
    Download and install MSSQL 2019 Express Edition and SSMS Oracle/MSSQL/MySQL
  • Screenshot 2020 06 23 at 10.52.52
    How to uninstall Microsoft SQL Server on Windows Oracle/MSSQL/MySQL
  • installer file too long fix
    Fix long path names to files on SQL Server installation media error Oracle/MSSQL/MySQL
  • sql 1
    Editions of MSSQL Server: What are the differences between various Editions of Microsoft SQL Server Oracle/MSSQL/MySQL
  • How to use DBeaver on MacOS
    Install DBeaver on macOS: Connect to PostgreSQL Database Oracle/MSSQL/MySQL

More Related Articles

Enale FIPS compliance mode on Windows How to enable FIPS mode on Windows Server Oracle/MSSQL/MySQL
sql server Download and install MSSQL 2019 Express Edition and SSMS Oracle/MSSQL/MySQL
Screenshot 2020 06 23 at 10.52.52 How to uninstall Microsoft SQL Server on Windows Oracle/MSSQL/MySQL
installer file too long fix Fix long path names to files on SQL Server installation media error Oracle/MSSQL/MySQL
sql 1 Editions of MSSQL Server: What are the differences between various Editions of Microsoft SQL Server Oracle/MSSQL/MySQL
How to use DBeaver on MacOS Install DBeaver on macOS: Connect to PostgreSQL Database Oracle/MSSQL/MySQL

Comments (2) on “How to fix unable to install msodbcsql17 tool on Ubuntu”

  1. Avatar photo Paco Valverde says:
    06/12/2022 at 1:58 PM

    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

    Log in to Reply
    1. chris Christian says:
      07/12/2022 at 10:28 PM

      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

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • How to stop remove and manage docker container
    Stopping, Removing and Naming Docker Container Containers
  • showdefenderupdate
    View Microsoft Defender Antivirus Update Details on Windows Image Windows
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization
  • How to create edit save exit file
    Mastering Vim in Linux: How to Create, Edit, Save, and Quit Files Linux
  • Retieve BitLocker Recovery Keys from microsoft sql
    Get MBAM BitLocker Recovery Keys from Microsoft SQL Server Windows
  • SUID GUID Sticky Bit 1
    Set Special File Permissions with SUID or GUID and Sticky Bit Linux
  • Screenshot 2022 03 20 at 21.08.50
    How to integrate AWS CodeBuild and AWS CodeCommit to SonarCloud AWS/Azure/OpenShift
  • diag7
    How to run Windows Memory Diagnostics Tool on Windows Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.