Install error for packages-microsoft-prod.deb

Eric Soulliard (UHC) 0 Reputation points
2025-02-26T22:21:40.04+00:00

I am following the guide here: https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16&tabs=ubuntu18-install%2Calpine17-install%2Cdebian8-install%2Credhat7-13-install%2Crhel7-offline to install the ODBC drivers on our GitHub runner. The runner is using Ubuntu 24.04. I receive the following error:

dpkg-deb: error: 'packages-microsoft-prod.deb' is not a Debian format archive. I can see that the file was downloaded successfully and has a size of 18K: -rw-r--r--. 1 runner runner 18K Feb 26 22:09 packages-microsoft-prod.deb.

SQL Server | SQL Server Transact-SQL
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LiHongMSFT-4306 31,571 Reputation points
    2025-02-27T01:32:10.46+00:00

    Hi @Eric Soulliard (UHC)
    Not that familiar with Linux environment. But regarding this error, please ensure that the .deb package is compatible with Ubuntu 24.04. Some packages may not support the latest Ubuntu versions.

    Best regards,

    Cosmog


    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".


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.