Package Details: powershell 6.0.1-1

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: 28
Popularity: 4.789962
First Submitted: 2016-11-26 22:16
Last Updated: 2018-01-25 23:24

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-02-22 23:58

@mgd It built successfully by setting TERM to xterm? What is your term value usually? I use "xterm-256color"

mgd commented on 2018-02-18 12:42

I had a problem building this package:

==> Beginne build()... MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 526

Unhandled Exception: System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 748 at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 215 ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

Searching for this error I found https://bugs.archlinux.org/task/57260 There two workarounds are presented: 1) Downgrading ncurses-6.1-3 to ncurses-6.0-4 2) Setting TERM=xterm (e.g. invoke 'TERM=xterm makepkg')

I could not try 1) because I did not find the ncurses package on the archlinux website. However 2) worked for me.

Kind regards, Michael

kylesferrazza commented on 2018-02-16 19:29

@ghotrix

I don't think so - powershell-bin comes with Install-Module though.

kylesferrazza commented on 2018-02-16 19:28

@Daniel_GT

Is it fixed in 6.0.1?

ghotrix commented on 2018-02-16 17:22

Wondering whether it should contain Install-Module cmdlet or not? In my case it doesn't which is very frustrating.

Daniel_GT commented on 2018-01-12 11:15

Hi @kylesferrazza I'd be grateful if you could take a look at https://pastebin.com/mM6W3Dtx, I'm getting a build error and would appreciate your help...

/opt/dotnet/sdk/2.1.4/Sdks/Microsoft.NET.Sdk/build/Microsoft.NET.GenerateAssemblyInfo.targets(146,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/data/source/powershell/src/powershell/src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj]

...Is this something you've come across, am I missing something obvious? Thanks.

kylesferrazza commented on 2018-01-11 19:27

Fixed those permissions with the PKGBUILD for 6.0

uffe commented on 2018-01-11 12:59

This is not so nice

check package with namcap:

powershell W: File (usr/lib/powershell/linux-x64/libhostpolicy.so) has the world writable bit set. powershell W: File (usr/lib/powershell/linux-x64/libhostfxr.so) has the world writable bit set. powershell W: File (usr/lib/powershell/linux-x64/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.psm1) has the world writable bit set.

kylesferrazza commented on 2017-12-01 02:18

@jabdr
Those modules are included in binary releases but are not part of regular upstream Powershell. I think it would make more sense to make another package for OneGet.

jabdr commented on 2017-11-27 10:10

Can you please add the Modules PackageManagement, PowerShellGet and Microsoft.PowerShell.Archive to the default installation? They are part of the powershell-bin package, but not powershell.

All comments