Package Details: powershell 7.5.0-1

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
Upstream URL: https://microsoft.com/PowerShell
Keywords: automation dotnet microsoft net powershell script scripting shell
Licenses: MIT
Submitter: jsteel
Maintainer: yataro
Last Packager: yataro
Votes: 85
Popularity: 0.43
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2025-01-31 11:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 21 Next › Last »

theeternalsw0rd commented on 2021-08-22 14:14 (UTC)

If you happen to want to install powershell in arch linux when you have arch running as the linux distro for windows subsystem for linux, make sure you sudo chown / root as for some reason, it changes ownership to the standard user. Building powershell will fail in src/powershell-native/src/libpsl-native/test/test-getfileowner.cpp which checks that / is owned by root.

richardba commented on 2021-08-21 13:32 (UTC) (edited on 2021-08-22 04:31 (UTC) by richardba)

For anyone wondering why they cannot find dotnet-sdk-bin version 5.0.9, it is because the maintainers of the package have not yet updated it. In the meantime, you can you the alternative https://aur.archlinux.org/packages/dotnet-sdk-bin. This version bump is required as stated in the release in GitHub.

richardba commented on 2021-07-13 08:34 (UTC)

@jammehcow I can't seem to find anything on the powershell GitHub page about it. You could open an issue in the official GitHub page and leave a link with your issue down below.

jammehcow commented on 2021-07-13 08:10 (UTC)

Installing/building will fail when using a non en_US.UTF-8 locale. If you uncomment that locale in /etc/locale.gen and run locale-gen the build should succeed.

cypa commented on 2021-06-14 18:15 (UTC)

this https://github.com/PowerShell/PowerShell/issues/6472

yan12125 commented on 2021-04-15 01:27 (UTC)

Installing https://aur.archlinux.org/packages/ca-certificates-vsign-universal-root/ before building also fixes the build issue.

valandil commented on 2021-04-07 11:27 (UTC)

Indeed. I had an email chat with @richardba, and this bug report came up, which descrbes the workaround you used. It seems that using dotnet restore is broken, and the problem is not explicitly related to the powershell package.

Just need to wait on upstream I believe...

plop28 commented on 2021-04-07 11:17 (UTC) (edited on 2021-04-07 11:17 (UTC) by plop28)

Maybe a fix for certificate expired issue :

downgrade ca-certificates-mozilla to 3.62-1

download the package from https://archive.archlinux.org

sudo pacman -U ca-certificates-mozilla-3.62-1-x86_64.pkg.tar.zst

remove you .nuget folder

then try to rebuild powershell

Works for me, I also installed the latest ca-certificates-mozilla back.

valandil commented on 2021-03-23 01:36 (UTC)

I am trying to build powershell/7.1.3, but the build fails with a bunch of these errors:

/build/powershell/src/powershell/src/powershell-unix/powershell-unix.csproj : error NU3028: Package 'Microsoft.NETCore.Platforms 2.1.2' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
  Failed to restore /build/powershell/src/powershell/src/powershell-unix/powershell-unix.csproj (in 48.19 sec).

Could this be related to this issue regarding a new cert for NuGet? Does this mean we are blocked from updating until the system ca-certificates is updated?

richardba commented on 2021-01-16 13:11 (UTC)

I am currently trying to update the Version of PowerShell from 7.1.0 to 7.1.1, but I am having some trouble doing so. I am getting some error messages. If anyone wants to try my new PKGBUILD or help with the PKGBUILD, please email me. Here you can find the PKGBUILD. If you have any idea why I am getting the following errors please email me.

/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003: The specified task executable "sh" could not be run. System.ComponentModel.Win32Exception (2): No such file or directory [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.Start() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003: The specified task executable "sh" could not be run. System.ComponentModel.Win32Exception (2): No such file or directory [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.Start() [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/AUR/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003: The specified task executable "sh" could not be run. System.ComponentModel.Win32Exception (2): No such file or directory [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.Start() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003: The specified task executable "sh" could not be run. System.ComponentModel.Win32Exception (2): No such file or directory [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.Start() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003: The specified task executable "sh" could not be run. System.ComponentModel.Win32Exception (2): No such file or directory [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at System.Diagnostics.Process.Start() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]
/AUR/powershell/src/powershell/PowerShell.Common.props(17,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/AUR/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj]