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: kylesferrazza (richardba, carsme)
Last Packager: carsme
Votes: 84
Popularity: 0.36
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

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

kingkingmax commented on 2021-10-26 08:18 (UTC) (edited on 2021-10-26 08:23 (UTC) by kingkingmax)

I got following error message when attempting to install it.

/usr/share/dotnet/sdk/5.0.402/NuGet.targets(131,5): error : Unable to load the service index for source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/5.0.100-rtm.20526.5/nuget/v3/index.json. [/home/acc1/.cache/yay/powershell/src/powershell/src/ResGen/ResGen.csproj] /usr/share/dotnet/sdk/5.0.402/NuGet.targets(131,5): error : Response status code does not indicate success: 404 (Not Found - The feed with ID '5.0.100-rtm.20526.5' doesn't exist. (DevOps Activity ID: 3E296CD9-CA11-4A9E-A32B-2B8916B374E6)). [/home/acc1/.cache/yay/powershell/src/powershell/src/ResGen/ResGen.cspro

Any suggestion to fix this error?

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?