I have ubuntu 16.04 based vms and dockers using mssqlserver driver 17. Installed the classic way
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
sudo apt-get update
ACCEPT_EULA=Y apt-get install msodbcsql17
apt-get -y install unixodbc-dev
Since this morning and an update on microsoft side the apt-get update after adding the repo fails E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/dists/xenial/main/binary-amd64/Packages.gz Hash Sum mismatch
I followed any lead i could find here (Trouble downloading packages list due to a "Hash sum mismatch" error) to clean apt cache etc. And compared on several machines, either vms, docker containers, even an azure databricks spark instance, same error everywhere so it seems to definitely be an error on the microsoft repo (that, I checked, received an update early this morning).
Is there a way to temporary avoid the hash check to allow my script to bypass that error or am I condemned to wait for M$ to update their repo ?