Package Details: powershell 7.4.1-4

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

Latest Comments

1 2 3 4 5 6 .. 18 Next › Last »

Kicker0429 commented on 2024-06-07 00:05 (UTC)

@carsme, can you update the PKGBUILD so that we can test powershell with the new .NET version?

Kicker0429 commented on 2024-05-24 02:09 (UTC)

@carsme, .NET has been upgraded to 8.0.5.sdk105. Please try to build powershell against it.

carsme commented on 2024-04-22 19:51 (UTC)

@Kicker0429 I've not been able to build the latest version of PowerShell with the .NET version currently available in the repos, 8.0.4.sdk104. I believe 8.0.4.sdk204 is required.

Kicker0429 commented on 2024-04-22 15:28 (UTC)

Is there a particular reason why this package has not been updated to 7.4.2?

joilnen commented on 2024-03-21 22:03 (UTC) (edited on 2024-03-21 22:04 (UTC) by joilnen)

Not compiling ..

ProviderName IsTrusted Location VERBOSE: ---- ------------ --------- -------- VERBOSE: NuGet False https://api.nuget.o… VERBOSE: 3cf599d51c9e4ba6ba9f0bb784779631 NuGet True /home/joilnen/power… VERBOSE: PSGallery PowerShellGet True https://www.powersh… VERBOSE: Tests completed in 1059.75s Tests Passed: 6956, Failed: 1, Skipped: 6746, Pending: 202, Inconclusive: 2 ==> ERROR: A failure occurred in check(). Aborting...

Samwell9854 commented on 2024-02-02 16:31 (UTC)

@carsme Thanks for the edit, the build now succeeds without any intervention.

carsme commented on 2024-01-31 08:24 (UTC)

@Samwell9854 Unfortunately, I cannot reproduce this. Regardless, I've removed the test in 7.4.1-2. Thanks for reporting.

Samwell9854 commented on 2024-01-29 18:18 (UTC) (edited on 2024-01-29 18:21 (UTC) by Samwell9854)

New install, v7.4.1, same issue as with @ReinekeFuchs.

Description: UseNewEnvironment parameter should reset environment variables for child process

Name: Start-Process.UseNewEnvironment parameter should reset environment variables for child process message:

Expected strings to be the same, but they were different.

Until it is fixed, you can do this for now.

Example with yay:

yay --editmenu -S powershell

Then add the following line at the end inside the check() function, right after the other 'rm test/...' lines

rm test/powershell/Modules/Microsoft.PowerShell.Management/Start-Process.Tests.ps1

Alternatively, manually edit the PKGBUILD file, then run makepkg -si

klieber commented on 2023-10-13 22:08 (UTC)

Upgrading from 7.3.7-1 -> 7.3.8-1

Tests completed in 428.31s
Tests Passed: 10708, Failed: 1, Skipped: 1911, Pending: 367, Inconclusive: 2
Description: Doesn't run the login profile when -Login not used
Name:        ConsoleHost unit tests.-Login pwsh switch.Doesn't run the login profile when -Login not used
Expected $null or empty, but got 9d3795e2-2190-467c-8a1d-92321b183a1e.
at <ScriptBlock>, /home/klieber/.cache/yay/powershell/src/PowerShell-7.3.8/test/powershell/Host/ConsoleHost.Tests.ps1: line 287
287:             $result | Should -BeNullOrEmpty
Exception: 1 tests in test/powershell failed
==> ERROR: A failure occurred in check().
 -> error making: powershell-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
powershell - exit status 4