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 to restore on ubuntu 14

See original GitHub issue

Steps to reproduce

I’ve followed this guide https://www.microsoft.com/net/core#ubuntu step by step

Expected behavior

restore the packages

Actual behavior

When running dotnet restore I get the following info (note the segmentation fault at the end)

log  : Restoring packages for /root/hwapp/project.json...
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.appcontext/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.appcontext/4.1.0-rc2-24027/system.appcontext.4.1.0-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.collections/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.collections/4.0.11-rc2-24027/system.collections.4.0.11-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.collections.concurrent/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.collections.concurrent/4.0.12-rc2-24027/system.collections.concurrent.4.0.12-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.console/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.console/4.0.0-rc2-24027/system.console.4.0.0-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.diagnostics.debug/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.diagnostics.debug/4.0.11-rc2-24027/system.diagnostics.debug.4.0.11-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.diagnostics.tools/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.diagnostics.tools/4.0.1-rc2-24027/system.diagnostics.tools.4.0.1-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.globalization/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.globalization/4.0.11-rc2-24027/system.globalization.4.0.11-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.xml.readerwriter/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.xml.readerwriter/4.0.11-rc2-24027/system.xml.readerwriter.4.0.11-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/1.0.1-rc2-002702-00/microsoft.netcore.dotnethostresolver.1.0.1-rc2-002702-00.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethost/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.win32.primitives/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.win32.primitives/4.0.1-rc2-24027/microsoft.win32.primitives.4.0.1-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.security.cryptography.x509certificates/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.security.cryptography.x509certificates/4.1.0-rc2-24027/system.security.cryptography.x509certificates.4.1.0-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.tasks.parallel/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.tasks.parallel/4.0.1-rc2-24027/system.threading.tasks.parallel.4.0.1-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.thread/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.thread/4.0.0-rc2-24027/system.threading.thread.4.0.0-rc2-24027.nupkg
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.threadpool/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/system.threading.threadpool/4.0.10-rc2-24027/system.threading.threadpool.4.0.10-rc2-24027.nupkg
log  : Installing System.Xml.ReaderWriter 4.0.11-rc2-24027.
log  : Installing System.Diagnostics.Tools 4.0.1-rc2-24027.
log  : Installing System.Console 4.0.0-rc2-24027.
log  : Installing System.Collections.Concurrent 4.0.12-rc2-24027.
log  : Installing System.AppContext 4.1.0-rc2-24027.
log  : Installing Microsoft.Win32.Primitives 4.0.1-rc2-24027.
log  : Installing Microsoft.NETCore.DotNetHostResolver 1.0.1-rc2-002702-00.
log  : Installing System.Globalization 4.0.11-rc2-24027.
log  : Installing System.Diagnostics.Debug 4.0.11-rc2-24027.
log  : Installing System.Collections 4.0.11-rc2-24027.
log  : Installing System.Threading.ThreadPool 4.0.10-rc2-24027.
log  : Installing System.Threading.Thread 4.0.0-rc2-24027.
log  : Installing System.Threading.Tasks.Parallel 4.0.1-rc2-24027.
log  : Installing System.Security.Cryptography.X509Certificates 4.1.0-rc2-24027.
Segmentation fault

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview1-002702)

Product Information:
 Version:     1.0.0-preview1-002702
 Commit Sha:  6cde21225e

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  14.04
 OS Platform: Linux
 RID:         ubuntu.14.04-x64

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
andyleejordancommented, Jun 2, 2016

Problem was resolved by downgrading to libcurl3=7.38.0 (Jessie’s version), per @tomciaaa’s suggestion (after reading the last sentence carefully).

0reactions
livarcocccommented, Jul 20, 2017

Closing this issue as I don’t think this is a problem anymore. Please, re-activate otherwise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu 14.04 failed to boot after a failed upgrade to 16.04
They correct answer is you restore from the backup you made just before you tried upgrade. But partially upgrade almost never boots. And...
Read more >
Failed to restore on ubuntu 14 · Issue #6213 · dotnet/sdk
We run quite a bit of restore operations on Ubuntu 14.04 x64 and I've not seen this symptom before. let's see if I...
Read more >
How to Repair Ubuntu 14.04 Trusty GNU/Linux
Repair Ubuntu 14.04 Trusty · First, Open a Shell session. Ctrl+Alt+t on Desktop. How to Repair Ubuntu 14.04 Trusty GNU/Linux - Open Terminal...
Read more >
Downgraded Ubuntu 14.04 to 13.10(new install) and failed ...
Anyways, I tried restoring the backup I made in the browser by clicking “import” in fog under “configuration save”. It seems to go...
Read more >
Booting into recovery mode
If your system fails to boot for whatever reason, it may be useful to boot it into recovery mode. This mode just loads...
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