UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

Winget malfunction detected.

Open Toughguy5 opened this issue 10 months ago • 43 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the FAQ section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.16

Windows version, edition, and architecture

windows 11 pro

Describe your issue

everytime i open the app on my desktop i get this error "Winget malfunction detected" ity looks like Winget is not working properly. do you want to repair Winget ? i click yes, it temps to repair. i then click restart amnd when i open Winget again it states the sam thing.

Steps to reproduce the issue

just click the app.

UniGetUI Log

[2/25/2025 6:55:13 PM]    __  __      _ ______     __  __  ______
                         / / / /___  (_) ____/__  / /_/ / / /  _/
                        / / / / __ \/ / / __/ _ \/ __/ / / // /
                       / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                       \____/_/ /_/_/\____/\___/\__/\____/___/
                           Welcome to UniGetUI Version 3.1.6
[2/25/2025 6:55:13 PM]
[2/25/2025 6:55:13 PM] Build 80
[2/25/2025 6:55:13 PM] Data directory C:\Users\csupe\AppData\Local\UniGetUI
[2/25/2025 6:55:13 PM] Encoding Code Page set to 437
[2/25/2025 6:55:15 PM] Using built-in UniGetUI Elevator
[2/25/2025 6:55:16 PM] Tried to access a non-existing cached language file! file=C:\Users\csupe\AppData\Local\UniGetUI\CachedLanguageFiles\lang_en.json
[2/25/2025 6:55:16 PM] Loaded language locale: en
[2/25/2025 6:55:18 PM] Randomly-generated background API auth token for the current session: 9ekzj2gritmvzav1mz2vaapac0ec5ramo2im5i19h5bp8r8stnhkpfvdvity6gv9
[2/25/2025 6:55:18 PM] Api running on http://localhost:7058
[2/25/2025 6:55:18 PM] Lang files were updated successfully from GitHub
[2/25/2025 6:55:18 PM] The restored geometry did not have exactly 5 items (found length was 1)
[2/25/2025 6:55:19 PM] Command npm was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Npm
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] Command cargo was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Cargo
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] Command vcpkg was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Pip
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] Command vcpkg was not found on the system
[2/25/2025 6:55:19 PM] Command vcpkg was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: vcpkg
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: .NET Tool
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] Command pwsh.exe was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: PowerShell7
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] Downloaded new icons and screenshots successfully!
[2/25/2025 6:55:19 PM] Command scoop was not found on the system
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Scoop
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:19 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Winget
                       █ Enabled: True
                       █ Found: True
                       █ Fancy exe name: winget.exe
                       █ Executable path: C:\Users\csupe\AppData\Local\Microsoft\WindowsApps\winget.exe
                       █ Call arguments: 
                       █ Version: 
                       █   System WinGet CLI Version: v1.10.320
                       █   Using Native WinGet helper (COM Api)
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:20 PM] UniGetUI Chocolatey was found in the path
[2/25/2025 6:55:21 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Chocolatey
                       █ Enabled: True
                       █ Found: True
                       █ Fancy exe name: choco.exe
                       █ Executable path: C:\Users\csupe\AppData\Local\UniGetUI\Chocolatey\choco.exe
                       █ Call arguments: 
                       █ Version: 
                       █   2.4.2
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:21 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.26100.2161                                                                          
                       █   PSEdition                      Desktop                                                                                 
                       █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                       █   BuildVersion                   10.0.26100.2161                                                                         
                       █   CLRVersion                     4.0.30319.42000                                                                         
                       █   WSManStackVersion              3.0                                                                                     
                       █   PSRemotingProtocolVersion      2.3                                                                                     
                       █   SerializationVersion           1.1.0.1
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/25/2025 6:55:21 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2/25/2025 6:55:22 PM] Found 1 installed packages from Chocolatey
[2/25/2025 6:55:23 PM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[2/25/2025 6:55:23 PM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[2/25/2025 6:55:23 PM] Attempting to reconnec to WinGet COM Server...
[2/25/2025 6:55:23 PM] Error finding installed packages on manager Winget
[2/25/2025 6:55:23 PM] Found 0 available updates from Chocolatey
[2/25/2025 6:55:23 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 238
                          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 stack trace from previous location ---
                          at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs)
                          at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59
                          at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 194
                          at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102
                          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 252
[2/25/2025 6:55:23 PM] Found 1 installed packages from PowerShell
[2/25/2025 6:55:28 PM] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[2/25/2025 6:55:28 PM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[2/25/2025 6:55:28 PM] Attempting to reconnec to WinGet COM Server...
[2/25/2025 6:55:33 PM] Error finding updates on manager Winget
[2/25/2025 6:55:33 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 238
                          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 stack trace from previous location ---
                          at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs)
                          at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59
                          at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 155
                          at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 95
                          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 203
[2/25/2025 6:55:44 PM] Found 0 available updates from PowerShell
[2/25/2025 6:56:47 PM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[2/25/2025 6:56:47 PM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[2/25/2025 6:56:47 PM] Attempting to reconnec to WinGet COM Server...
[2/25/2025 6:56:47 PM] Error finding installed packages on manager Winget
[2/25/2025 6:56:47 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 238
                          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 stack trace from previous location ---
                          at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs)
                          at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59
                          at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 194
                          at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102
                          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 252
[2/25/2025 6:56:49 PM] Found 1 installed packages from PowerShell
[2/25/2025 6:57:47 PM] Manager Chocolatey failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Chocolatey did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[2/25/2025 6:57:47 PM] Since this was the first attempt, Chocolatey.AttemptFastRepair() will be called and the procedure will be restarted
[2/25/2025 6:58:47 PM] Error finding installed packages on manager Chocolatey
[2/25/2025 6:58:47 PM] System.TimeoutException: Task _getInstalledPackages for manager Chocolatey did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                          at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[2/25/2025 6:58:48 PM] Failed to download the Chocolatey manifest at Url=https://community.chocolatey.org/api/v2//Packages(Id='Usage',Version='of') with status code NotFound
[2/25/2025 6:58:48 PM] No manifest content could be loaded for package Usage on manager Chocolatey

Package Managers Logs

Manager WinGet with version:
System WinGet CLI Version: v1.10.320
Using Native WinGet helper (COM Api)

——————————————————————————————————————————


Logged native task on manager Winget. Task type is ListSources
Process start time: 2/25/2025 6:55:19 PM
Process end time:   2/25/2025 6:55:19 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\csupe\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2/25/2025 6:55:21 PM
Process end time:   2/25/2025 6:55:28 PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2/25/2025 6:55:21 PM
Process end time:   UNFINISHED

The task has not finished yet

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2/25/2025 6:55:22 PM
Process end time:   2/25/2025 6:55:23 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 ListInstalledPackages
Process start time: 2/25/2025 6:55:23 PM
Process end time:   UNFINISHED

The task has not finished yet

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2/25/2025 6:55:23 PM
Process end time:   2/25/2025 6:55:23 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: 2/25/2025 6:55:28 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\csupe\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2/25/2025 6:55:28 PM
Process end time:   2/25/2025 6:55:33 PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2/25/2025 6:55:33 PM
Process end time:   UNFINISHED

The task has not finished yet

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2/25/2025 6:55:33 PM
Process end time:   2/25/2025 6:55:33 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 ListInstalledPackages
Process start time: 2/25/2025 6:56:47 PM
Process end time:   UNFINISHED

The task has not finished yet

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2/25/2025 6:56:47 PM
Process end time:   UNFINISHED

The task has not finished yet

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2/25/2025 6:56:47 PM
Process end time:   2/25/2025 6:56:47 PM

-- Task information
 ...

-- Task errors
  Failed to connect to installedSearchCatalogRef. Aborting.

The task reported a failure (1)

——————————————————————————————————————————

Relevant information

installed on a clean install of windows 11 Pro.

Screenshots and videos

Image

Toughguy5 avatar Feb 26 '25 00:02 Toughguy5

Same problem here, seemes to have started after winget was upgraded from 1.09, to 1.10

rugabunda avatar Feb 28 '25 19:02 rugabunda

If you downgrade WinGet to 1.9, by downloading the appropiate msix from WinGet's GitHub repo, does the issue get fixed?

marticliment avatar Feb 28 '25 19:02 marticliment

If you downgrade WinGet to 1.9, by downloading the appropiate msix from WinGet's GitHub repo, does the issue get fixed?

Any tips?... I attempted to, but was unable to succeed.

Tried almost every trick in the book and I was unable to downgrade

rugabunda avatar Mar 01 '25 04:03 rugabunda

Download and install this: https://github.com/microsoft/winget-cli/releases/download/v1.9.25200/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

marticliment avatar Mar 01 '25 09:03 marticliment

Download and install this: https://github.com/microsoft/winget-cli/releases/download/v1.9.25200/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

Windows does not allow downgrading DesktopAppInstaller.

rugabunda avatar Mar 01 '25 09:03 rugabunda

Updated to your latest uniget. Ok... I'm using 1.9.25190 with errors. In uniget I update to 1.10.340 via PowerShell 5.X PS5Gallery; winget errors again. Then I ran your fix script, I believe it downgraded back to 1.9.25190; Errors are gone, but its not able to upgrade, says it was successful but every time I search for updates it finds this:

Image

[3/1/2025 2:53:53 AM] __ __ _ ______ __ __ ______ / / / /___ () / / // / / / / / / / / __ / / / __/ _ / __/ / / // / / // / / / / / // / __/ // // // / _// ///_/_/_/_/_/ Welcome to UniGetUI Version 3.1.7 [3/1/2025 2:53:53 AM] [3/1/2025 2:53:53 AM] Build 82 [3/1/2025 2:53:53 AM] Data directory C:\Users\Ty\AppData\Local\UniGetUI [3/1/2025 2:53:53 AM] Encoding Code Page set to 437 [3/1/2025 2:53:53 AM] Using built-in UniGetUI Elevator [3/1/2025 2:53:53 AM] Loaded language locale: en [3/1/2025 2:53:53 AM] Checking for internet connectivity. Pinging google.com, microsoft.com, couldflare.com and marticliment.com [3/1/2025 2:53:53 AM] DWM Thread was already running [3/1/2025 2:53:53 AM] XAML Thread was already running [3/1/2025 2:53:53 AM] DWM Thread was already running [3/1/2025 2:53:53 AM] XAML Thread was already running [3/1/2025 2:53:53 AM] google.com responded successfully to ping, internet connection was validated. [3/1/2025 2:53:53 AM] Old chocolatey path does not exist, not migrating Chocolatey [3/1/2025 2:53:53 AM] Begin "which" search for command npm [3/1/2025 2:53:53 AM] Begin "which" search for command python.exe [3/1/2025 2:53:53 AM] Begin "which" search for command winget.exe [3/1/2025 2:53:53 AM] Begin "which" search for command cargo [3/1/2025 2:53:53 AM] Begin "which" search for command vcpkg [3/1/2025 2:53:53 AM] Begin "which" search for command dotnet.exe [3/1/2025 2:53:53 AM] Begin "which" search for command pwsh.exe [3/1/2025 2:53:53 AM] Begin check for updates on endpoint https://www.marticliment.com/versions/unigetui/stable.ver [3/1/2025 2:53:53 AM] Lang files were updated successfully from GitHub [3/1/2025 2:53:53 AM] Saving window geometry 965,391,1321,984,0 [3/1/2025 2:53:53 AM] Command dotnet.exe was found on c:\program files\dotnet\dotnet.exe [3/1/2025 2:53:53 AM] Command python.exe was found on C:\Users\Ty\AppData\Local\Microsoft\WindowsApps\python.exe [3/1/2025 2:53:53 AM] Command npm was not found on the system [3/1/2025 2:53:53 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Npm █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:53 AM] Command cargo was not found on the system [3/1/2025 2:53:53 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Cargo █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:53 AM] Command vcpkg was not found on the system [3/1/2025 2:53:53 AM] Begin "which" search for command vcpkg [3/1/2025 2:53:53 AM] Command pwsh.exe was found on C:\Program Files\PowerShell\7\pwsh.exe [3/1/2025 2:53:53 AM] Command winget.exe was found on C:\Users\Ty\AppData\Local\Microsoft\WindowsApps\winget.exe [3/1/2025 2:53:53 AM] Downloaded new icons and screenshots successfully! [3/1/2025 2:53:53 AM] Command vcpkg was not found on the system [3/1/2025 2:53:53 AM] Begin "which" search for command vcpkg [3/1/2025 2:53:53 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: PowerShell7 █ Enabled: False █ THE MANAGER IS DISABLED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:53 AM] Command vcpkg was not found on the system [3/1/2025 2:53:53 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: vcpkg █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:53 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: .NET Tool █ Enabled: True █ Found: True █ Fancy exe name: dotnet tool █ Executable path: c:\program files\dotnet\dotnet.exe █ Call arguments: tool █ Version: █ 8.0.406 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:53 AM] Begin "which" search for command scoop [3/1/2025 2:53:54 AM] Command scoop was not found on the system [3/1/2025 2:53:54 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Scoop █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:54 AM] Loaded 2 sources for manager Winget [3/1/2025 2:53:54 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Winget █ Enabled: True █ Found: True █ Fancy exe name: winget.exe █ Executable path: C:\Users\Ty\AppData\Local\Microsoft\WindowsApps\winget.exe █ Call arguments: █ Version: █ System WinGet CLI Version: v1.10.320 █ Using Native WinGet helper (COM Api) ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:54 AM] Got response from endpoint: (82, 3.1.7, 507A59A0DF140AC35785F81750BF7954E788B33CEAB916ACD51571EE048FBCF3) [3/1/2025 2:53:54 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Pip █ Enabled: False █ THE MANAGER IS DISABLED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:54 AM] Loaded 1 sources for manager Chocolatey [3/1/2025 2:53:54 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Chocolatey █ Enabled: True █ Found: True █ Fancy exe name: choco.exe █ Executable path: C:\Users\Ty\AppData\Local\UniGetUI\Chocolatey\choco.exe █ Call arguments: █ Version: █ 2.4.2 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:55 AM] Loaded 1 sources for manager PowerShell [3/1/2025 2:53:55 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.26100.2161
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.2161
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ [3/1/2025 2:53:55 AM] Checking for internet connectivity. Pinging google.com, microsoft.com, couldflare.com and marticliment.com [3/1/2025 2:53:55 AM] Checking for internet connectivity. Pinging google.com, microsoft.com, couldflare.com and marticliment.com [3/1/2025 2:53:55 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface. [3/1/2025 2:53:55 AM] google.com responded successfully to ping, internet connection was validated. [3/1/2025 2:53:55 AM] google.com responded successfully to ping, internet connection was validated. [3/1/2025 2:53:55 AM] Manager Chocolatey has not implemented RefreshPackageIndexes [3/1/2025 2:53:55 AM] Manager PowerShell has not implemented RefreshPackageIndexes [3/1/2025 2:53:55 AM] Manager .NET Tool has not implemented RefreshPackageIndexes [3/1/2025 2:53:55 AM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog. [3/1/2025 2:53:55 AM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted [3/1/2025 2:53:55 AM] Attempting to reconnec to WinGet COM Server... [3/1/2025 2:53:55 AM] Error finding installed packages on manager Winget [3/1/2025 2:53:55 AM] 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 238 at System.Threading.Tasks.Task1.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 stack trace from previous location --- at UniGetUI.Core.Classes.TaskRecycler1._runTaskAndWait(Task1 task, Int32 hash, Int32 cacheTimeSecsSecs) at UniGetUI.Core.Classes.TaskRecycler1.RunOrAttach(Func1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59 at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 194 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102 at System.Threading.Tasks.Task1.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 252 [3/1/2025 2:53:55 AM] Found 1 installed packages from .NET Tool [3/1/2025 2:53:55 AM] Found 1 installed packages from .NET Tool [3/1/2025 2:53:56 AM] Found 0 available updates from .NET Tool [3/1/2025 2:53:56 AM] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog. [3/1/2025 2:53:56 AM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted [3/1/2025 2:53:56 AM] Attempting to reconnec to WinGet COM Server... [3/1/2025 2:53:56 AM] Found 1 installed packages from Chocolatey [3/1/2025 2:53:56 AM] Found 0 available updates from Chocolatey [3/1/2025 2:53:56 AM] Error finding updates on manager Winget [3/1/2025 2:53:56 AM] 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 238 at System.Threading.Tasks.Task1.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 stack trace from previous location --- at UniGetUI.Core.Classes.TaskRecycler1._runTaskAndWait(Task1 task, Int32 hash, Int32 cacheTimeSecsSecs) at UniGetUI.Core.Classes.TaskRecycler1.RunOrAttach(Func1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59 at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 155 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 95 at System.Threading.Tasks.Task1.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 203 [3/1/2025 2:53:57 AM] Found 5 installed packages from PowerShell [3/1/2025 2:53:57 AM] Found 5 installed packages from PowerShell [3/1/2025 2:53:57 AM] Found 1 available updates from PowerShell [3/1/2025 2:53:57 AM] Invalid value for UpdatesCheckInterval, using default value of 3600 seconds [3/1/2025 2:53:57 AM] Cached icon for id=microsoft.winget.client is valid and won't be downloaded again (PackageVersion) [3/1/2025 2:53:58 AM] Cached icon for id=msi is valid and won't be downloaded again (PackageVersion) [3/1/2025 2:54:02 AM] DWM Thread was already running [3/1/2025 2:54:02 AM] XAML Thread was already running [3/1/2025 2:54:39 AM] DWM Thread was already running [3/1/2025 2:54:39 AM] XAML Thread was already running [3/1/2025 2:54:44 AM] DWM Thread was already running [3/1/2025 2:54:44 AM] XAML Thread was already running [3/1/2025 2:54:46 AM] DWM Thread was already running [3/1/2025 2:54:46 AM] XAML Thread was already running [3/1/2025 2:55:16 AM] DWM Thread was already running [3/1/2025 2:55:16 AM] XAML Thread was already running

rugabunda avatar Mar 01 '25 09:03 rugabunda

N/M error is back

[3/1/2025 2:58:23 AM] Error finding installed packages on manager Winget [3/1/2025 2:58:23 AM] 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 238 at System.Threading.Tasks.Task1.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 stack trace from previous location --- at UniGetUI.Core.Classes.TaskRecycler1._runTaskAndWait(Task1 task, Int32 hash, Int32 cacheTimeSecsSecs) at UniGetUI.Core.Classes.TaskRecycler1.RunOrAttach(Func1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 59 at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 194 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102 at System.Threading.Tasks.Task1.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 252 [3/1/2025 2:58:23 AM] Found 1 installed packages from .NET Tool [3/1/2025 2:58:23 AM] Found 1 installed packages from Chocolatey [3/1/2025 2:58:24 AM] Found 5 installed packages from PowerShell [3/1/2025 2:58:45 AM] DWM Thread was already running [3/1/2025 2:58:45 AM] XAML Thread was already running

rugabunda avatar Mar 01 '25 09:03 rugabunda

Ran winget manually from commandpompt and got this

winget upgrade The msstore source requires that you view the following agreements before using. Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms? [Y] Yes [N] No: y

Maybe this was the problem.

rugabunda avatar Mar 01 '25 10:03 rugabunda

Could firewall blocking powershell cause this error /w powershell 5.x package manager enabled

rugabunda avatar Mar 01 '25 10:03 rugabunda

Also the update worked once I enabled the FW rule

rugabunda avatar Mar 01 '25 10:03 rugabunda

but its not able to upgrade, says it was successful but every time I search for updates it finds this

This is not related to WinGet not working. This issue is unrelated

marticliment avatar Mar 01 '25 10:03 marticliment

but its not able to upgrade, says it was successful but every time I search for updates it finds this

This is not related to WinGet not working. This issue is unrelated

Ok. The update not working was due to blocking powershell via firewall which stopped your PS5.1 package manager from updating the packages properly.

rugabunda avatar Mar 01 '25 10:03 rugabunda

Error continues to appear

rugabunda avatar Mar 02 '25 00:03 rugabunda

I will continue investigating the issue

marticliment avatar Mar 02 '25 09:03 marticliment

Ran winget manually from commandpompt and got this

winget upgrade The msstore source requires that you view the following agreements before using. Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms? [Y] Yes [N] No: y

Maybe this was the problem.

This worked for me.

KZavi avatar Mar 04 '25 13:03 KZavi

Ran winget manually from commandpompt and got this winget upgrade The msstore source requires that you view the following agreements before using. Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US"). Do you agree to all the source agreements terms? [Y] Yes [N] No: y Maybe this was the problem.

This worked for me

I thought it did for me also but the problem returned eventually; i just did a clean install and removed all leftovers with revo-uninstaller. So far so good. Will report any updates.

rugabunda avatar Mar 04 '25 18:03 rugabunda

Update: Malfunction returned

rugabunda avatar Mar 04 '25 18:03 rugabunda

I'm suffering the exact same issue. For now, UniGetUI is unusable for me.

sydbarrett74 avatar Mar 05 '25 20:03 sydbarrett74

UniGetUI 3.1.8 beta 1 seems to have fixed the problem. Will post back if I'm mistaken.

rugabunda avatar Mar 12 '25 03:03 rugabunda

Issue returned. Uninstalling until next release.

rugabunda avatar Mar 12 '25 04:03 rugabunda

Is it uniget compatible with the latest windows token management security feature 'admin approval mode with administrator protection'?

rugabunda avatar Mar 12 '25 04:03 rugabunda

I am afraid I don't know what this is

marticliment avatar Mar 12 '25 06:03 marticliment

https://www.elevenforum.com/t/enable-or-disable-administrator-protection-for-admin-approval-mode-in-windows-11.29115/

Its already integrated into 24h2 as of last month

The new security feature in Windows 11, known as "Admin Approval Mode with Administrator Protection," represents a significant breakthrough in enhancing system security. This feature is part of the broader efforts to improve Windows security, particularly in the 24H2 update. Here's a breakdown of what it entails and how it works:

Key Components of Administrator Protection Just-in-Time Privileges: Unlike traditional admin rights that remain active all the time, Administrator Protection provides admin privileges only when needed. This approach minimizes the risk of privilege escalation attacks by ensuring that admin tokens are not lingering around unnecessarily14.

System Managed Admin Account: When an action requiring admin rights is initiated, Windows creates a hidden, system-managed admin account to handle the task. This account is isolated from the user's regular account, ensuring that even if the regular account is compromised, the hidden admin privileges cannot be misused47.

Windows Hello Integration: Users must authenticate using Windows Hello before any action that requires admin privileges can be performed. This adds an extra layer of security by requiring explicit user authorization for every administrative task19.

Least Privilege Principle: Administrator Protection operates on the principle of least privilege, ensuring that users are granted the minimum level of access necessary to perform their tasks. This reduces the attack surface and helps prevent accidental or malicious modifications to the system19.

rugabunda avatar Mar 12 '25 06:03 rugabunda

Then, unless this new admin mode automatically handles old UAC-like elevations, i am afraid UniGetUI is not compatible with it yet.

marticliment avatar Mar 12 '25 06:03 marticliment

Then, unless this new admin mode automatically handles old UAC-like elevations, i am afraid UniGetUI is not compatible with it yet.

Not sure, just an idea; error happens in the background without doing anything. takes a little while for it to trigger. security setting can be tested in any vm with 24h2. Any setting that can be changed to test if it is uac related?

rugabunda avatar Mar 14 '25 05:03 rugabunda

This annoying and glaring bug is still persisting like a stinky diaper

rugabunda avatar Mar 15 '25 05:03 rugabunda

Ugh. I will continue investigating

marticliment avatar Mar 15 '25 09:03 marticliment

Ugh. I will continue investigating

Thank you, if there is anything I can do to assist, please let me know.

rugabunda avatar Mar 16 '25 07:03 rugabunda

Hello

I have a similar issue. In the following I replace my username by xxx and there are some remaining french words in the error messages that I translate between [ ]

I get and error with the bundled winget but not with the system winget:

 C:\Users\xxx\AppData\Local\Programs\UniGetUI\winget-cli_x64\winget.exe list winget
Failed when opening source(s); try the 'source reset' command if the problem persists.
An unexpected error occurred while executing the command:
0x80070005 : Acc�s refus�. [access denied]
 C:\Users\xxxx\AppData\Local\Microsoft\WindowsApps\winget.exe list winget
Nom                                        ID                                                                             Version           Disponible Source
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Programme d'installation d'application     Microsoft.AppInstaller                                                         1.25.340.0                   winget

I set up unigetui to use the system winget in th winget conf panel:

  • the Use bundled winget instead of system winget is greyed out
  • the winget shown in the winget conf panel is "C:\Users\xxx\AppData\Local\Microsoft\WindowsApps\winget.exe"

Note that the log of winget show it using first the system one with success, then the bundled one with failure:

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\xxx\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 24/03/2025 19:19:09
Process end time:   24/03/2025 19:19:10

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\Users\xxx\AppData\Local\Programs\UniGetUI\winget-cli_x64\winget.exe"
Command-line arguments: " update --include-unknown  --accept-source-agreements"
Process start time: 24/03/2025 19:19:10
Process end time:   24/03/2025 19:19:10

-- Process STDOUT
 ...

Return code: FAILED (0x80070005, 2147942405, -2147024891)

——————————————————————————————————————————

The general unigetui log shows also an error with winget

24/03/2025 19:19:05] Couldn't connect to WinGet API, attempting to connect with lower trust... (Are you running as administrator?)
[24/03/2025 19:19:05] Cannot instantiate Native WinGet Helper due to error: Classe non enregistrée [class not registered]

[24/03/2025 19:19:05] System.Runtime.InteropServices.COMException (0x80040154): Classe non enregistrée  [class not registered]
                      
                         at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
                         at WindowsPackageManager.Interop.WindowsPackageManagerStandardFactory.CreateInstance[T](Guid clsid, Guid iid) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerStandardFactory.cs:line 29
                         at WindowsPackageManager.Interop.WindowsPackageManagerFactory.CreateInstance[T]() in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerFactory.cs:line 57
                         at WindowsPackageManager.Interop.WindowsPackageManagerFactory.CreatePackageManager() in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerFactory.cs:line 34
                         at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper..ctor(WinGet manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 43
                         at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 228
[24/03/2025 19:19:05] WinGet will resort to using BundledWinGetHelper()

Both winget use the same sources

I just reinstalled unigetui (for all user), and ran it as administrator and using the bundled winget and it seems to work even if it shows plenty of error messages. Switching back to normal user displays the same issue than before.

What would be the drawback to use it as administrator ? would there be a conflict with previously installed packages ?

Thanks

junelac avatar Mar 24 '25 18:03 junelac

What would be the drawback to use it as administrator ?

Any package you install the installer will be run as admin without further confirmation

marticliment avatar Mar 24 '25 18:03 marticliment