Skip to content

[BUG] UnigetUI keep asking me to repair Winget, then Winget is properly installed and working (just not with UnigetUI #3087

Closed

Description

@Piggoz

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

Windows version, edition, and architecture

Windows 11 24H2 build SO 26100.2605 X64

Describe your issue

Like in the subject. This problem wasn't there before UnigetUI asked me to update the version. I said yes, and after the update went installed with apparently no issues, UnigetUI started to behave erratic keep asking me to repair Winget. If I allow it, it say operation was successfully then no Winget update are found and it keep me asking to repair Winget.

As said, my Winget is perfectly fine, it is version 1.9.25200, can manually install everything.

Python is 3.13.1 working fine in the system.

Steps to reproduce the issue

So what I said in Describe the issue

UniGetUI Log

[18/12/2024 23.13.46]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.4
[18/12/2024 23.13.46]
[18/12/2024 23.13.46] Build 73
[18/12/2024 23.13.46] Encoding Code Page set to 850
[18/12/2024 23.13.47] Using built-in UniGetUI Elevator
[18/12/2024 23.13.47] Loaded language locale: it
[18/12/2024 23.13.48] Randomly-generated background API auth token for the current session: axeellmj7fdb1qu9s68zdxfuajkdw4tu2l0b7jtan8evf0c1kq9qk8g84jtmar33
[18/12/2024 23.13.48] Api running on http://localhost:7058
[18/12/2024 23.13.48] Lang files were updated successfully from GitHub
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.48] Downloaded new icons and screenshots successfully!
[18/12/2024 23.13.48] Command npm was not found on the system
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.48] Command vcpkg was not found on the system
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.48] Command pwsh.exe was not found on the system
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.48] Command cargo was not found on the system
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.49] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\Max\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.9.25200
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.49] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Program Files\Python313\python.exe
                      █ Call arguments:  -m pip
                      █ Version: 
                      █   pip 24.3.1 from C:\Program Files\Python313\Lib\site-packages\pip (python 3.13)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.50] Command scoop was not found on the system
[18/12/2024 23.13.50] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.50] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[18/12/2024 23.13.50] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[18/12/2024 23.13.50] Dependency parse-pip-search for manager Pip is present
[18/12/2024 23.13.50] Found 1 installed packages from Pip
[18/12/2024 23.13.51] Found 0 available updates from Pip
[18/12/2024 23.13.52] Found 1 installed packages from PowerShell
[18/12/2024 23.13.53] Found 0 available updates from PowerShell
[18/12/2024 23.13.54] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[18/12/2024 23.13.54] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[18/12/2024 23.13.54] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[18/12/2024 23.13.54] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[18/12/2024 23.13.54] Attempting to reconnec to WinGet COM Server...
[18/12/2024 23.13.54] Attempting to reconnec to WinGet COM Server...
[18/12/2024 23.14.00] Error finding installed packages on manager Winget
[18/12/2024 23.14.00] 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 101
                         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
[18/12/2024 23.14.01] Error finding updates on manager Winget
[18/12/2024 23.14.01] 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 94
                         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 201

Package Managers Logs

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

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 18/12/2024 23.13.49
Process end time:   18/12/2024 23.13.49

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Max\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 18/12/2024 23.13.50
Process end time:   18/12/2024 23.13.54

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 18/12/2024 23.13.50
Process end time:   UNFINISHED

The task has not finished yet

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 18/12/2024 23.13.50
Process end time:   18/12/2024 23.13.54

-- 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: 18/12/2024 23.13.54
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\Max\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 18/12/2024 23.13.54
Process end time:   18/12/2024 23.14.01

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 18/12/2024 23.13.54
Process end time:   UNFINISHED

The task has not finished yet

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 18/12/2024 23.13.54
Process end time:   18/12/2024 23.14.00

-- 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: 18/12/2024 23.14.01
Process end time:   UNFINISHED

The task has not finished yet

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

Relevant information

Nothing other to report.

Screenshots and videos

image

