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.042299
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 11 .. 19 Next › Last »

blallo commented on 2020-12-22 08:08 (UTC)

When updating, today, I got this error

/usr/share/dotnet/sdk/3.1.108/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v5.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/leo/.cache/pikaur/build/powershell/src/powershell/src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj]

richardba commented on 2020-12-22 06:19 (UTC)

PowerShell's version was bumped up version 7.1. Dotnet 5 is required to install PowerShell 7.1

thaun commented on 2020-10-26 10:28 (UTC) (edited on 2020-10-26 10:34 (UTC) by thaun)

I can't seem to install this package when dotnet is already previously installed.

makepkg log: https://gist.github.com/ThomasAunvik/922edcd7b663eb8e72ec051691669194

dotnet --list-sdks

3.1.403 [/usr/share/dotnet/sdk]

Edit: nvm, looks like it was cause i used the install scripts instead of getting from pacman, aka https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script.

rm -rf /usr/share/dotnet basically fixes that.

solarkraft commented on 2020-10-23 02:54 (UTC)

I haven't been able to figure out how to get this version into a usable state, it's lacking PowerShellGet (Install-Module) and PSReadline (Tab completion, command repetition). Powershell-bin works.

Kyrios commented on 2020-08-09 20:42 (UTC)

Run yay --editmenu -S powershell to alter the PKBUILD from 7.0.2 to 7.0.3 to manually update to the latest version.

Case_Of commented on 2020-06-11 08:17 (UTC)

Hello, Do anyone know how to install PowerShellGet to be able to use modules from PowerShell Gallery?

Gr3q commented on 2020-04-17 09:09 (UTC) (edited on 2020-04-17 09:10 (UTC) by Gr3q)

@kylesferrazza I'm willing to upload to AUR the specific dotnet SDK versions required for this package.

Let me know if you want me to, but if you do you will need to let me know beforehand next time the required SDK changes.

milesxu commented on 2020-03-30 12:44 (UTC) (edited on 2020-03-30 14:37 (UTC) by milesxu)

Has anyone ever encountered Cannot get symbol numa_node_of_cpu from libnuma error? I have encountered this error with all versions of pwsh 7, on linux kernel 5.5.13-1 and numactl 2.0.13-2

kingkingmax commented on 2020-03-24 07:06 (UTC)

Here is the output of

dotnet --list-runtimes >Microsoft.AspNetCore.App 3.1.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0-preview.1.20124.5 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0-preview.3.20170.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.2 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.0-preview.1.20120.5 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.0-preview.3.20169.1 [/opt/dotnet/shared/Microsoft.NETCore.App]

But still failed with powershell/src/powershell/src/powershell-unix/powershell-unix.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64 with version (= 3.1.3)

FirstAirBender commented on 2020-03-23 20:39 (UTC) (edited on 2020-03-23 21:05 (UTC) by FirstAirBender)

You need to specify that the dotnet-sdk version has to be 3.1.2 because 3.1.3 for Microsoft.NETCore.App.Runtime.linux-x64/ does not exist in the nuget as you can see here.

I had to manually install the sdk by using the command:

pacman -U https://archive.archlinux.org/packages/d/dotnet-sdk/dotnet-{sdk,host,runtime}-3.1.2.sdk102-1-x86_64.pkg.tar.zst

It may also help to delete those packages from the cache before running the above command

In the end I gave up and just installed the bin version (powershell-bin)