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 January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838

Closed
2 tasks done
rbhanda opened this issue Jan 12, 2021 · 25 comments
Closed
2 tasks done

.NET Core January 2021 Update - 5.0.2, 3.1.11, 2.1.24 #5838

rbhanda opened this issue Jan 12, 2021 · 25 comments

Comments

@rbhanda
Copy link
Contributor

rbhanda commented Jan 12, 2021

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:

Distro 5.0.2 3.1.11 2.1.24
Ubuntu 16.04
Ubuntu 18.04
Ubuntu 20.04
Ubuntu 20.10
Centos 7
Debian 9
Debian 10
Fedora 32
Fedora 33
OpenSUSE 15
SLES 12
SLES15

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.

@nealrowan
Copy link

Hi

When doing an a install on centos server i getting the below, is the package correct?

Running transaction
Installing : dotnet-sdk-3.1-3.1.405-1.x86_64
Error 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;5ffe3fd9: cpio: read
Verifying : dotnet-sdk-3.1-3.1.405-1.x86_64

Failed:
dotnet-sdk-3.1.x86_64 0:3.1.405-1

@rbhanda
Copy link
Contributor Author

rbhanda commented Jan 13, 2021

Hi

When doing an a install on centos server i getting the below, is the package correct?

Running transaction
Installing : dotnet-sdk-3.1-3.1.405-1.x86_64
Error 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;5ffe3fd9: cpio: read
Verifying : dotnet-sdk-3.1-3.1.405-1.x86_64

Failed:
dotnet-sdk-3.1.x86_64 0:3.1.405-1

Looking
Which version of Centos are you using?

@nealrowan
Copy link

Hi
When doing an a install on centos server i getting the below, is the package correct?
Running transaction
Installing : dotnet-sdk-3.1-3.1.405-1.x86_64
Error 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;5ffe3fd9: cpio: read
Verifying : dotnet-sdk-3.1-3.1.405-1.x86_64
Failed:
dotnet-sdk-3.1.x86_64 0:3.1.405-1

Looking
Which version of Centos are you using?

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.

@rbhanda
Copy link
Contributor Author

rbhanda commented Jan 13, 2021

Hi
When doing an a install on centos server i getting the below, is the package correct?
Running transaction
Installing : dotnet-sdk-3.1-3.1.405-1.x86_64
Error 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;5ffe3fd9: cpio: read
Verifying : dotnet-sdk-3.1-3.1.405-1.x86_64
Failed:
dotnet-sdk-3.1.x86_64 0:3.1.405-1

Looking
Which version of Centos are you using?

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.

@rbhanda
Copy link
Contributor Author

rbhanda commented Jan 13, 2021

@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.

@nealrowan
Copy link

@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,
starting with a blank image and follow the guide, and using just 1 repo it seams to work, but doing similar in full builds its failing.

where it has been working for 6+ months. doing more digging

@kaylumah
Copy link

Did the release strategy change for net5 as oposed to netcore3.1? (Microsoft.Extensions.)
For example all packages were updated each time 3.1.9->3.1.10. But for the 5.
invariant not all packages are updated. For example not all FileProvider packages are updated. My team uses MSbuild property to set versions for things like package version, which breaks if not all packages are updated

@tahazayed
Copy link

Under this url https://dotnet.microsoft.com/download/dotnet/5.0
This section Build apps - SDK -> SDK 5.0.102 -> Language support
C# 8.0
F# 4.7
Visual Basic 15.9

I think it should be
C# 9.0
F# 5.0
Visual Basic 15.9

@ebekker
Copy link
Contributor

ebekker commented Jan 13, 2021

We're seeing the same error as @nealrowan on Amazon Linux 2 based images.

Package server resolves to: sd-apt-eus-d-1.eastus.cloudapp.azure.com (13.90.21.104)

@n0mn0m
Copy link

n0mn0m commented Jan 13, 2021

Running into this on Amazon Linux 2 images hosted in us-east-1 today.

I get this when pinging packages.microsoft.com

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

@bgrainger
Copy link

Some of the download links in dotnet/announcements#171 are incorrect.

.NET Core 3.1.11 and .NET SDK 3.1.111 (Release Notes | Download)

"Download" links to https://dotnet.microsoft.com/download/dotnet/3.1 but it should be https://dotnet.microsoft.com/download/dotnet-core/3.1

.NET Core 2.1.24 and .NET SDK 2.1.520 (Release Notes | Download)

"Download" links to https://dotnet.microsoft.com/download/dotnet/2.1 but it should be https://dotnet.microsoft.com/download/dotnet-core/2.1

@gustavomcastro
Copy link

gustavomcastro commented Jan 13, 2021

Hi,

Running into this on Amazon Linux 2 images, failed unpackage sdk. see image below

image

Commands Docker File

RUN yum update -y && \
 yum -y install dotnet-sdk-3.1 && \
yum clean all

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

@nealrowan
Copy link

We're seeing the same error as @nealrowan on Amazon Linux 2 based images.

Package server resolves to: sd-apt-eus-d-1.eastus.cloudapp.azure.com (13.90.21.104)

Running into this on Amazon Linux 2 images hosted in us-east-1 today.

I get this when pinging packages.microsoft.com

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

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

@ebekker
Copy link
Contributor

ebekker commented Jan 13, 2021

@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.

@gongomgra
Copy link

Hi,

Where can I get the source code for version 5.0.2? I can't find the v5.0.2 tag here. Is there any other location for this?

Thanks!

@joancafom
Copy link

+1 to @gongomgra I couldn't find that tag either in https://github.com/dotnet/aspnetcore either.

@gustavomcastro
Copy link

@gongomgra you can downlod package in https://dotnet.microsoft.com/download/dotnet/5.0 and make manual install temporarily, for exemplo i make this

Hi,

Running into this on Amazon Linux 2 images, failed unpackage sdk. see image below

image

Commands Docker File

RUN yum update -y && \
 yum -y install dotnet-sdk-3.1 && \
yum clean all

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

@gongomgra
Copy link

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 v5.0.2. Do you know if adding the tag was a missing step for this release? Are there any plans to tag this new release?

@rbhanda
Copy link
Contributor Author

rbhanda commented Jan 15, 2021

Hello @gongomgra , 5.0.2 release has been tagged.

@gongomgra
Copy link

@rbhanda Thank you so much!

@omajid
Copy link
Member

omajid commented Jan 15, 2021

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 master branch currently corresponds to SDK 5.0.102

@gortok
Copy link

gortok commented Jan 18, 2021

@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

@xobob
Copy link

xobob commented Jan 28, 2021

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?

@mairaw
Copy link
Contributor

mairaw commented Jan 29, 2021

@rbhanda @leecow to help with the question from @xobob - maybe the note on the release notes is not super clear. Maybe it means you don't have to install the .NET Core runtime separately because it's already included in the bundle?

@rbhanda rbhanda unpinned this issue Feb 9, 2021
@rbhanda
Copy link
Contributor Author

rbhanda commented Feb 9, 2021

Closing in favor of #5932

@rbhanda rbhanda closed this as completed Feb 9, 2021
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