Activity

  1. added
    bug
    on Dec 18, 2024
  2. marticliment commented on Dec 18, 2024

    @marticliment
    Collaborator

    please run the command winget list on a command prompt. What do you see as the output?

  3. Piggoz commented on Dec 19, 2024

    @Piggoz
    Author

    Hello Martin and thankx for your reply! I want to add it's long time I'm a user of the program and I deeply appreciate it.

    If I do run from command line: winget list, I get the list of my installed packages, example;

    Power Automate MSIX\Microsoft.PowerAutomateDesktop_1.0.1324.0_… 1.0.1324.0
    Print 3D MSIX\Microsoft.Print3D_3.3.791.0_x64__8wekyb3d8… 3.3.791.0
    Raw Image Extension MSIX\Microsoft.RawImageExtension_2.5.3.0_x64__8… 2.5.3.0
    Reader MSIX\Microsoft.Reader_10.1802.21631.0_x64__8wek… 10.1802.21631.0
    Strumento di cattura MSIX\Microsoft.ScreenSketch_11.2409.25.0_x64__8… 11.2409.25.0
    Sicurezza di Windows MSIX\Microsoft.SecHealthUI_1000.26100.1.0_x64__… 1000.26100.1.0
    Microsoft Engagement Framework MSIX\Microsoft.Services.Store.Engagement_10.0.2… 10.0.23012.0
    Microsoft Engagement Framework MSIX\Microsoft.Services.Store.Engagement_10.0.2… 10.0.23012.0
    Skype MSIX\Microsoft.SkypeApp_15.134.3202.0_x64__kzf8… 15.134.3202.0
    Start Experiences App MSIX\Microsoft.StartExperiencesApp_1.1.213.0_x6… 1.1.213.0
    Host esperienza dello Store MSIX\Microsoft.StorePurchaseApp_22410.1401.0.0_… 22410.1401.0.0
    Microsoft To Do MSIX\Microsoft.Todos_0.114.7122.0_x64__8wekyb3d… 0.114.7122.0
    Microsoft.UI.Xaml.2.0 MSIX\Microsoft.UI.Xaml.2.0_2.1810.18004.0_x64__… 2.1810.18004.0
    Microsoft.UI.Xaml.2.0 MSIX\Microsoft.UI.Xaml.2.0_2.1810.18004.0_x86__… 2.1810.18004.0
    Microsoft.UI.Xaml.2.1 MSIX\Microsoft.UI.Xaml.2.1_2.11906.6001.0_x64__… 2.11906.6001.0
    Microsoft.UI.Xaml.2.1 MSIX\Microsoft.UI.Xaml.2.1_2.11906.6001.0_x86__… 2.11906.6001.0
    Microsoft.UI.Xaml.2.3 MSIX\Microsoft.UI.Xaml.2.3_2.32002.13001.0_x64_… 2.32002.13001.0
    Microsoft.UI.Xaml.2.3 MSIX\Microsoft.UI.Xaml.2.3_2.32002.13001.0_x86_… 2.32002.13001.0
    Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2409.9001.0 winget
    Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2409.9001.0 winget
    Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
    Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
    Microsoft Visual C++ Runtime Package MSIX\Microsoft.VCLibs.120.00_12.0.21005.1_x64__… 12.0.21005.1
    Microsoft Visual C++ Runtime Package MSIX\Microsoft.VCLibs.120.00_12.0.21005.1_x86__… 12.0.21005.1
    Microsoft Visual C++ 2015 UWP Desktop Runtime P… Microsoft.VCLibs.Desktop.14 14.0.33728.0 winget
    Microsoft Visual C++ 2015 UWP Desktop Runtime P… Microsoft.VCLibs.Desktop.14 14.0.33728.0 winget
    Microsoft Visual C++ 2015 UWP Runtime Package MSIX\Microsoft.VCLibs.140.00_14.0.33519.0_x64__… 14.0.33519.0
    Microsoft Visual C++ 2015 UWP Runtime Package MSIX\Microsoft.VCLibs.140.00_14.0.33519.0_x86__… 14.0.33519.0
    VP9 Video Extensions MSIX\Microsoft.VP9VideoExtensions_1.2.2.0_x64__… 1.2.2.0
    Estensioni file multimediali Web MSIX\Microsoft.WebMediaExtensions_1.1.1295.0_x6… 1.1.1295.0
    Webp Image Extensions MSIX\Microsoft.WebpImageExtension_1.1.1711.0_x6… 1.1.1711.0
    Widgets Platform Runtime MSIX\Microsoft.WidgetsPlatformRuntime_1.6.1.0_x… 1.6.1.0
    Windows App Runtime DDLM 5001.119.156.0-x6 MSIX\Microsoft.WinAppRuntime.DDLM.5001.119.156.… 5001.119.156.0
    Windows App Runtime DDLM 5001.119.156.0-x8 MSIX\Microsoft.WinAppRuntime.DDLM.5001.119.156.… 5001.119.156.0
    Windows App Runtime DDLM 5001.70.1338.0-x6 MSIX\Microsoft.WinAppRuntime.DDLM.5001.70.1338.… 5001.70.1338.0
    Windows App Runtime DDLM 5001.70.1338.0-x8 MSIX\Microsoft.WinAppRuntime.DDLM.5001.70.1338.… 5001.70.1338.0
    Libreria Microsoft Windows per JavaScript MSIX\Microsoft.WinJS.2.0_1.0.9600.17018_neutral… 1.0.9600.17018
    Dev Home (Preview) Microsoft.DevHome 0.1901.687.0 winget
    Microsoft Foto MSIX\Microsoft.Windows.Photos_2024.11120.5010.0… 2024.11120.5010.0
    Windows Clock MSIX\Microsoft.WindowsAlarms_11.2411.2.0_x64__8… 11.2411.2.0
    WindowsAppRuntime.1.3 MSIX\Microsoft.WindowsAppRuntime.1.3_3000.934.1… 3000.934.1904.0
    WindowsAppRuntime.1.3 MSIX\Microsoft.WindowsAppRuntime.1.3_3000.934.1… 3000.934.1904.0
    WindowsAppRuntime.1.4 MSIX\Microsoft.WindowsAppRuntime.1.4_4000.1309.… 4000.1309.2056.0
    WindowsAppRuntime.1.4 MSIX\Microsoft.WindowsAppRuntime.1.4_4000.1309.… 4000.1309.2056.0
    WindowsAppRuntime.1.5 MSIX\Microsoft.WindowsAppRuntime.1.5_5001.311.2… 5001.311.2039.0
    WindowsAppRuntime.1.5 MSIX\Microsoft.WindowsAppRuntime.1.5_5001.311.2… 5001.311.2039.0
    WindowsAppRuntime.1.6 MSIX\Microsoft.WindowsAppRuntime.1.6_6000.318.2… 6000.318.2304.0
    WindowsAppRuntime.1.6 MSIX\Microsoft.WindowsAppRuntime.1.6_6000.318.2… 6000.318.2304.0
    Windows Calculator MSIX\Microsoft.WindowsCalculator_11.2411.1.0_x6… 11.2411.1.0
    Fotocamera Windows MSIX\Microsoft.WindowsCamera_2024.2408.1.0_x64_… 2024.2408.1.0
    WindowsDVDPlayer MSIX\Microsoft.WindowsDVDPlayer_3.6.13291.0_x64… 3.6.13291.0

    And so on... I had to accept the lWinget license agreement before getting the list.

    After accepting the agreement I also did a try to UnigetUI again, then it still say winget is broken and ask me to reinstall it again and again.

    I have to say I also reinstalled UnigetUI with no luck.

  4. In139 commented on Dec 19, 2024

    @In139

    UniGetUI Version:
    3.1.4

    Windows version, edition, and architecture:
    Windows 11 23H2 build 22631.4602 Release 220506-1250 x64
    (OS Version 10.0.22631.4602)

    Describe your issue:
    Same here. Since update to 3.1.3 nothing works on my Windows 11 PC. (Everything runs smoothly with another Windows 10 PC!)

    ALL with standard user (non-admin) Windows account.

    Repeated re-installations and Winget repairs from within the program did not help.

    UniGetUI Log:

    [19.12.2024 19:55:53] __ __ _ ______ __ __ ______
    / / / /___ () / / // / / / /
    / / / / __ / / / __/ _ / __/ / / // /
    / /
    / / / / / / /
    / / __/ /
    / // // /
    _
    // ///_/_/_/_/_/
    Welcome to UniGetUI Version 3.1.4
    [19.12.2024 19:55:53]
    [19.12.2024 19:55:53] Build 73
    [19.12.2024 19:55:53] Encoding Code Page set to 850
    [19.12.2024 19:55:55] Using built-in UniGetUI Elevator
    [19.12.2024 19:55:57] Loaded language locale: de
    [19.12.2024 19:55:57] Checking for internet connectivity. Pinging google.com, microsoft.com, couldflare.com and marticliment.com
    [19.12.2024 19:55:58] google.com responded successfully to ping, internet connection was validated.
    [19.12.2024 19:55:58] Randomly-generated background API auth token for the current session: hxb53i0qwvbw00smaqitogqdmkzbi4923bambvykd6jo614bcatlanxj57rzkgyz
    [19.12.2024 19:55:58] Api running on http://localhost:7058
    [19.12.2024 19:55:59] Lang files were updated successfully from GitHub
    [19.12.2024 19:55:59] Begin check for updates on endpoint https://www.marticliment.com/versions/unigetui/beta.ver
    [19.12.2024 19:56:00] Old chocolatey path does not exist, not migrating Chocolatey
    [19.12.2024 19:56:00] Begin "which" search for command python.exe
    [19.12.2024 19:56:00] Begin "which" search for command cargo
    [19.12.2024 19:56:00] Begin "which" search for command npm
    [19.12.2024 19:56:00] Begin "which" search for command winget.exe
    [19.12.2024 19:56:00] Begin "which" search for command vcpkg
    [19.12.2024 19:56:00] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Chocolatey
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:00] Begin "which" search for command dotnet.exe
    [19.12.2024 19:56:00] Downloaded new icons and screenshots successfully!
    [19.12.2024 19:56:00] Saving window geometry -13,-13,2906,1850,1
    [19.12.2024 19:56:00] Got response from endpoint: (73, 3.1.4, 88491C8F11D981F4259833448C1CE631B4F6D8279B69C8DF3AAB5DC3F6B6776E)
    [19.12.2024 19:56:00] Command python.exe was found on C:\Users\M\AppData\Local\Microsoft\WindowsApps\python.exe
    [19.12.2024 19:56:00] Command dotnet.exe was not found on the system
    [19.12.2024 19:56:00] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: .NET Tool
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Pip
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:01] Begin "which" search for command pwsh.exe
    [19.12.2024 19:56:01] Command npm was not found on the system
    [19.12.2024 19:56:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Npm
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:01] Command vcpkg was not found on the system
    [19.12.2024 19:56:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: vcpkg
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:01] Command cargo was not found on the system
    [19.12.2024 19:56:01] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Cargo
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:01] Command pwsh.exe was found on C:\Program Files\PowerShell\7\pwsh.exe
    [19.12.2024 19:56:02] Loaded 2 sources for manager Winget
    [19.12.2024 19:56:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Winget
    █ Enabled: True
    █ Found: True
    █ Fancy exe name: winget.exe
    █ Executable path: C:\Users\M\AppData\Local\Microsoft\WindowsApps\winget.exe
    █ Call arguments:
    █ Version:
    █ System WinGet CLI Version: v1.9.25200
    █ Using Native WinGet helper (COM Api)
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:02] Begin "which" search for command scoop
    [19.12.2024 19:56:02] Command scoop was not found on the system
    [19.12.2024 19:56:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Scoop
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:04] Loaded 1 sources for manager PowerShell
    [19.12.2024 19:56:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.22621.4391
    █ PSEdition Desktop
    █ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    █ BuildVersion 10.0.22621.4391
    █ CLRVersion 4.0.30319.42000
    █ WSManStackVersion 3.0
    █ PSRemotingProtocolVersion 2.3
    █ SerializationVersion 1.1.0.1
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:04] Loaded 1 sources for manager PowerShell7
    [19.12.2024 19:56:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [19.12.2024 19:56:04] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
    [19.12.2024 19:56:04] Manager PowerShell has not implemented RefreshPackageIndexes
    [19.12.2024 19:56:04] Manager PowerShell7 has not implemented RefreshPackageIndexes
    [19.12.2024 19:56:05] Found 0 installed packages from PowerShell7
    [19.12.2024 19:56:05] Found 0 available updates from PowerShell7
    [19.12.2024 19:56:07] Found 1 installed packages from PowerShell
    [19.12.2024 19:56:07] Cached icon for id=Microsoft.WinGet.Client is valid and won't be downloaded again (PackageVersion)
    [19.12.2024 19:56:09] Found 0 available updates from PowerShell
    [19.12.2024 19:56:13] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [19.12.2024 19:56:13] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [19.12.2024 19:56:13] Attempting to reconnec to WinGet COM Server...
    [19.12.2024 19:56:17] Error finding installed packages on manager Winget
    [19.12.2024 19:56:17] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [19.12.2024 19:56:17] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [19.12.2024 19:56:17] Attempting to reconnec to WinGet COM Server...
    [19.12.2024 19:56:17] 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 94 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
    [19.12.2024 19:56:34] Error finding updates on manager Winget
    [19.12.2024 19:56:34] 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 94 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 201

    winget list command prompt output shows at least as many installed programs as with Piggoz.

  5. marticliment commented on Dec 19, 2024

    @marticliment
    Collaborator

    This is weird, I will investigate the issue.

    Please try to enable "Use bundled WinGet instead of System WinGet" from UniGetUI Settings -> WinGet

  6. Piggoz commented on Dec 20, 2024

    @Piggoz
    Author

    Hi Marti, even if the option system say in green color: Winget is ready (Bundled Winget CLI version: Using Bundled winget helper (CLI parsing), after I enabled it from your previous advise, nothing happen. Then it STILL say at startup: Perhaps Winget doesn't work. do you want to repair it?

    There is something new: yesterday I test winget list as a administrator! If I run it as a simple user I get this:

    winget list
    Non è stato possibile aggiornare l'origine: winget
    Non è stato possibile aprire l'origine predefinita. Informare i gestori winget
    Si è verificato un errore imprevisto durante l'esecuzione del comando:
    0x80070005 : Accesso negato.

    Now, if I try to run UnigetUI as an administrator, it still don't work!

  7. Piggoz commented on Dec 20, 2024

    @Piggoz
    Author

    I can confirm the bug in another system, still windows 11 pro 24H2. After updating UnigetUI, he had FOUND the updates related with Winget, not just does related to pip. Then it installed the pip updates, but the winget updates. They all failed. After they failed, I closed UnigetUI and reopened it and from that moment IT CAN'T FIND the winget packages. The only difference with the other system is: here it don't ask to repair Winget. Winget list works in administrator mode, fail in user mode, like the other system.

    Here the new system log:

    [20/12/2024 03:41:46] __ __ _ ______ __ __ ______
    / / / /___ () / / // / / / /
    / / / / __ / / / __/ _ / __/ / / // /
    / /
    / / / / / / /
    / / __/ /
    / // // /
    _
    // ///_/_/_/_/_/
    Welcome to UniGetUI Version 3.1.4
    [20/12/2024 03:41:46]
    [20/12/2024 03:41:46] Build 73
    [20/12/2024 03:41:46] Encoding Code Page set to 850
    [20/12/2024 03:41:46] Using built-in UniGetUI Elevator
    [20/12/2024 03:41:47] Loaded language locale: it
    [20/12/2024 03:41:47] Randomly-generated background API auth token for the current session: sn0lw69ptemzpzbqmw68vie75lvful6u1q4gvhkyu7qoaf87do50ed8ubo2dwi65
    [20/12/2024 03:41:47] Api running on http://localhost:7058
    [20/12/2024 03:41:48] Lang files were updated successfully from GitHub
    [20/12/2024 03:41:48] Downloaded new icons and screenshots successfully!
    [20/12/2024 03:41:48] Command npm was not found on the system
    [20/12/2024 03:41:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Npm
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:48] Command vcpkg was not found on the system
    [20/12/2024 03:41:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: vcpkg
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:48] Command cargo was not found on the system
    [20/12/2024 03:41:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Cargo
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:48] Command pwsh.exe was not found on the system
    [20/12/2024 03:41:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: PowerShell7
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: .NET Tool
    █ Enabled: True
    █ Found: False
    █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
    █ INSTALLED OR IT HAS BEEN MISCONFIGURED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:49] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Winget
    █ Enabled: True
    █ Found: True
    █ Fancy exe name: winget.exe
    █ Executable path: C:\Users\max\AppData\Local\Microsoft\WindowsApps\winget.exe
    █ Call arguments:
    █ Version:
    █ System WinGet CLI Version: v1.9.25200
    █ Using Native WinGet helper (COM Api)
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:49] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Pip
    █ Enabled: True
    █ Found: True
    █ Fancy exe name: pip
    █ Executable path: C:\Users\max\AppData\Local\Programs\Python\Python312\python.exe
    █ Call arguments: -m pip
    █ Version:
    █ pip 24.3.1 from C:\Users\max\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:51] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Chocolatey
    █ Enabled: True
    █ Found: True
    █ Fancy exe name: choco.exe
    █ Executable path: C:\Program Files\WingetUI\choco-cli\choco.exe
    █ Call arguments:
    █ Version:
    █ 2.2.2
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:51] Command scoop was not found on the system
    [20/12/2024 03:41:51] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    █ Name: Scoop
    █ Enabled: False
    █ THE MANAGER IS DISABLED
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:52] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [20/12/2024 03:41:52] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
    [20/12/2024 03:41:53] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [20/12/2024 03:41:53] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [20/12/2024 03:41:53] Attempting to reconnec to WinGet COM Server...
    [20/12/2024 03:41:53] Dependency parse-pip-search for manager Pip is present
    [20/12/2024 03:41:54] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [20/12/2024 03:41:54] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [20/12/2024 03:41:54] Attempting to reconnec to WinGet COM Server...
    [20/12/2024 03:41:54] Error finding installed packages on manager Winget
    [20/12/2024 03:41:54] 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 101 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
    [20/12/2024 03:41:54] Found 58 installed packages from Pip
    [20/12/2024 03:41:54] Cached ocon for id=pip is INVALID (PackageVersion)
    [20/12/2024 03:41:55] Found 0 installed packages from Chocolatey
    [20/12/2024 03:41:55] Found 0 available updates from Chocolatey
    [20/12/2024 03:41:55] Error finding updates on manager Winget
    [20/12/2024 03:41:55] 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 94 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 201
    [20/12/2024 03:41:56] Found 0 installed packages from PowerShell
    [20/12/2024 03:41:56] Found 0 available updates from PowerShell
    [20/12/2024 03:42:03] Found 4 available updates from Pip
    [20/12/2024 03:42:34] Loaded operation parameters for package id=charset-normalizer on manager Pip and operation Update: install --upgrade charset-normalizer --no-input --no-color --no-python-version-warning --no-cache
    [20/12/2024 03:42:39] Loaded operation parameters for package id=pillow on manager Pip and operation Update: install --upgrade pillow --no-input --no-color --no-python-version-warning --no-cache
    [20/12/2024 03:42:45] Loaded operation parameters for package id=six on manager Pip and operation Update: install --upgrade six --no-input --no-color --no-python-version-warning --no-cache
    [20/12/2024 03:42:49] Loaded operation parameters for package id=tqdm on manager Pip and operation Update: install --upgrade tqdm --no-input --no-color --no-python-version-warning --no-cache
    [20/12/2024 03:48:46] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [20/12/2024 03:48:46] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [20/12/2024 03:48:46] Attempting to reconnec to WinGet COM Server...
    [20/12/2024 03:48:47] Error finding installed packages on manager Winget
    [20/12/2024 03:48:47] 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 101 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
    [20/12/2024 03:48:48] Found 58 installed packages from Pip
    [20/12/2024 03:48:48] Adding missing package charset-normalizer to installed packages list
    [20/12/2024 03:48:48] Adding missing package pillow to installed packages list
    [20/12/2024 03:48:48] Adding missing package six to installed packages list
    [20/12/2024 03:48:48] Adding missing package tqdm to installed packages list
    [20/12/2024 03:48:49] Found 0 installed packages from Chocolatey
    [20/12/2024 03:48:49] Found 0 installed packages from PowerShell

    Here the package manager log of the new system

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

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

    Logged native task on manager Winget. Task type is ListSources
    Process start time: 20/12/2024 03:41:49
    Process end time: 20/12/2024 03:41:49

    -- Task information
    ...

    The task reported success

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

    Logged native task on manager Winget. Task type is ListInstalledPackages
    Process start time: 20/12/2024 03:41:52
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is OtherTask
    Process start time: 20/12/2024 03:41:52
    Process end time: 20/12/2024 03:41:53

    -- Task information
    ...

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

    The task reported a failure (1)

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

    Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
    Subprocess executable: "C:\Users\max\AppData\Local\Microsoft\WindowsApps\winget.exe"
    Command-line arguments: " source update --disable-interactivity"
    Process start time: 20/12/2024 03:41:52
    Process end time: 20/12/2024 03:41:53

    -- Process STDOUT
    ...

    Return code: SUCCESS (0)

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

    Logged native task on manager Winget. Task type is ListUpdates
    Process start time: 20/12/2024 03:41:53
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is ListInstalledPackages
    Process start time: 20/12/2024 03:41:53
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is OtherTask
    Process start time: 20/12/2024 03:41:53
    Process end time: 20/12/2024 03:41:54

    -- Task information
    ...

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

    The task reported a failure (1)

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

    Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
    Subprocess executable: "C:\Users\max\AppData\Local\Microsoft\WindowsApps\winget.exe"
    Command-line arguments: " source update --disable-interactivity"
    Process start time: 20/12/2024 03:41:54
    Process end time: 20/12/2024 03:41:54

    -- Process STDOUT
    ...

    Return code: SUCCESS (0)

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

    Logged native task on manager Winget. Task type is ListUpdates
    Process start time: 20/12/2024 03:41:55
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is OtherTask
    Process start time: 20/12/2024 03:41:55
    Process end time: 20/12/2024 03:41:55

    -- 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: 20/12/2024 03:48:46
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is ListInstalledPackages
    Process start time: 20/12/2024 03:48:46
    Process end time: UNFINISHED

    The task has not finished yet

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

    Logged native task on manager Winget. Task type is OtherTask
    Process start time: 20/12/2024 03:48:46
    Process end time: 20/12/2024 03:48:47

    -- Task information
    ...

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

    The task reported a failure (1)

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

    NOW IT WANT REINSTALL WINGET TOO LIKE IN THE OTHER SYSTEM!!! and if I do reinstall, it keep asking again and again and again, exactly like in the other system.

  8. marticliment commented on Dec 20, 2024

    @marticliment
    Collaborator

    Please try to go to %TEMP% and delete the WinGet folder.

  9. Piggoz commented on Dec 20, 2024

    @Piggoz
    Author

    Hi marti, cleaned up %temp% and that helped with the winget problem asking to reinstall everytime and now it find packages. Then it is unable to install them with this error:

    Errore durante l'apertura della/e origine/i; provare il comando 'source reset' se il problema persiste.
    Si è verificato un errore imprevisto durante l'esecuzione del comando:
    0x8a15000f : Mancano i dati richiesti dall'origine

    This happen on FOUR SYSTEMS, 3 windows 11 pro 24H2 and one Windows 10.

    I can confirm NO problems with old UnigetUI version 3.1.12: refusing to update it on a 5th 24h2 windows system, and UnigetUI worked pretty fine updating 79 packages!

    So, IMHO, still badly broken 3.1.4.

  10. Piggoz commented on Dec 21, 2024

    @Piggoz
    Author

    Hi Marti, 3.1.5 doesn't change anything for me, the bug is still there. Then, in an effort to try to help, I learned the magic of Winget!

    image

  11. 227575 commented on Dec 25, 2024

    @227575

    Yes, I have the same error on my Win11

  12. ROBYER1 commented on Jan 2, 2025

    @ROBYER1

    Keeps happening for me also, UnigetUI runs fine for the first launch on an reinstall, then after system reboot UnigetUI wants to update, after an update then the Winget repair message keeps showing on each successive launch and no app updates show in UnigetUI.

  13. 52 remaining items

  14. marticliment commented on Mar 5, 2025

    @marticliment
    Collaborator

    I have been able to reproduce the issue on the VM (it wouldn't work on my PC locally due to manually changed permissions in the past, but now I have been able to revert said changes and recreate the issue locally.)

    I reckon this is more of a WinGet bug, and I have opened an issue there (see microsoft/winget-cli#5276), but I will see if I can fix this issue from UniGetUI anyways, with some sort of temp folder detection and permission restorer

  15. marticliment commented on Mar 5, 2025

    @marticliment
    Collaborator

    I have fixed this issue on d5e8d32, and I tagged the wrong issue on it.

    Once a new version is available, please enable the new WinGet troubleshooter from UniGetUI Settings. It should take care of adding permissions to the temp folder automatically.

    Image

  16. de-served commented on Mar 7, 2025

    @de-served

    Martí Climent (@marticliment) It want autoupdate itself? 2 days passed - no alert that there is an update.
    winget --upgrade didn't see that UniGetUI get updates.
    Hmm. I understand - you didn't changed version so it didn't understand that 3.1.7 was updated to 3.1.7

  17. marticliment commented on Mar 7, 2025

    @marticliment
    Collaborator

    No, the new version is not out yet

  18. marticliment commented on Mar 8, 2025

    @marticliment
    Collaborator
  19. de-served commented on Mar 9, 2025

    @de-served

    Seems OK

  20. removed this from the Bugs milestone on May 15, 2025
  21. leftdisconnected commented on Aug 21, 2025

    @leftdisconnected

    UniGetUI 3.3.1
    Windows 10 22H2

    I don't want to reopen this issue as it was fixed and my issue may have a different cause, but I now experience similar symptoms with version 3.3.1; WinGet cannot be initialized in UniGetUI, despite WinGet working just fine from the command line. UniGet then repeatedly asks to repair WinGet, which never helps.

    I tried deleting the "temp" folder, which did nothing. I have UAC disabled entirely on this machine, so all programs run in Administrator mode.

    UniGetUI was working just fine in this Administrator environment for months, however, and no known changes have occurred to the system except for Microsoft security updates. After working flawlessly for months, one day UniGetUI could no longer initialize WinGet. As WinGet is my primary package manager, this means that no updates are found and no programs are listed in UniGetUI.

    A log is below, but a relevant line appears to be:
    [8/17/2025 3:01:21 AM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.

    Full log:

    [8/17/2025 3:01:15 AM]    __  __      _ ______     __  __  ______
                             / / / /___  (_) ____/__  / /_/ / / /  _/
                            / / / / __ \/ / / __/ _ \/ __/ / / // /
                           / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                           \____/_/ /_/_/\____/\___/\__/\____/___/
                               Welcome to UniGetUI Version 3.3.1
    [8/17/2025 3:01:15 AM]
    [8/17/2025 3:01:15 AM] Build 99
    [8/17/2025 3:01:15 AM] Data directory C:\Users\rob\AppData\Local\UniGetUI
    [8/17/2025 3:01:16 AM] Encoding Code Page set to 437
    [8/17/2025 3:01:16 AM] Could not retrieve token (it may not exist): Element not found.
                           
                           Cannot get credential from Vault
    [8/17/2025 3:01:16 AM] Loaded language locale: en
    [8/17/2025 3:01:16 AM] User has disabled updates
    [8/17/2025 3:01:16 AM] Lang files were updated successfully from GitHub
    [8/17/2025 3:01:17 AM] Randomly-generated background API auth token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    [8/17/2025 3:01:17 AM] Api running on http://localhost:7058
    [8/17/2025 3:01:17 AM] Could not initialize Package Manager Chocolatey
    [8/17/2025 3:01:17 AM] Call to WhichMultiple with file pwsh.exe returned non-zero status 1
    [8/17/2025 3:01:17 AM] Command pwsh.exe was not found on the system
    [8/17/2025 3:01:17 AM] System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Users\rob\AppData\Local\UniGetUI\Chocolatey\choco.exe' with working directory 'C:\Program Files\UniGetUI'. The system cannot find the file specified.
                              at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo)
                              at UniGetUI.PackageEngine.Managers.ChocolateyManager.Chocolatey.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Chocolatey\Chocolatey.cs:line 317
                              at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 70
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file npm.ps1 returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command npm.ps1 was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: Npm
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file scoop.ps1 returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command scoop.ps1 was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: Scoop
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file cargo.exe returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command cargo.exe was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: Cargo
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: Pip
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file vcpkg.exe returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command vcpkg.exe was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: .NET Tool
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file vcpkg returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command vcpkg was not found on the system
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file pwsh.exe returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command pwsh.exe was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: PowerShell7
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: Winget
                           █ Enabled: True
                           █ Found: True
                           █ Fancy exe name: winget.exe
                           █ Executable path: C:\Users\rob\AppData\Local\Microsoft\WindowsApps\winget.exe
                           █ Call arguments: 
                           █ Version: 
                           █   System WinGet CLI Version: v1.11.430
                           █   Using Native WinGet helper (COM Api)
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:18 AM] Call to WhichMultiple with file vcpkg returned non-zero status 1
    [8/17/2025 3:01:18 AM] Command vcpkg was not found on the system
    [8/17/2025 3:01:18 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                           █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                           █ Name: vcpkg
                           █ Enabled: True
                           █ Found: False
                           █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                           █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:21 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.19041.6216                                                                          
                           █   PSEdition                      Desktop                                                                                 
                           █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                           █   BuildVersion                   10.0.19041.6216                                                                         
                           █   CLRVersion                     4.0.30319.42000                                                                         
                           █   WSManStackVersion              3.0                                                                                     
                           █   PSRemotingProtocolVersion      2.3                                                                                     
                           █   SerializationVersion           1.1.0.1
                           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    [8/17/2025 3:01:21 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
    [8/17/2025 3:01:21 AM] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [8/17/2025 3:01:21 AM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [8/17/2025 3:01:21 AM] Attempting to reconnect to WinGet COM Server...
    [8/17/2025 3:01:21 AM] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
    [8/17/2025 3:01:21 AM] Error finding installed packages on manager Winget
    [8/17/2025 3:01:21 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 240
                              at System.Threading.Tasks.Task`1.InnerInvoke()
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                           --- End of stack trace from previous location ---
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                              at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
                           --- End of stack trace from previous location ---
                              at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 150
                              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.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 120
                              at System.Threading.Tasks.Task`1.InnerInvoke()
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                           --- End of stack trace from previous location ---
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                              at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
                              --- End of inner exception stack trace ---
                              at System.Threading.Tasks.Task.Wait(Int32, CancellationToken)
                              at System.Threading.Tasks.Task.Wait(TimeSpan, CancellationToken)
                              at System.Threading.Tasks.Task.Wait(TimeSpan)
                              at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 306
    [8/17/2025 3:01:22 AM] Downloaded new icons and screenshots successfully!
    [8/17/2025 3:01:22 AM] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
    [8/17/2025 3:01:22 AM] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
    [8/17/2025 3:01:22 AM] Attempting to reconnect to WinGet COM Server...
    [8/17/2025 3:01:22 AM] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
    [8/17/2025 3:01:22 AM] Integrity check passed successfully!
    [8/17/2025 3:01:23 AM] Error finding updates on manager Winget
    [8/17/2025 3:01: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 240
                              at System.Threading.Tasks.Task`1.InnerInvoke()
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                           --- End of stack trace from previous location ---
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                              at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
                           --- End of stack trace from previous location ---
                              at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 150
                              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 155
                              at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 113
                              at System.Threading.Tasks.Task`1.InnerInvoke()
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                           --- End of stack trace from previous location ---
                              at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                              at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
                              --- End of inner exception stack trace ---
                              at System.Threading.Tasks.Task.Wait(Int32, CancellationToken)
                              at System.Threading.Tasks.Task.Wait(TimeSpan, CancellationToken)
                              at System.Threading.Tasks.Task.Wait(TimeSpan)
                              at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getAvailableUpdates(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 257
    [8/17/2025 3:01:24 AM] Found 1 installed packages from PowerShell
    [8/17/2025 3:01:24 AM] Found 1 installed packages from PowerShell
    [8/17/2025 3:01:25 AM] Found 0 available updates from PowerShell
    
  22. leftdisconnected commented on Nov 26, 2025

    @leftdisconnected

    UniGetUI 3.3.6
    Windows 10 22H2

    Issue resolved?

    Uninstalled 3.3.1 and prerequisite Microsoft packages. Then installed version 3.3.6, allowing it to reinstall prerequisites on its own, and the issue seems resolved . Has been working properly for a few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugready-to-gowinget

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions