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: 1.41
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 18 Next › Last »

kylesferrazza commented on 2018-06-13 15:28 (UTC)

@Anaximander @allenhs @krprescott

I fixed the dotnet version issue by adding the trailing zeroes in global.json (2.1.300). I encountered another problem in the build process and I'm waiting for a response from upstream. I will keep this page updated as I hear back.

https://github.com/PowerShell/PowerShell/issues/7057

Anaximander commented on 2018-06-13 13:35 (UTC) (edited on 2018-06-13 13:46 (UTC) by Anaximander)

Same situation as krprescott: Installed -- (dotnet-host [2.1.0-3]) (dotnet-runtime [2.1.0-3]) (dotnet-sdk [2.1.300-2])

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build powershell - makepkg exited with code: 4

==========

Attempted to edit the dotnet-version.patch while trizen was installing, that results in validity check error.

==========

I cloned the package and attempted a manual install. Before initiating the makepkg, I edited dotnet-version.patch from 2.1.3 to 2.1.*; I then updated the file hashes in the pkgbuild. makepkg then generates this error:

The specified SDK version '2.1.*' could not be parsed A compatible SDK version for global.json version: [2.1.*] from [/home/chris/packages/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

I'm now past my knowledge to troubleshoot this.

allenhs commented on 2018-06-12 05:38 (UTC)

I get the same error as krprescott.

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

krprescott commented on 2018-06-02 14:04 (UTC)

I get errors when building this package. Here is the dotnet packages I have installed: dotnet-host 2.1.0-1 dotnet-runtime 2.1.0-1 dotnet-sdk 2.1.300-1 Here is the build information: Starting build()... A compatible SDK version for global.json version: [2.1.3] from [/home/kprescott/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 ==> ERROR: A failure occurred in build(). Aborting...

kylesferrazza commented on 2018-05-14 14:50 (UTC) (edited on 2018-05-14 14:51 (UTC) by kylesferrazza)

@octav, let me know if it runs for you with env TERM=xterm pwsh

eddyready commented on 2018-05-12 10:28 (UTC)

Hi, I am getting the following download errors from Nuget

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.

octav commented on 2018-05-10 19:36 (UTC)

Hi, my build finishes with no errors but pwsh crashes. Please help. I have no idea where to dig in.

[octav@octav-nb ~]$ sudo pwsh PowerShell v6.0.2 Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs Type 'help' to get help.

FailFast: The terminfo database is invalid.

at System.Environment.FailFast(System.String, System.Exception) at System.Environment.FailFast(System.String, System.Exception) at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String, System.String[], Int32) at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[]) Aborted [octav@octav-nb ~]$

eliohann commented on 2018-03-24 12:41 (UTC)

Hi,

There is no install-module cmdlet present. I did post on official github and can you take a look to the answer : https://github.com/PowerShell/PowerShell/issues/6472

So you can modify your build to let us have access to install-module

kylesferrazza commented on 2018-03-19 16:39 (UTC)

I added the TERM fix to the PKGBUILD until the problem is fixed upstream.

cortiz commented on 2018-03-19 14:48 (UTC)

Add TERM=xterm $srcdir/build.sh if build fails, looks like it's a ncurses 6.1+ in the dotnet corefx