Azure Data-Brick apt-get update stucks

2021-12-21T04:24:07.49+00:00

In Azure Data Brick, I am executing the below command to install ms sql driver at Ubuntu 18.04 -

%sh
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get -q -y install msodbcsql17

And encountering end-less loop returning "Get xxxxx" as shown below

159202-image.png

Can someone help?

Azure SQL Database
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,947 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 78,331 Reputation points Microsoft Employee
    2021-12-21T11:04:44.97+00:00

    Hello @Xu, Monica Jia Jing (Azure Account) ,

    Welcome the Microsoft Q&A platform.

    This could be an intermittent issue. I would suggest you re-try again and check if that works.

    As per the repro, I'm able to install the MSODBCSQL17 in Azure Databricks without any issue.

    Note: Installed on Databricks Runtime version : 9.0 (includes Apache Spark 3.1.2, Scala 2.12)

    159372-adb-n1t-msodbcsql17.gif

    Hope this will help. Please let us know if any further queries.

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

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful