Closed oraqlle closed 7 months ago
Thank you for reporting this issue. It looks like this is a problem on the dotnet install script,
STDERR: /home/user/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.0/dist/install scripts/dotnet-install.sh: line 1329: link_types[$link_index]: unbound variable
We have all of the output of the script captured in our log now so hope that helps. Thank you @oraqlle for providing this log, I will forward it along to the correct team :)
cc @baronfel for where we should forward this?
cc @MichalPavlik / @YuliiaKovalova
Hi everyone,
Thank you for reporting the issue.
Usually "link_types[$link_index]: unbound variable
" happens when akams links can't be successfully resolved for the specified params (version, architecture, etc).
We definitely should improve logging on this type of error.
@rbhanda, I can see from the logs that for LTS we resolved 6.0.25 version - is it expected?
get_specific_version_from_version https://dotnetcli.azureedge.net/dotnet LTS x64 6.0.25
cc: @leecow
This is not expected. The Sdk/LTS/latest.version file and aka.ms/dotnet/lts/dotnet-sdk-linux-x64.tar.gz are pointing to 8.0.100.
@oraqlle , could you check if this issue is still relevant for you? The underlying problem seems to be already resolved.
@YuliiaKovalova, I am still getting the error. However, it appears to only attempt to download .NET in a directory containing a CMake project. I believe the download is triggered by the VSCode extensions for CMake as it is my understanding that .NET is used by these extensions.
Oraqlle's understanding is correct, based on the log above, it seems to be using the latest install script as well, at least the one that is hosted on the downloads page.
Hi @oraqlle,
I was able to spot a relevant error, it's related to this line in the logs:
dotnet-install: Constructed primary named payload URL: https://dotnetcli.azureedge.net/dotnet/Runtime/6.0.25/dotnet-runtime-curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)6.0.25-linux-x64.tar.gz
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
Please check this link to address it: https://stackoverflow.com/questions/30017397/error-curl-usr-local-lib-libcurl-so-4-no-version-information-available-requ
Close the issue since the root cause was found.
Please free to reopen if it is still relevant to you.
Describe the bug
.NET Install Tool cannot install new .NET for CMake extension on VSCode.
Log file
Other Info:
Reproduction Steps
Occurs on VSCode startup
Expected behavior
Successfully installs new .NET
Exceptions & Errors
Further technical details
Your VSCode Version
The version of the extension that's on your machine
Your operating system details