Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Core July 2020 Update - 2.1.20 and 3.1.6 #4939

Closed
rbhanda opened this issue Jul 14, 2020 · 6 comments
Closed

.NET Core July 2020 Update - 2.1.20 and 3.1.6 #4939

rbhanda opened this issue Jul 14, 2020 · 6 comments

Comments

@rbhanda
Copy link
Contributor

rbhanda commented Jul 14, 2020

3.1.6 Release Notes
3.1.6 Download

2.1.20 Release Notes
2.1.20 Download

Blog posts

.NET Core

Please report any issues you find with 2.1.20 or 3.1.6, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

@rbhanda rbhanda pinned this issue Jul 14, 2020
@rbhanda rbhanda changed the title .NET Core June 2020 Update - 2.1.20 and 3.1.6 .NET Core July 2020 Update - 2.1.20 and 3.1.6 Jul 14, 2020
@jhockett
Copy link

We're seeing the same error from #3988 pop up with the latest release in our CircleCI test suite.

Hit:1 http://security.debian.org/debian-security stretch/updates InRelease

Ign:2 http://deb.debian.org/debian stretch InRelease

Hit:3 http://deb.debian.org/debian stretch-updates InRelease

Hit:4 http://deb.debian.org/debian stretch Release 

Get:5 https://packages.microsoft.com/debian/9/prod stretch InRelease [4009 B]

Get:7 https://packages.microsoft.com/debian/9/prod stretch/main amd64 Packages [96.4 kB]

Err:7 https://packages.microsoft.com/debian/9/prod stretch/main amd64 Packages

  Writing more data than expected (96509 > 96366)

  Hashes of expected file:

   - Filesize:96366 [weak]

   - SHA512:383e408b929517161a2c48b7b0ac38eaccc58bddbdca88250941867f31ef9f12138196552cd0549a2b129b0add9dd4a61f2b474165a7ca5f4a7231652b03f7fc

   - SHA256:63ce57b0a494d005bcccd829efe2b28dadec3823eea3047deb2a191aa7ce6287

   - SHA1:16a3b6bf3754e25c7dbc323b2144e6258ace9a78 [weak]

   - MD5Sum:9d5568e53a8d61f77d8449dcb31a262b [weak]

  Release file created at: Tue, 14 Jul 2020 16:28:55 +0000

Fetched 4009 B in 0s (7176 B/s)     

Reading package lists... Done
E: Failed to fetch https://packages.microsoft.com/debian/9/prod/dists/stretch/main/binary-amd64/Packages.bz2  Writing more data than expected (96509 > 96366)

   Hashes of expected file:

    - Filesize:96366 [weak]

    - SHA512:383e408b929517161a2c48b7b0ac38eaccc58bddbdca88250941867f31ef9f12138196552cd0549a2b129b0add9dd4a61f2b474165a7ca5f4a7231652b03f7fc

    - SHA256:63ce57b0a494d005bcccd829efe2b28dadec3823eea3047deb2a191aa7ce6287

    - SHA1:16a3b6bf3754e25c7dbc323b2144e6258ace9a78 [weak]

    - MD5Sum:9d5568e53a8d61f77d8449dcb31a262b [weak]

   Release file created at: Tue, 14 Jul 2020 16:28:55 +0000

E: Some index files failed to download. They have been ignored, or old ones used instead.

@rbhanda
Copy link
Contributor Author

rbhanda commented Jul 14, 2020

@jhockett the issue should be resolved now

@jhockett
Copy link

I can confirm it's working, thanks so much for the quick reply and fix!

@CharlesNadolskiNtrs
Copy link

CharlesNadolskiNtrs commented Jul 22, 2020

It looks like the issue "DotNetCoreCLI@2 restore broken for custom MsBuild SDKs" was regressed when migrating from /usr/share/dotnet/sdk/3.1.301/MSBuild.dll to /usr/share/dotnet/sdk/3.1.302/MSBuild.dll in azure pipelines. Same situation and error is happening even though it was resolved before, as documented here:
microsoft/azure-pipelines-tasks#10498
which is related to issue:
NuGet/Home#8183

EDIT:
I reverted our build to use SDK 3.1.301 instead of 3.1.302 and the issue persists. Some other change to Azure Pipelines is likely to have regressed this issue, and it may not be related to the SDK being updated.

@CharlesNadolskiNtrs
Copy link

CharlesNadolskiNtrs commented Jul 22, 2020

Workaround for anybody who has run into the same problem as myself in the past week, apparently this task is required for any Azure Pipeline task which needs to read from a NuGet feed for a project which has a custom SDK:

  • task: NuGetAuthenticate@0

@rbhanda
Copy link
Contributor Author

rbhanda commented Aug 11, 2020

Closing in favor of #5057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants