Failed to fetch https://packages.microsoft.com/ubuntu/14.04/prod/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
Failed to fetch https://packages.microsoft.com/ubuntu/14.04/prod/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
Occurs after installing this package and running apt-get update. https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
Started getting that error this morning while running chef. Did the same runs yesterday without issue. Not sure if something in the repo changed or what.
Seeing the same issue since yesterday
@dagood is it known problem? cc @leecow
Which version are you installing? .NET Core 2.1 / 2.2 / 3.0 Preview 4?
same here. trying to install .net core 2.2 happens during apt-get update
It certainly looks like the 14.04 Microsoft repo is broken. People are unable to get Powershell with the same error: https://github.com/PowerShell/PowerShell/issues/9424. It's also easy to repro in Docker.
Doc link for reference: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu14-04/sdk-current. You don't even get as far as picking which SDK to install so 2.1 vs. 2.2 etc. doesn't matter.
Ubuntu 14.04 hit end of standard support just a couple days before this issue was filed--got to wonder if that's related.
Also seeing the same issue, installing .NET Core 2.2 during apt-get update
I've reached out to the Microsoft repository admins via email about this issue, will update here with more info.
same here.
I also thought it was very coincidental that is started a few days before 14.04 goes EOL
The Microsoft repo admins are looking into it, no status yet.
ubuntu-distro-info tells me it's EOL 5 days ago, FWIW (but I wouldn't expect it to affect this):
#> ubuntu-distro-info --all -yeol -f | grep 14.04
Ubuntu 14.04 LTS "Trusty Tahr" -5
#> date -d 'now - 5 days'
Wed Apr 17 22:16:07 UTC 2019
They fixed it! I confirmed in an ubuntu:14.04 container. Thanks for filing the issue.
I've started seeing this issue again today on a Dockerfile that worked yesterday.
W: Failed to fetch https://packages.microsoft.com/ubuntu/14.04/prod/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
Same here, issue happens again.
We're also experiencing this issue since approximately 5pm UTC yesterday although we're trying to install msodbcsql17 and ms-tools, the symptoms are the same. I have also tried the suggested trick of clearing /var/lib/apt/lists/* but there was no change to the situation.
Yeah... repros with a clean Docker container as well. Sending another mail to the Microsoft repo admins.
same here
same...
They fixed it, and I confirmed it works for me now. Thanks for the reports!
Instead of creating a new issue, I thought I should mention here that I started receiving the following error this morning when I attempted to reinstall dotnet-sdk-2.1 after sudo apt upgrade caused the same exact issue (which is why I uninstalled dotnet and reinstalled dotnet-sdk2.2 and dotnet-sdk2.1).
$ sudo apt install dotnet-sdk-2.1 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-runtime-2.1 dotnet-hostfxr-2.1 dotnet-runtime-2.1 dotnet-runtime-deps-2.1
The following NEW packages will be installed:
aspnetcore-runtime-2.1 dotnet-hostfxr-2.1 dotnet-runtime-2.1 dotnet-runtime-deps-2.1 dotnet-sdk-2.1
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 134 MB of archives.
After this operation, 387 MB of additional disk space will be used.
Err:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-deps-2.1 amd64 2.1.12-1
404 Not Found [IP: 13.91.48.226 443]
Err:2 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-hostfxr-2.1 amd64 2.1.12-1
404 Not Found [IP: 13.91.48.226 443]
Err:3 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-2.1 amd64 2.1.12-1
404 Not Found [IP: 13.91.48.226 443]
Err:4 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 aspnetcore-runtime-2.1 amd64 2.1.12-1
404 Not Found [IP: 13.91.48.226 443]
Err:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-sdk-2.1 amd64 2.1.701-1
404 Not Found [IP: 13.91.48.226 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-deps-2.1/dotnet-runtime-deps-2.1.12-x64.deb 404 Not Found [IP: 13.91.48.226 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-hostfxr-2.1/dotnet-hostfxr-2.1.12-x64.deb 404 Not Found [IP: 13.91.48.226 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-2.1/dotnet-runtime-2.1.12-x64.deb 404 Not Found [IP: 13.91.48.226 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/a/aspnetcore-runtime-2.1/aspnetcore-runtime-2.1.12-x64.deb 404 Not Found [IP: 13.91.48.226 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-sdk-2.1/dotnet-sdk-2.1.701-x64.deb 404 Not Found [IP: 13.91.48.226 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I am on Ubuntu 18.04, which is the only difference from this issue which is Ubuntu 14.04.
@kimbaudi The error you're receiving is also different, 404 Not Found rather than Hash Sum mismatch. Can you open a new issue with the rest of the commands and output too? (sudo apt-get update in particular.)
@dagood yes, I just submitted issue 3010