dotnet / dotnet-buildtools-prereqs-docker

Used to maintain the Docker images hosted at the mcr.microsoft.com/dotnet-buildtools/prereqs image repository
MIT License
55 stars 103 forks source link

Ubuntu 16.04 Helix Dockerfile build failure - hash sum mismatch #426

Closed mthalman closed 3 years ago

mthalman commented 3 years ago

Attempting to build https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/main/src/ubuntu/16.04/helix/arm32v7/Dockerfile results in the following build error:

Failed to fetch https://download.mono-project.com/repo/ubuntu/dists/preview-xenial/main/binary-armhf/Packages  Hash Sum mismatch
MichaelSimons commented 3 years ago

[Triage] @MattGal - Can you please take a look?

MattGal commented 3 years ago

This is actually a problem with https://download.mono-project.com/repo/ubuntu/dists/preview-xenial/main/binary-armhf/ ( added I believe to make sure mono libgdiplus testing works as expected). Simply changing this to nightly-xenial away from preview-xenial unblocks the build.

I think we should probably solve this either by moving to a different flavor than preview (@directhex is the SME I believe) and/or opening a bug in the appropriate spot in Mono-land.

MattGal commented 3 years ago

opened said bug.

directhex commented 3 years ago

Move away from preview, or use the origin-download domain. It’s regenerated frequently, but for annoying new security reasons, the CDN cache is no longer flushed when new metadata is pushed.

Sent from Mail for Windows 10

From: Matt Galbraith Sent: Wednesday, March 10, 2021 7:33 PM To: dotnet/dotnet-buildtools-prereqs-docker Cc: Jo Shields; Mention Subject: Re: [dotnet/dotnet-buildtools-prereqs-docker] Ubuntu 16.04 HelixDockerfile build failure - hash sum mismatch (#426)

This is actually a problem with https://download.mono-project.com/repo/ubuntu/dists/preview-xenial/main/binary-armhf/ ( added I believe to make sure mono libgdiplus testing works as expected). Simply changing this to nightly-xenial away from preview-xenial unblocks the build. I think we should probably solve this either by moving to a different flavor than preview @.*** is the SME I believe) and/or opening a bug in the appropriate spot in Mono-land. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

MattGal commented 3 years ago

PR merged, addressed the same potential issue in 18.04 at the same time