Search Criteria
Package Details: powershell 7.6.6-1
Package Actions
| 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 |
| Upstream URL: | https://microsoft.com/PowerShell |
| Keywords: | automation dotnet microsoft net powershell script scripting shell |
| Licenses: | MIT |
| Submitter: | jsteel |
| Maintainer: | ChrisTX |
| Last Packager: | ChrisTX |
| Votes: | 92 |
| Popularity: | 1.89 |
| First Submitted: | 2016-11-26 22:16 (UTC) |
| Last Updated: | 2026-09-10 18:25 (UTC) |
Dependencies (23)
- dotnet-runtime-10.0 (dotnet-runtime-binAUR, dotnet-runtime)
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR, xdg-utils-gitAUR)
- dotnet-sdk-10.0 (dotnet-sdk-binAUR, dotnet-sdk) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- rsync (rsync-gitAUR) (make)
- ruby-ronn (ruby-ronn-ng) (make)
- aspnet-runtime-10.0 (aspnet-runtime-binAUR, aspnet-runtime) (check)
- aspnet-targeting-pack-10.0 (aspnet-targeting-pack-binAUR, aspnet-targeting-pack) (check)
- bash (bash-gitAUR, bash-devel-gitAUR) (check)
- expect (check)
- glibc-locales (glibc-locales-git-native-pgoAUR) (check)
- grep (grep-gitAUR, grep-compatAUR) (check)
- inetutils (inetutils-gitAUR) (check)
- iputils (iputils-gitAUR) (check)
- lttng-ust2.12 (check)
- openssh (openssh-gitAUR, openssh-gssapiAUR, openssh-selinuxAUR, openssh-hpn-shimAUR) (check)
- procps-ng (procps-ng-nosystemd-gitAUR, procps-ng-gitAUR) (check)
- xclip (wl-clipboard-x11AUR, xclip-gitAUR) (check)
- openssh (openssh-gitAUR, openssh-gssapiAUR, openssh-selinuxAUR, openssh-hpn-shimAUR) (optional) – PowerShell Remoting over ssh
- Show 3 more dependencies...
Required by (14)
- ddns-cloudflare-powershell-git
- ilspy-git
- ilspycmd-git
- minilpa (make)
- nishang-scripts
- powershell-dsc (make)
- powershell-editor-services
- powershell-editor-services-bin
- powershell-empire
- powershell-empire-git
- scripts-manager-git (optional)
- steamguard-cli-bin (optional)
- tabbr-bin (optional)
- xcute (optional)
Latest Comments
1 2 3 4 5 6 .. 23 Next › Last »
ChrisTX commented on 2026-08-26 05:27 (UTC) (edited on 2026-09-10 18:27 (UTC) by ChrisTX)
@weltio
xdg-openis needed by PowerShell, see my comment here in the PKGBUILD. It's hardcoded in .NET, see here. The tests break because the invoke functionality of PowerShell breaks. That's why there's a hard dependency onxdg-utils- so I'm not quite sure how you managed to not havexdg-open? For me it works on headless systems both, in a chroot and bare metal builds.As for the
--force, I'm aware, that's because you didn't clean the build directory. I'll fix that with the next release though (as my health permits).Update with 7.6.6-1 this has been addressed.
@B3l3tte
xdg-utilsentire logic is based on which desktop environment you have. Specifically, for Terminals, it queries here viakreadconfig6what your terminal is. For me on KDE as well:What you need to do is go System Settings -> Default Applications and set which terminal you want it to use (and have installed). Then the
kreadconfig6command will return the right setting. Alternatively, build in a chroot, but you should fix this, as there's more apps relying on this. See also the upstream requirements for each DE.As for
qtpaths, yeah you will needqt5-toolsinstalled. It's been removed upstream, see here, but in the current release 1.2.1, it's still there.I can't really do anything about all of this, since it's a hard dependency of PowerShell / .NET. You will need a working
xdg-utils.weltio commented on 2026-08-25 12:12 (UTC)
I could only build with
B3l3tte commented on 2026-08-24 08:53 (UTC)
Hello ChrisTX,
I had the following error since
7.6.3-x:Installing
konsoleseems to solve the issue, which is weird. Just to let you know...ChrisTX commented on 2026-08-22 00:28 (UTC) (edited on 2026-08-26 05:28 (UTC) by ChrisTX)
I've pushed at least the update to 7.6.5 now.
To be frank, I've been fighting a really bad pain condition since early July. It's not a permanent affair, and is starting to heal off now. I had hoped it would go away much more quickly, but unfortunately that didn't happen.
I hope I can get back to working on the improvements I had outlined in June in the coming days/weeks.
@rubin55 Can you outline what test it is and how it breaks for you? I assume you're referring to this test in
Start-Process.Tests.ps1? That looks like it should error, and it does clear theUSERNAMEvariable due to #4671.At any rate, I don't think unsetting
USERNAMEthere is a good idea. This could break this test for example. Overall, #4671 demonstrates why it's bad.I think the best course of action would be patching the test instead, or maybe removing
Start-Process.Tests.ps1entirely. But ideally I'd like to make an upstream bugreport first. The line is certainly not correct due to #4671, but I need to understand how it breaks before I can do so. I've been unable on several machines using regular builds and clean chroot builds to reproduce this. Does it work for you in chroot?Kicker0429 commented on 2026-08-21 19:54 (UTC)
PowerShell version 7.6.5 was released August 14th. Any plans to update the PKGBUILD? If not, do you want to pass the baton to someone else?
rubin55 commented on 2026-08-17 12:01 (UTC)
Hey came across your package, much greatness. I took the liberty to upgrade to 7.6.5, and encountered a test failure due to USERNAME being set. Here's the
PKGBUILDdiff:ChrisTX commented on 2026-07-21 22:21 (UTC)
I'll push the update to 7.6.4 with further fixes in the coming days. Unfortunately, I had both a bit of a personal issue as well as my PC breaking down. Sorry for the lack of updates thus.
ChrisTX commented on 2026-07-01 19:32 (UTC)
@dbb Thanks for the report. I wasn't aware of that bug... I'll have a look and see what it will take to fix it. Having the extra path (or the config working) would be nice to have. I wanted to continue working on building the modules tomorrow, then I'll also investigate that one. Since it's an issue in the core, I would ideally want to get that upstreamed. I'll try the same with the manpage fix. The
/tmp/Microsoft.PackageManagement/issue is something we'll probably never get to see fixed, since OneGet does not accept pull requests anymore. :/dbb commented on 2026-07-01 11:36 (UTC)
Thanks for the update. Getting the following error running the shell:
Root cause seems to be 20706. Editing
/etc/powershell.config.jsonto not include a path separator allows it to start. Seems like a long standing regression, may be simplest to patch it?ChrisTX commented on 2026-06-29 21:45 (UTC) (edited on 2026-07-01 00:33 (UTC) by ChrisTX)
I just pushed a huge update. This took me quite a while. I have written a lengthy commit message about all the improvements, but let me give you some highlights from that here:
[Microsoft.PowerShell.Telemetry.ApplicationInsightsTelemetry]::get_CanSendTelemetry()and it will just print out a type error now./etc/powershell.config.jsonis now available and in the backups array. See about_PowerShell_Config for more info./usr/share/powershell/Modulesin addition to the regular/usr/local/share/powershell/Modulesas module path. This gives a convenient install path for Modules from packages.pwsh(1)man page now included, and - it's fixed. Upstream's has been broken for years now.Get-Helpcontent for PowerShell itself is now included. It's rarely updated and this way the files are tracked with proper permissions. Before, if an admin updated them, they wouldn't be world readable.Then, I've also uploaded DSCv3 and PowerShellEditorServices to AUR. Both are making use of this new
/usr/sharefunctionality, and PSES is specifically optimised and features R2R for faster startup unlike the official binaries.Update: I found a way to fix the horrible
/tmp/Microsoft.PackageManagement/permissions problem in OneGet (akaMicrosoft.PackageManagement); the thing that providesInstall-Modulebut hasn't been developed in years. It's this issue I'm referring to. Every invocation of OneGet will attempt to create that folder at the start. The problem is, that this applies for every user, so the first user after a boot to use OneGet blocks it for all others. After some investigration, it turns out the culprit is a simple logic error, in this line. TheappTempPathit wants to use is a combination ofOriginalTempFolder, which is initialised toPath.GetTempPath(), and the assembly name,Microsoft.PackageManagement. On Windows,Path.GetTempPath()returns the users temp folder,%userprofile%\AppData\Local\Temp, but on Linux it's/tmp. Alas, on Windows this is isolated per user, but on Linux it's global, causing the problem.This is easily fixed by making it use
XDG_RUNTIME_DIRinstead, which would be/run/user/<userid>and is isolated per user. That's a one line fix, but it will require me to look at building the dependent modules like OneGet, PSReadline, etc. They're all open source, so there's no real reason to download prebuilt binaries off PSGallery for them, when we can just build them from source. Getting that set up will take a bit of time though. It's made easier because by the time we'd need to build them, PowerShell is already built and so we can just use their native.ps1/.psm1build scripts instead of having to do this all from scratch. Shouldn't be too much work, because the string handling to fix up the build systems and make them work with current tools (like adjusting the nuget config, csproj files (TargetFrameworkand friends) is much easier to do in PWSH than with sed, awk and friends. So, I'll be moving the increasing number of powershell blocks in the PKGBUILD into our own little.psm1that will handle the Pester testing - this would also be needed for the tests the dependent modules ship with - and building those modules. That will be much easier to read than embedded powershell code in a PKGBUILD :D1 2 3 4 5 6 .. 23 Next › Last »