2016-12-21 25 views
0

Deepnet(base Debian)にdotnet-sdkをインストールしましたが、 "dotnet restore"を実行して "Segmentation fault"を出力しました。(Linuxのdotnet)出力 "dotnet restore"実行時の "segmentation fault"

.NETのコアSDKのドキュメント(https://www.microsoft.com/net/core#linuxdebian

コマンドラインインストール:

[email protected]:~/soft$ cd ../ 
[email protected]:~$ mkdir hello 
[email protected]:~$ cd hello/ 
[email protected]:~/hello$ ls 
[email protected]:~/hello$ dotnet new 
Created new C# project in /home/ylooq/hello. 
[email protected]:~/hello$ dotnet restore 
log : Restoring packages for /home/ylooq/hello/project.json... 
Segmentation fault 
[email protected]:~/hello$ ls 
Program.cs project.json 

答えて

1

私は、Debian不安定枝に基づいて15のDeepin使用していることを前提としています。

Dotnetコアは古いバージョンのlibcurl3に依存し、問題によりlibssl1.0.0ライブラリがlibcurl3に付属しています。

これは(Debianのための)DOTNET-SDK-2.0.0-preview2が依存するパッケージのリストです:

のDebian 8(ジェシー)で
libc6 (>= 2.14), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), 
libgssapi-krb5-2 (>= 1.10+dfsg~), liblttng-ust0, libstdc++6 (>= 4.8), 
libunwind8, libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), libssl1.0.0 

あなたはこれらのパッケージを見つけることができます。 sources.listにDebianのジェシーのレポを追加してみてください:

deb http://ftp.debian.org/debian/ jessie main non-free contrib 
deb-src http://ftp.debian.org/debian/ jessie main non-free contrib 

あなたはaptのピニングパッケージの古いバージョンをダウンロードするために:)を使用する必要がある場合がありますので、これらのリンクは、あなたに役立つかもしれない:

  1. Apt pinning
  2. Issue of libcurl3
関連する問題