dotnet / dotnet/vscode-dotnet-runtime

SDK Installation on RHEL Should Rely on DNF Over YUM

Open
#2,175 0 comments 0 reactions 0 assignees View on GitHub
untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Users may see Unable to get latest .NET Installation Data: Please update the .NET Install Tool to version 2.0.2 or later." after clicking the button 'Install .NET SDK' in VS Code from DevKit in RHEL 9.5.

This is why it is failing:
`rhel-9-for-x86_64-baseos-rhui-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried` when we try to use `yum`.

In recent RHEL versions, DNF should be preferred over Yum.

### Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

### Reproduction Steps

Install SDK via vscode

### Expected Behavior

.

### Exceptions & Errors (if any)

### .NET Install Tool Version

latest

### Your operating system? Please provide more detail, such as the version and or distro above.

N/A

### VS Code Version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.