[BUG] PowerShell 7 not listed as source in Software updates
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #5577 来自 @GabrielDuf —— 已合并
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
调研方向
Start by comparing how PowerShell 5.x and PowerShell 7.x packages are handled in the Software updates view; the issue names no source files or tests, so first locate those entry points and the existing handling for PowerShell 5.x. Reproduce with the provided setup, where PowerShell 7.x is detected and appears in Discover packages but not Software updates. Done when eligible PowerShell 7.x modules appear in Software updates and can be upgraded there.
由索引模型根据 Issue 内容生成。
描述
Please confirm these before moving forward
- I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- I have tested that this issue has not been fixed in the latest (beta or stable) release.
- I have checked the FAQ section for solutions.
- This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
2026.3.2
Windows version, edition, and architecture
Windows 11 Pro x64 26h2
Describe your issue
Hello, i usually install powershell modules for both Powershell version (5.x and 7.x) but only powershell 5.x is listed as source in the software update tab. Ps 7.x is correctly listes in the discover packages section. This is annoying, because the only way to upgrade a ps 7.x module is to search it again in the discovery package section. Ps 5.x and 7.x seems to have the same configurations in the package manager section. An issue was already opened in the past https://github.com/Devolutions/UniGetUI/issues/4781 and got closed but i was not able to get this feature working
Steps to reproduce the issue
No response
UniGetUI Log
[21.10.2026 11:39:20] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.3.2
[21.10.2026 11:39:20]
[21.10.2026 11:39:20] Build 107
[21.10.2026 11:39:20] UI Framework: Avalonia
[21.10.2026 11:39:20] Data directory C:\Users\Matteo\AppData\Local\UniGetUI
[21.10.2026 11:39:20] OS: Microsoft Windows 10.0.26300
[21.10.2026 11:39:20] Process arch: X64 (OS: X64)
[21.10.2026 11:39:20] Runtime: .NET 10.0.13
[21.10.2026 11:39:20] UI font: Segoe UI, Arial, Tahoma
[21.10.2026 11:39:20] UI font fallbacks: Nirmala UI, Leelawadee UI, Microsoft YaHei UI, Microsoft YaHei, SimSun, SimSun-ExtB, Microsoft JhengHei UI, Microsoft JhengHei, MingLiU-ExtB, Yu Gothic UI, Yu Gothic, Malgun Gothic
[21.10.2026 11:39:20] Loaded language locale: en
[21.10.2026 11:39:20] Elevated: False
[21.10.2026 11:39:20] Packaged (MSIX): False
[21.10.2026 11:39:20] Args: (none)
[21.10.2026 11:39:20] DXGI hardware GPU detection took 9.5 ms; hardware GPU: True
[21.10.2026 11:39:20] Command cargo-binstall.exe was not found on the system
[21.10.2026 11:39:21] Starting Avalonia shell bootstrap
[21.10.2026 11:39:21] Loaded language locale: en
[21.10.2026 11:39:21] Generated a IPC API auth token for the current session
[21.10.2026 11:39:21] Command vcpkg.exe was not found on the system
[21.10.2026 11:39:21] Command cargo.exe was not found on the system
[21.10.2026 11:39:21] PowerShell7 is enabled and was found on C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\pwsh.exe
[21.10.2026 11:39:21] Cargo is enabled but was not found on the system!
[21.10.2026 11:39:21] Command bun.exe was not found on the system
[21.10.2026 11:39:21] Command npm.cmd was not found on the system
[21.10.2026 11:39:21] Chocolatey is enabled and was found on C:\ProgramData\chocolatey\bin\choco.exe
[21.10.2026 11:39:21] Command bun.cmd was not found on the system
[21.10.2026 11:39:21] Npm is enabled but was not found on the system!
[21.10.2026 11:39:21] Bun is enabled but was not found on the system!
[21.10.2026 11:39:21] PowerShell is enabled and was found on C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
[21.10.2026 11:39:21] Scoop is enabled and was found on C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\pwsh.exe
[21.10.2026 11:39:21] .NET Tool is enabled but was not found on the system!
[21.10.2026 11:39:21] Pip is enabled and was found on C:\Users\Matteo\AppData\Local\Programs\Python\Python314\python.EXE
[21.10.2026 11:39:21] Command vcpkg was not found on the system
[21.10.2026 11:39:21] Command vcpkg was not found on the system
[21.10.2026 11:39:21] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[21.10.2026 11:39:21] vcpkg is enabled but was not found on the system!
[21.10.2026 11:39:21] Api running on named pipe UniGetUI.IPC
[21.10.2026 11:39:21] Auto-updater source 'ProductInfo' returned version 2026.3.2.0 (upgradable=False)
[21.10.2026 11:39:21] Connected to WinGet API using packaged COM activation.
[21.10.2026 11:39:21] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[21.10.2026 11:39:21] Winget is enabled and was found on C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\winget.exe
[21.10.2026 11:39:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.29.380
█ Using Native WinGet helper (COM Api)
█ Activation mode: packaged COM registration
█ Activation source: system COM registration
█
█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[21.10.2026 11:39:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip (aka Pip)
█ Executable name: "pip"
█ Executable path: "C:\Users\Matteo\AppData\Local\Programs\Python\Python314\python.EXE"
█ Call arguments: "-m pip "
█ Version: pip 26.2.1 from C:\Users\Matteo\AppData\Local\Programs\Python\Python314\Lib\site-packages\pip (python 3.14)
█
█ Pip is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[21.10.2026 11:39:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 5.x (aka PowerShell)
█ Executable name: "powershell.exe"
█ Executable path: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: Name Value
█ ---- -----
█ PSVersion 5.1.26100.9711
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.9711
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1
█
█ PowerShell 5.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[21.10.2026 11:39:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 7.x (aka PowerShell7)
█ Executable name: "pwsh.exe"
█ Executable path: "C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\pwsh.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: PowerShell 7.6.7
█
█ PowerShell 7.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[21.10.2026 11:39:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey (aka Chocolatey)
█ Executable name: "choco.exe"
█ Executable path: "C:\ProgramData\chocolatey\bin\choco.exe"
█ Call arguments: ""
█ Version: 2.7.4
█
█ Chocolatey is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[21.10.2026 11:39:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Scoop (aka Scoop)
█ Executable name: "scoop"
█ Executable path: "C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\pwsh.exe"
█ Call arguments: "-NoProfile -ExecutionPolicy Bypass -Command "C:\Users\Matteo\scoop\shims\scoop.ps1" "
█ Version: Current Scoop version:
█ v0.6.0 - Released at 2026-09-30
█
█ 'main' bucket:
█ 4771ee7f53 wash: Update to version 2.11.0
█
█ Scoop is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Package Managers Logs
Manager WinGet with version:
System WinGet (CLI) Version: v1.29.380
Using Native WinGet helper (COM Api)
Activation mode: packaged COM registration
Activation source: system COM registration
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 21.10.2026 11:39:21
Process end time: 21.10.2026 11:39:21
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 21.10.2026 11:39:23
Process end time: 21.10.2026 11:39:30
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 21.10.2026 11:39:23
Process end time: 21.10.2026 11:39:27
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Matteo\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 21.10.2026 11:39:24
Process end time: 21.10.2026 11:39:24
-- Process STDOUT
...
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 21.10.2026 11:39:24
Process end time: 21.10.2026 11:39:28
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 21.10.2026 11:39:24
Process end time: 21.10.2026 11:39:27
-- Task information
...
The task reported success
——————————————————————————————————————————
Relevant information
No response
Screenshots and videos
No response
- 主要语言
- C#
- 星标
- 26.7k
- 派生
- 955
- 平均合并
- 17 小时
- 30 天内合并 PR
- 95
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Devolutions/UniGetUI 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
Devolutions/UniGetUI#5548 ·
维护者通常 1 天内回复
-
enhancement winget
难度 4/5 3-5 天 新手友好度 52/100
Devolutions/UniGetUI#5597 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug needs-author-answer
难度 2/5 1-3 小时 新手友好度 55/100
Devolutions/UniGetUI#5595 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement priority: low
难度 5/5 一周以上 新手友好度 35/100
Devolutions/UniGetUI#5594 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug winget
难度 3/5 1-2 天 新手友好度 55/100
Devolutions/UniGetUI#5593 · 1 个 reaction ·
维护者通常 1 天内回复
查看 Devolutions/UniGetUI 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 70/100
icsharpcode/ILSpy#4277 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
k2-fsa/sherpa-onnx#4098 ·
维护者通常 2 天内回复
-
enhancement good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 84/100