Install powershell with Fedora 26 information
pwsh
PowerShell v6.1.0-preview.2
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
FailFast: The terminfo database is invalid.
at System.Environment.FailFast(System.String, System.Exception)
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String, System.String[], Int32)
at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
Aborted (core dumped)
> $PSVersionTable
Nothing
This is the output I get from installing powershell with the doc you provided me @TheMacNerd
$powershell
Failed to initialize CoreCLR, HRESULT: 0x80131500
/cc @rjmholt
Please see https://github.com/PowerShell/PowerShell/issues/6838.
That issue has been fixed in the newest version of .NET Core, which we are moving to next release (master is already on it).
Workaround is to invoke PowerShell as follows:
TERM=xterm pwsh
@rjmholt indeed it works with your workaround! Great that it is already fixed, it is good news :)
Most helpful comment
Please see https://github.com/PowerShell/PowerShell/issues/6838.
That issue has been fixed in the newest version of .NET Core, which we are moving to next release (
masteris already on it).Workaround is to invoke PowerShell as follows: