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: 83
Popularity: 0.095538
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 .. 18 Next › Last »

jakebailey commented on 2021-12-27 02:27 (UTC)

Does this package need openssl-1.0? dotnet has been able to use 1.1 (what's in the Arch repos) for a while now, and switching the PKGBUILD doesn't seem to produce a binary that doesn't work. IIRC dotnet programs are smart enough to pick up the newest available one.

jfaulknercourt commented on 2021-11-19 21:46 (UTC) (edited on 2021-11-19 21:48 (UTC) by jfaulknercourt)

Hi all,

I am unable to get the package to build due to the following error: The SDK 'Microsoft.NET.Sdk' specified could not be found.

The MSBuildSDKsPath is set at a global level and I have the latest SDK installed (6.0.0.sdk100-3). I've tried pacman and yay with the same result.

I know I have seen a fix for this before but I'm damned if I can find it again now. Can anyone please indulge me and offer some help?

jeagoss commented on 2021-11-15 21:31 (UTC) (edited on 2021-11-15 21:31 (UTC) by jeagoss)

With the dotnet-core package being updated, I was able to get this package to build with the following PKGBUILD.

https://pastebin.com/4Kq1AfYw

Here is a diff to show what is changed.

https://pastebin.com/YPueeDUJ

kingkingmax commented on 2021-11-03 15:26 (UTC)

I managed to get this package complied. First use yay to get this package downloaed. Second, remove contents from 'source' and 'sha256sums'. Third, update nuget.config file using https://pkgs.dev.azure.com/dnceng/public/_packaging/5.0.100-rtm.20526.5/nuget/v3/index.json. Last, do the PKGBuild again.

tolgon commented on 2021-11-03 11:14 (UTC)

I am also experiencing the same issue as the last 3 comments. Have any of you found a work around?

aabdulrahman commented on 2021-10-30 05:14 (UTC)

@kingkingmax and @pixel1138 I am also receiving this error. The URL listed in the error appears to not exist.

pixel1138 commented on 2021-10-29 01:17 (UTC)

@kingkingmax I also receive this error while attempting to update.

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.