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.35
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 12 .. 19 Next › Last »

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)

kingkingmax commented on 2020-03-23 13:50 (UTC)

I tried to install this package, but failed with following: /build/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) Then I tried to update dotnet SDK to 3.1.3 (3.1.300-preview-015048), but its still failed with A compatible installed .NET Core SDK for global.json version [3.1.102] from [/home/acc1/.cache/yay/powershell/src/powershell/global.json] was not found

kylesferrazza commented on 2020-03-18 21:00 (UTC) (edited on 2020-03-19 17:12 (UTC) by kylesferrazza)

Waiting on an answer from upstream for the 7.0 update here. If you need 7.0 now, check out powershell-bin:

https://aur.archlinux.org/packages/powershell-bin

EDIT: the package has been updated :)

prg commented on 2020-02-26 17:06 (UTC)

Apparently some of the standard components of powershell are not contained in the Powershell repo, but other repos like:

Does anyone know if this is packaged elsewhere? As a beginner powershell user, I was having a tough time figuring out why "Install-Module" was not working

Obi_Juanb8b commented on 2020-01-25 18:20 (UTC)

Regarding the error message from @DuBistKomisch...I had a similiar error. I think the makedepends may need to be changed. In addition to the 'dotnet-sdk' (which is .NET Core 3) I had to install 'dotnet-sdk-2.2' from community as well. Then when I built this packaged it installed correctly.

DuBistKomisch commented on 2020-01-25 10:07 (UTC)

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.1.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

do the makedepends need to be more specific?

DDoSolitary commented on 2019-11-29 13:25 (UTC)

@kylesferrazza https://github.com/PowerShell/PowerShell-Native/issues/33