Not able to install msodbcsql18

karan bhargav 6 Reputation points
2022-04-15T16:26:59.98+00:00

Why i am not able to install msodbcsql18,
i follow full instruction given here https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15

keep note that i tried these whole installation steps in ubuntu 22.04(docker container)
https://imgur.com/ZaXxSXX.png

i also try on earlier version of ubuntu and debian maybe some thing wrong with package respository.

Thank you

SQL Server | Other
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. YufeiShao-msft 7,146 Reputation points
    2022-04-18T05:50:47.757+00:00

    Hi @karan bhargav

    if ! [[ "18.04 20.04 21.04" == "$(lsb_release -rs)" ]];
    then
    echo "Ubuntu $(lsb_release -rs) is not currently supported.";
    exit;
    fi

    Maybe it dose not support 22.04 version yet, you can try the corresponding version to see if the error still exists

    Troubleshooting “E: Unable to locate package” Error on Ubuntu

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

    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.


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.