-
Notifications
You must be signed in to change notification settings - Fork 746
Description
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
3.1.4 beta 2
Windows version, edition, and architecture
Windows 10 22H2 19045.5198
Describe your issue
Since I installed UniGetUI 3.1.4 beta 1, I have been having problems with WinGet within UniGetUI and I am not offered any updates. Furthermore, I am constantly warned "WinGet malfunction detected", but repairing never works. UniGetUI says it has successfully repaired WinGet, but then I get the same warning.
If I click on "Repair WinGet", then a PowerShell window launches, but then while running I see the following (I had to grab a video of it to get a screenshot):
But despite that error while the cmdlet/script file is running, UnIGetUI always comes back and says that WinGet was repaired successfully as follows:
I have not changed anything. I have uninstalled UniGetUI and reinstalled it, but nothing changed. I have also tried enabling the "Use bundled WinGet" option, but that didn't help. The following are the settings I have been using for months other than temporarily trying the "Use bundled WinGet" option:
Please note that I can manually open PowerShell in an admin window and find and install updates via WinGet. I just don't know what to do to get WinGet past whatever problem it is having (or thinks it has) with WinGet. ???
I did update to 3.1.4 beta 2 today, but that didn't change anything. In fact, I tested again today and then produced the screenshots submitted in this submission.
Steps to reproduce the issue
All I have to do is launch UniGetUI and/or try manually looking for updates (since UniGetUI doesn't seem to be able to) and the warning about "WinGet malfunction detected" pops up. If I try repairing, then the whole loop starts.
UniGetUI Log
[12/9/2024 1:51:29 PM] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 3.1.4-beta2
[12/9/2024 1:51:29 PM]
[12/9/2024 1:51:29 PM] Build 72
[12/9/2024 1:51:29 PM] Encoding Code Page set to 437
[12/9/2024 1:51:29 PM] Using built-in UniGetUI Elevator
[12/9/2024 1:51:29 PM] Loaded language locale: en
[12/9/2024 1:51:30 PM] Randomly-generated background API auth token for the current session: okedfnqcco7yvvra7wilf8ya79je2gilg67mgtxn8fj7x6qfmffgr9ugc2pukku1
[12/9/2024 1:51:30 PM] Api running on http://localhost:7058
[12/9/2024 1:51:30 PM] Lang files were updated successfully from GitHub
[12/9/2024 1:51:30 PM] Downloaded new icons and screenshots successfully!
[12/9/2024 1:51:30 PM] Command npm was not found on the system
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] Command cargo was not found on the system
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Cargo
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] Command vcpkg was not found on the system
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: vcpkg
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: .NET Tool
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] Command scoop was not found on the system
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Scoop
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: True
█ Fancy exe name: winget.exe
█ Executable path: C:\Users\ZeroE\AppData\Local\Microsoft\WindowsApps\winget.exe
█ Call arguments:
█ Version:
█ System WinGet CLI Version: v1.10.40-preview
█ Using Native WinGet helper (COM Api)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:30 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:32 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell
█ Enabled: True
█ Found: True
█ Fancy exe name: powershell.exe
█ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█ Call arguments: -NoProfile -Command
█ Version:
█ Name Value
█ ---- -----
█ PSVersion 5.1.19041.5198
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.19041.5198
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:32 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell7
█ Enabled: True
█ Found: True
█ Fancy exe name: pwsh.exe
█ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
█ Call arguments: -NoProfile -Command
█ Version:
█ PowerShell 7.4.6
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/9/2024 1:51:32 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[12/9/2024 1:51:32 PM] Found 1 installed packages from PowerShell7
[12/9/2024 1:51:32 PM] Failed to download the PowerShell7 manifest at Url=https://www.powershellgallery.com/api/v2/Packages(Id='AIShell',Version='1.0.1') with status code NotFound
[12/9/2024 1:51:32 PM] No manifest content could be loaded for package AIShell on manager PowerShell7
[12/9/2024 1:51:34 PM] Found 1 installed packages from PowerShell
[12/9/2024 1:51:35 PM] Found 0 available updates from PowerShell
[12/9/2024 1:51:41 PM] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[12/9/2024 1:51:41 PM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[12/9/2024 1:51:41 PM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[12/9/2024 1:51:41 PM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[12/9/2024 1:51:41 PM] Attempting to reconnec to WinGet COM Server...
[12/9/2024 1:51:41 PM] Attempting to reconnec to WinGet COM Server...
[12/9/2024 1:51:50 PM] Error finding updates on manager Winget
[12/9/2024 1:51:50 PM] Error finding installed packages on manager Winget
[12/9/2024 1:51:50 PM] System.AggregateException: One or more errors occurred. (WinGet: Failed to connect to composite catalog.)
---> System.InvalidOperationException: WinGet: Failed to connect to composite catalog.
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 240
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 103
--- End of stack trace from previous location ---
at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 66
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 157
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 96
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 239
[12/9/2024 1:51:50 PM] System.AggregateException: One or more errors occurred. (WinGet: Failed to connect to composite catalog.)
---> System.InvalidOperationException: WinGet: Failed to connect to composite catalog.
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 240
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 103
--- End of stack trace from previous location ---
at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 66
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 157
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 96
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getAvailableUpdates(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 194
[12/9/2024 1:51:50 PM] Backup saved to D:\__Zero\MEGAsync\Documents\UniGetUI\L-TP-P15-GEN-2 installed packages 2024-12-09 13-51-50.ubundle
[12/9/2024 1:52:32 PM] Manager PowerShell 7.x failed to list available updates with exception TimeoutException: The operation has timed out.
[12/9/2024 1:52:32 PM] Since this was the first attempt, PowerShell7.AttemptFastRepair() will be called and the procedure will be restarted
Package Managers Logs
Manager WinGet with version:
System WinGet CLI Version: v1.10.40-preview
Using Native WinGet helper (COM Api)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 12/9/2024 1:51:30 PM
Process end time: 12/9/2024 1:51:30 PM
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\ZeroE\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 12/9/2024 1:51:32 PM
Process end time: 12/9/2024 1:51:41 PM
-- Process STDOUT
...
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 12/9/2024 1:51:32 PM
Process end time: UNFINISHED
The task has not finished yet
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 12/9/2024 1:51:32 PM
Process end time: 12/9/2024 1:51:41 PM
-- Task information
...
-- Task errors
Failed to connect to installedSearchCatalogRef. Aborting.
The task reported a failure (1)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 12/9/2024 1:51:41 PM
Process end time: UNFINISHED
The task has not finished yet
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\ZeroE\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 12/9/2024 1:51:41 PM
Process end time: 12/9/2024 1:51:48 PM
-- Process STDOUT
...
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 12/9/2024 1:51:41 PM
Process end time: UNFINISHED
The task has not finished yet
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 12/9/2024 1:51:41 PM
Process end time: 12/9/2024 1:51:50 PM
-- Task information
...
-- Task errors
Failed to connect to installedSearchCatalogRef. Aborting.
The task reported a failure (1)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 12/9/2024 1:51:48 PM
Process end time: UNFINISHED
The task has not finished yet
——————————————————————————————————————————
Relevant information
No response
Screenshots and videos
No response



