Skip to content

Cannot install .NET Core SDK 2.1 on Fedora 32 #4655

@gmarokov

Description

@gmarokov

Cannot install .NET Core SDK 2.1 on Fedora 21

General

Upgrading from Fedora 31 to 32 dotnet stopped working giving the following error:

[georgi@localhost-home ~]$ dotnet --info
A fatal error occurred, the folder [/usr/lib64/dotnet/host/fxr] does not contain any version-numbered child folders

Package seems to be installed:

[georgi@localhost-home ~]$ rpm -qa | grep dotnet
dotnet-runtime-2.1-2.1.17-1.x86_64
dotnet-hostfxr-2.1-2.1.17-1.x86_64
dotnet-runtime-deps-2.1-2.1.17-1.x86_64
dotnet-sdk-2.1-2.1.805-1.x86_64
dotnet-host-3.1.3-1.fc32.x86_64

dotnet-sdk-3.1 was successfully installed and running indeed:

[georgi@localhost-home ~]$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.103
 Commit:    6f74c4a1dd

Runtime Environment:
 OS Name:     fedora
 OS Version:  32
 OS Platform: Linux
 RID:         fedora.32-x64
 Base Path:   /usr/lib64/dotnet/sdk/3.1.103/

Host (useful for support):
  Version: 3.1.3
  Commit:  4a9f85e9f8

.NET Core SDKs installed:
  3.1.103 [/usr/lib64/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.3 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.3 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

Also tried to remove package and install it again, but that didn't changed anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions