Package Details: powershell 7.4.1-4

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only, click to copy)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: .net automation microsoft net powershell script scripting shell
Licenses: MIT
Submitter: jsteel
Maintainer: None (richardba, carsme)
Last Packager: carsme
Votes: 84
Popularity: 0.33
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 19 Next › Last »

mgd commented on 2018-02-18 12:42 (UTC)

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 (UTC) (edited on 2018-02-16 19:29 (UTC) by kylesferrazza)

@ghotrix

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

kylesferrazza commented on 2018-02-16 19:28 (UTC) (edited on 2018-02-16 19:29 (UTC) by kylesferrazza)

@Daniel_GT

Is it fixed in 6.0.1?

ghotrix commented on 2018-02-16 17:22 (UTC)

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 (UTC)

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 (UTC)

Fixed those permissions with the PKGBUILD for 6.0

uffe commented on 2018-01-11 12:59 (UTC)

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 (UTC) (edited on 2017-12-01 02:18 (UTC) by kylesferrazza)

@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 (UTC)

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.

kaismh commented on 2017-10-27 19:04 (UTC)

@kylesferrazza Yes, from the powershell-bin, posted on the wrong package, sorry about that