Install msodbcsql17 in debian docker image running in macos (m1)

Bruno Lorente 6 Reputation points
2022-02-09T10:57:03.747+00:00

Hi all,

I'm unable to install the msodbcsql17 deb package in a debian (buster-20210816-slim), the package is not found into packages.microsoft.com. Docker is running in a macbook pro 2021 using M1 pro proccessor.

There is some workaround to do this?

Thanks in advance!

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

1 answer

Sort by: Most helpful
  1. YufeiShao-msft 7,126 Reputation points
    2022-02-10T06:32:13.09+00:00

    Hi @Bruno Lorente

    Please look into this thread:https://github.com/MicrosoftDocs/sql-docs/issues/6494

    M1 support was included in the 17.8 release. Please see the documentation.
    https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15

    Debian 10 has been superseded by Debian 11 (bullseye).
    please note that a lot of the base images have switched to debian 11 which causes this issue.

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

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.