Package Details: powershell 6.0.2-3

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: microsoft powershell shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 34
Popularity: 3.461418
First Submitted: 2016-11-26 22:16
Last Updated: 2018-06-13 17:03

Dependencies (4)

Required by (0)

Sources (5)

Pinned Comments

kylesferrazza commented on 2017-10-26 18:01

Note that the binary is now called "pwsh"

Latest Comments

kylesferrazza commented on 2018-06-13 17:23

@Anaximander

Great!

Anaximander commented on 2018-06-13 17:22

removed pkg, downloaded the snapshot, verified dotnet-version.patch contained 2.1.300. Ran makepkg, install proceed. got to Build Target psl-native-test Started check and failed. Google -- looks like a locale issue.

Checked my locale, and it is not set correctly. Verified /etc/locale.gen -- set correctly. Verified /etc/locale.conf -- nothing. Create it, set to proper locale. restart.

Locale is now correct.

makepkg -- build target psl-native-test -- success.

Profit!

kylesferrazza commented on 2018-06-13 17:04

The dotnet version issues should now be fixed.

@Anaximander @allenhs @krprescott Let me know if the latest PKGBUILD fixes the build issues you were having.

kylesferrazza commented on 2018-06-13 15:28

@Anaximander @allenhs @krprescott

I fixed the dotnet version issue by adding the trailing zeroes in global.json (2.1.300). I encountered another problem in the build process and I'm waiting for a response from upstream. I will keep this page updated as I hear back.

https://github.com/PowerShell/PowerShell/issues/7057

Anaximander commented on 2018-06-13 13:35

Same situation as krprescott: Installed -- (dotnet-host [2.1.0-3]) (dotnet-runtime [2.1.0-3]) (dotnet-sdk [2.1.300-2])

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build powershell - makepkg exited with code: 4

==========

Attempted to edit the dotnet-version.patch while trizen was installing, that results in validity check error.

==========

I cloned the package and attempted a manual install. Before initiating the makepkg, I edited dotnet-version.patch from 2.1.3 to 2.1.*; I then updated the file hashes in the pkgbuild. makepkg then generates this error:

The specified SDK version '2.1.*' could not be parsed A compatible SDK version for global.json version: [2.1.*] from [/home/chris/packages/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

I'm now past my knowledge to troubleshoot this.

allenhs commented on 2018-06-12 05:38

I get the same error as krprescott.

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

krprescott commented on 2018-06-02 14:04

I get errors when building this package. Here is the dotnet packages I have installed: dotnet-host 2.1.0-1 dotnet-runtime 2.1.0-1 dotnet-sdk 2.1.300-1 Here is the build information: Starting build()... A compatible SDK version for global.json version: [2.1.3] from [/home/kprescott/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 ==> ERROR: A failure occurred in build(). Aborting...

kylesferrazza commented on 2018-05-14 14:50

@octav, let me know if it runs for you with env TERM=xterm pwsh

eddyready commented on 2018-05-12 10:28

Hi, I am getting the following download errors from Nuget

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.

octav commented on 2018-05-10 19:36

Hi, my build finishes with no errors but pwsh crashes. Please help. I have no idea where to dig in.

[octav@octav-nb ~]$ sudo pwsh PowerShell v6.0.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 [octav@octav-nb ~]$

All comments