Ubuntu 22.04 - The install the ODBC driver error

Efim Gerasimov 35 Reputation points
2024-04-24T12:22:25.1866667+00:00

Here is the result of the trying to build docker image with installing the ODBC driver:

RUN apt-get update && ACCEPT_EULA=Y apt-get install -y msodbcsql18:
0.361 Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
0.440 Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
0.529 Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
0.616 Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
0.766 Get:5 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
0.766 Err:5 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
0.766   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
0.770 Reading package lists...
1.260 E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
1.260 E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is not signed.
	
	

It was started fail today, before it was run without error a lot of times.

Please advise.

p.s.: install process are the same as 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%2Cubuntu17-install%2Cdebian8-install%2Credhat7-13-install%2Crhel7-offline

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

0 additional answers

Sort by: Most helpful