Powershell: debian stretch, beta.1 seg fault after 30 seconds

Created on 10 May 2017  路  6Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

launch powershell, wait 30 seconds

Expected behavior

Stay open

Actual behavior

Exits after 30 seconds, seg fault.

Environment data

Debian Stretch, powershell 6 beta.1

> $PSVersionTable
PSVersion                      6.0.0-beta                                      
PSEdition                      Core                                            
BuildVersion                   3.0.0.0                                         
CLRVersion                                                                     
GitCommitId                    v6.0.0-beta.1                                   
OS                             Linux 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2...
Platform                       Unix                                            
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                         
PSRemotingProtocolVersion      2.3                                             
SerializationVersion           1.1.0.1                                         
WSManStackVersion              3.0 

posh-strace.txt

Area-Maintainers-Build Issue-Enhancement Resolution-Answered

Most helpful comment

Related https://github.com/dotnet/corefx/issues/13221
Possible workarround https://github.com/dotnet/corefx/issues/8951

[edited by daxian-dbw] Add the link to the steps to follow to make .NET Core 2.0 work on Debian stretch:
https://gist.github.com/Yutsa/d382721f26be73e4112bd903cf6b0490

All 6 comments

/cc @daxian-dbw Could you please comment the Issue?

Reading some of the other issues (which are for Win7 and MacOS) I tried installing dotnet 2.0 (specifically: 2.0.0-preview2-005905), but same thing unfortunately.

Debian 9 (aka Stretch) isn't supported by CoreClr yet

I don't think Debian stretch (Debian 9) is a supported OS of .NET Core, but we need to confirm with folks from .NET team.
@JamesWTruher any comments?

Related https://github.com/dotnet/corefx/issues/13221
Possible workarround https://github.com/dotnet/corefx/issues/8951

[edited by daxian-dbw] Add the link to the steps to follow to make .NET Core 2.0 work on Debian stretch:
https://gist.github.com/Yutsa/d382721f26be73e4112bd903cf6b0490

Workaround worked like a charm!

Uninstalled curl and libcurl3 via apt (this also removes powershell beta.1 [and spotify, but that's not relevant]).

Downloaded and installed curl and libcurl3 from here: https://packages.debian.org/stable/allpackages

Installed powershell beta.1 via apt again, and it's stayed open :+1:

Thanks again!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manofspirit picture manofspirit  路  3Comments

MaximoTrinidad picture MaximoTrinidad  路  3Comments

andschwa picture andschwa  路  3Comments

garegin16 picture garegin16  路  3Comments

alx9r picture alx9r  路  3Comments