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.

installation fails on debian stretch

See original GitHub issue

From @harindu95 on March 26, 2017 2:25

Steps to reproduce

I tried the following method from official site.

 sudo apt-get install curl libunwind8 gettext
 curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843453
 sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
 sudo ln -s /opt/dotnet/dotnet /usr/local/bin
 dotnet new console -o hwapp   

Expected behavior

Creating a new project

Actual behavior

Crashed with the following error

 Error reading JObject from JsonReader. Path '', line 0, position 0.
 at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
 at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
 at Newtonsoft.Json.Linq.JObject.Parse(String json)
 at Microsoft.TemplateEngine.Edge.Settings.SettingsLoader.EnsureLoaded()
 at Microsoft.TemplateEngine.Edge.Settings.SettingsLoader.GetTemplates(HashSet`1 templates)
 at Microsoft.TemplateEngine.Edge.Template.TemplateCreator.List(Boolean exactMatchesOnly, Func`3[] filters)
 at Microsoft.TemplateEngine.Cli.New3Command.PerformCoreTemplateQueryAsync()
 at Microsoft.TemplateEngine.Cli.New3Command.<EnterTemplateManipulationFlowAsync>d__65.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
 at Microsoft.TemplateEngine.Cli.New3Command.<ExecuteAsync>d__66.MoveNext(\'

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
Version:            1.0.1
Commit SHA-1 hash:  005db40cd1

Runtime Environment:
OS Name:     debian
OS Version:  9
OS Platform: Linux
RID:         debian.8-x64
Base Path:   /opt/dotnet/sdk/1.0.1

find /opt/dotnet -name ‘*.so’ -type f -print | xargs ldd | grep ‘not found’

liblldb-3.6.so => not found
liblldb-3.6.so => not found

Copied from original issue: dotnet/cli#6153

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mlorbetskecommented, Apr 14, 2017

@ofmendez @harindu95 can you try running dotnet new --debug:reinit please?

0reactions
mlorbetskecommented, May 6, 2017

This issue was moved to dotnet/cli#6537

Read more comments on GitHub >

github_iconTop Results From Across the Web

5.4. Troubleshooting the Installation Process
If the installer fails to recognize the disc, try just running the option Detect and mount installation media a second time. Some DMA...
Read more >
Install fails on Debian Stretch - General Discussions
It says Debian Stretch is supported, but when I do: apt install docker-ce docker-ce-cli containerd.io. I get errors:
Read more >
PetaLinux 2018.1 Install Fails on Debian Stretch - Xilinx Support
PetaLinux 2018.1 install fails on a standard Debian Stretch system. The install scripts appear to be relying on incorrect behavior by the shell...
Read more >
[Solved] I can not fix packages on Debian 9 deployment
I have to install some additional software package, but I get HTTP 404 error. In this moment I have to repair some package...
Read more >
Installation failed on Raspberry PI 3 - Debian Stretch - R 3.5.1
1. Following this, I tried to install your package through install.packages("later") that fail and through : sudo R CMD INSTALL later that ...
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