-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838
Comments
Hi When doing an a install on centos server i getting the below, is the package correct? Running transaction Failed: |
Looking |
centos 7.9 performing a normal 'sudo yum -y install dotnet-sdk-3.1' it failed in our build pipeline which creates a image, so was just doing some diagnostics when saw new release was made. |
We tested on Centos 7 and not able to repro this issue. The files seems fine on the feed as well. |
@nealrowan can you Ping packages.microsoft.com from the problematic machine? I would like to see if the package is corrupted in some other mirror which I am not able to hit. |
resolving to sd-apt-sea-d-1.southeastasia.cloudapp.azure.com might be something with way I have setup the repos, where it has been working for 6+ months. doing more digging |
Did the release strategy change for net5 as oposed to netcore3.1? (Microsoft.Extensions.) |
Under this url https://dotnet.microsoft.com/download/dotnet/5.0 I think it should be |
We're seeing the same error as @nealrowan on Amazon Linux 2 based images. Package server resolves to: |
Running into this on Amazon Linux 2 images hosted in I get this when pinging sh-4.2$ ping packages.microsoft.com
PING csd-apt-eus-d-3.eastus.cloudapp.azure.com (13.90.56.68) 56(84) bytes of data.
--- csd-apt-eus-d-3.eastus.cloudapp.azure.com ping statistics ---
86 packets transmitted, 0 received, 100% packet loss, time 87045ms This had been working for a few months: sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum -y install dotnet-sdk-3.1 But started getting this error today (1/13/2021 noticed around 7AM EST and started looking into this): dotnet-sdk-3.1-3.1.405-1.x86_64 10/10Error unpacking rpm package dotnet-sdk-3.1-3.1.405-1.x86_64
...
error: unpacking of archive failed on file /usr/share/dotnet/templates/3.1.12/microsoft.dotnet.web.projecttemplates.3.1.3.1.11.nupkg;5fff0d
...
netstandard-targeting-pack-2.1.x86_64 0:2.1.0-1
Failed:
dotnet-sdk-3.1.x86_64 0:3.1.405-1 |
Some of the download links in dotnet/announcements#171 are incorrect.
"Download" links to https://dotnet.microsoft.com/download/dotnet/3.1 but it should be https://dotnet.microsoft.com/download/dotnet-core/3.1
"Download" links to https://dotnet.microsoft.com/download/dotnet/2.1 but it should be https://dotnet.microsoft.com/download/dotnet-core/2.1 |
Hi, Running into this on Amazon Linux 2 images, failed unpackage sdk. see image below Commands Docker File
Temporary Solution Installed and Run dotnet with manual install, worked for me https://docs.microsoft.com/pt-br/dotnet/core/install/linux-scripted-manual#manual-install Using Docker: DockerFile RUN tar zxf dotnet-sdk-3.1.404-linux-x64.tar.gz -C "/tmp/dotnet"
ENV DOTNET_ROOT /tmp/dotnet
ENV PATH $PATH:/tmp/dotnet |
check if you also have the rhel repo added, if I remove this repo and just have centos one it works for 3.1 & 2.1 but has issues if both exist, It looks like its using dotnet-runtime-deps-3.1.11-rhel.7-x64.rpm instead of dotnet-runtime-deps-3.1.11-centos.7-x64.rpm when both repos are added. but in turn need to add the redhat repo, so can other microsoft tools eg powershell, so doing add & remove in build process |
@nealrowan, thanks for the tip. Not happy about this approach, though -- we need to keep both repos around as well, for PWSH and MSSQL tools, so not crazy about this kludgey approach. |
Hi, Where can I get the source code for version 5.0.2? I can't find the Thanks! |
+1 to @gongomgra I couldn't find that tag either in https://github.com/dotnet/aspnetcore either. |
@gongomgra you can downlod package in https://dotnet.microsoft.com/download/dotnet/5.0 and make manual install temporarily, for exemplo i make this
|
Thanks for your reply. However, I can't find the source code in that website either. I'd like to build .NET core from source, but I can't find it for |
Hello @gongomgra , 5.0.2 release has been tagged. |
@rbhanda Thank you so much! |
Hey, @gongomgra if you really want to build all of .NET Core from source (sdk, runtime, ASP.NET Core), take a look at https://github.com/dotnet/source-build. A release hasn't been tagged, but |
@rbanda the release notes link on the "Releases" page for 5.0.2 results in a 404. Here is the correct URL: https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0.2/5.0.2.md |
Does the Hosting Bundle include the .NET Core runtime or does it not? note 2 at https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.11/3.1.11.md says "2. For hosting stand-alone apps on Windows Servers. Includes the ASP.NET Core Module for IIS and can be installed separately on servers without installing .NET Core runtime." this seems to conflict with the documentation on the download page https://dotnet.microsoft.com/download/dotnet-core/3.1 says the .NET Core Runtime IS included in the Hosting Bundle "On Windows, we recommended installing the Hosting Bundle, which includes the .NET Core Runtime and IIS support." as separate question: does the Hosting bundle include both x64 and x86? |
Closing in favor of #5932 |
Release Notes
5.0.2
3.1.11
2.1.24
Please report any issues you find with .NET 5.0.2, .NET Core 3.1.11 or .NET Core 2.1.24, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:
Status of availability of SDK on Microsoft's Linux feeds:
Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).
Known Issues
If there are any issues with the January 2020 release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.
Issue with installing .NET Core 3.1.405 SDK on some Linux machines. .NET Core January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838 (comment)
Workaround: .NET Core January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838 (comment)
GitHub core repos tagging is taking longer than expected. ETA - EOD (14th Jan 2021)
Workaround: .NET Core January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838 (comment)
Update: Tagging for all January releases is complete.
The text was updated successfully, but these errors were encountered: