question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed at stage: installPackage C# Extension was unable to install its dependencies.

See original GitHub issue

Environment data

dotnet --info output:

.NET SDK (reflecting any global.json):
 Version:   5.0.205
 Commit:    64a0cf25eb

Runtime Environment:
 OS Name:     manjaro
 OS Version:  
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /usr/share/dotnet/sdk/5.0.205/

Host (useful for support):
  Version: 5.0.8
  Commit:  42ac4d6d5a

.NET SDKs installed:
  5.0.205 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.NETCore.App 5.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version:

12:55:53 [wilson: ~] > pacman -Qi code
Name            : code
Version         : 1.58.0-1
...

C# Extension version: Screenshot_20210917_125819

OmniSharp log

Installing C# dependencies...
Platform: linux, x86_64, name=manjaro, version=unknown

Downloading package '.NET Core Debugger (linux / x64)' Failed to download from https://github.com/Samsung/netcoredbg/releases/download/1.2.0-825/netcoredbg-linux-amd64.tar.gz. Error code '404')
	Retrying from 'https://web.archive.org/web/20210704184708/https://github-releases.githubusercontent.com/113926796/fc5bfc00-dc3b-11eb-8d47-f99c4dc1c4c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210704T184708Z&X-Amz-Expires=300&X-Amz-Signature=521e3d193946f1cd4598e55056b7597497e294322daa6827f3bf84d1be4e1d89&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=113926796&response-content-disposition=attachment%3B%20filename%3Dnetcoredbg-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream' (NaN KB) Done!
Installing package '.NET Core Debugger (linux / x64)'

Failed at stage: installPackage
C# Extension was unable to install its dependencies. Please check your internet connection. If you use a proxy server, please visit https://aka.ms/VsCodeCsharpNetworking

Steps to reproduce

Download C# extension

Expected behavior

No error outputted

Actual behavior

Error outputted when extension attempted to download https://github.com/Samsung/netcoredbg/releases/download/1.2.0-825/netcoredbg-linux-amd64.tar.gz when the actual link is https://github.com/Samsung/netcoredbg/releases/download/1.2.0-825/netcoredbg-linux-amd64_fixed.tar.gz

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jselfcommented, Sep 20, 2021

@feois I ran into this issue too and had the same result with not finding the Microsoft one.

The reason is because I was using the open source vscode, but only the binary official vscode can run the microsoft c# extension. On Arch I had to install aur/visual-studio-code-bin

0reactions
feoiscommented, Sep 20, 2021

@jself it works now thanks so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode when trying to install the C# Extension it errors out ...
Installing package '.NET Core Debugger (linux / x64)' Failed at stage: installPackage C# Extension was unable to install its dependencies.
Read more >
pip install - pip documentation v22.3.1
pip install has several stages: Identify the base requirements. The user supplied arguments are processed here. Resolve dependencies. What will be installed is ......
Read more >
Packaging Guide — Spack 0.20.0.dev0 documentation
Packages allow the packager to encapsulate the build logic for different versions, compilers, options, platforms, and dependency combinations in one place.
Read more >
Common Build Problems - Travis CI Docs
Check the list of dependencies in the build log, usually output including ... One possible cause for builds failing unexpectedly can be calling...
Read more >
VS Code & .NET Core: Offline Installation of Extensions and ...
NET Core Debugger may fail to install. ... NET Core Debugger (Windows / x64)' Failed at stage: installPackages Error: end of central ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found