dotnet / dotnet/vscode-dotnet-runtime

Failed to download .NET 8.0

Open
#1,740 5 comments 1 reaction 0 assignees View on GitHub
install scripts untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

When starting up Bicep extension in VScode for Linux, Ubuntu 2310, installation fails wit following error message.

Failed to download .NET 8.0
NET Acquisition Failed: Installation failed: Error: Command failed: "/home/xxx/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.3/dist/install scripts/dotnet-install.sh" -InstallDir "/home/xxx/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.3~x64" -Version 8.0.3 -Verbose -Runtime dotnet -Architecture x64

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
dotnet_install: Error: Extraction failed

### 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

Ubuntu 23.10
Install VScode
Install az extension
Install Bison extension
The .Net fails to install.

### Expected Behavior

Fail wit error message

Failed to download .NET 8.0
NET Acquisition Failed: Installation failed: Error: Command failed: "/home/xxx/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.3/dist/install scripts/dotnet-install.sh" -InstallDir "/home/xxx/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.3~x64" -Version 8.0.3 -Verbose -Runtime dotnet -Architecture x64

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
dotnet_install: Error: Extraction failed

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

v2.0.3

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

Linux

### VS Code Version

1.87.2

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.