REHL mssql-release.repo broken

Riccardo Francescato 1 Reputation point
2021-06-21T07:15:41.65+00:00

Hi,
I'm trying to install msodbcsql17 odic driver in cento 7 docker but repository https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo its broken
MS reference : https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#redhat17

[root@d69136dda87c /]# curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo   
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current   
                                     Dload  Upload   Total   Spent    Left  Speed   
    100   193  100   193    0     0    269      0 --:--:-- --:--:-- --:--:--   269   
    [root@d69136dda87c /]# ACCEPT_EULA=Y yum install -y msodbcsql17   
    Loaded plugins: fastestmirror, ovl   
    Determining fastest mirrors   
     * base: centos-altarch.reloumirrors.net   
     * extras: centos-altarch.reloumirrors.net   
     * updates: centos-altarch.reloumirrors.net   
    base                                                     | 3.6 kB     00:00   
    extras                                                   | 2.9 kB     00:00   
    packages-microsoft-com-prod                              | 3.0 kB     00:00   
    updates                                                  | 2.9 kB     00:00   
    (1/5): base/7/aarch64/group_gz                             | 153 kB   00:00   
    (2/5): packages-microsoft-com-prod/primary_db              | 454 kB   00:00   
    (3/5): extras/7/aarch64/primary_db                         | 245 kB   00:01   
    (4/5): updates/7/aarch64/primary_db                        | 1.2 MB   00:04   
    (5/5): base/7/aarch64/primary_db                           | 4.9 MB   00:22   
    No package msodbcsql17 available.   
    Error: Nothing to do   
    [root@d69136dda87c /]#   

Thanks in advance
Riccardo

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

2 answers

Sort by: Most helpful
  1. AmeliaGu-MSFT 13,971 Reputation points Microsoft Vendor
    2021-06-21T09:22:43.82+00:00

    Hi RiccardoFrancescato-TG,

    Sorry that I don’t have a CentOS environment for testing.
    Could you please try to download the latest msodbcsql17 .rpm from https://packages.microsoft.com/rhel/7/prod/, and install msodbcsql 17 offline?
    Please refer to this doc which might help.

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    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.


  2. AmeliaGu-MSFT 13,971 Reputation points Microsoft Vendor
    2021-06-22T08:36:05.817+00:00

    Hi RiccardoFrancescato-TG,
    Thanks for your reply.

    I suppose that docker form Mac M1 is buggy.

    Suggest you to submit the it to the link at the buttom of the doc.

    108102-image.png

    Your feedback is valuable for Microsoft to improve the level of products and service. Appreciate for your understanding.
    Best Regards,
    Amelia

    0 comments No comments