Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
Piggoz opened this issue Dec 18, 2024 · 14 comments
Assignees
Labels
bug Something isn't working needs-author-answer
Milestone

Comments

@Piggoz
Copy link

Piggoz commented Dec 18, 2024

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

@Piggoz Piggoz added the bug Something isn't working label Dec 18, 2024
@marticliment
Copy link
Owner

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

@marticliment marticliment added this to the Bugs milestone Dec 18, 2024
@Piggoz
Copy link
Author

Piggoz commented Dec 19, 2024

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.

@In139
Copy link

In139 commented Dec 19, 2024

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.

@marticliment
Copy link
Owner

This is weird, I will investigate the issue.

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

@Piggoz
Copy link
Author

Piggoz commented Dec 20, 2024

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!

@Piggoz
Copy link
Author

Piggoz commented Dec 20, 2024

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.

@marticliment
Copy link
Owner

marticliment commented Dec 20, 2024

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

@Piggoz
Copy link
Author

Piggoz commented Dec 20, 2024

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.

@Piggoz
Copy link
Author

Piggoz commented Dec 21, 2024

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

@227575
Copy link

227575 commented Dec 25, 2024

Yes, I have the same error on my Win11

@ROBYER1
Copy link

ROBYER1 commented Jan 2, 2025

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.

@Piggoz
Copy link
Author

Piggoz commented Jan 2, 2025

I didn’t say nothing anymore becouse I was wondering it was just me with this bug. Then it was impossible: In this days I had access to three new real machines, two with win11 and one with win10 and they all act weird like in the subject of this bug report.

So now I keep this on a total of ten real machines (didn’t try virtual) and what was a fantastic helper to update programs is now useless for Winget and I do have problems on Choco too.

Remaining on winget bug, on the ‘new’ three machines the sequence to get the bug is exactly the one described by another user. Considering I’m a long time user of UnigetUI (started when it still was wingetUI) those three machines new for the bug all had 3.1.3 installed. When I launched UnigetUI for the first time, I was offered to upgrade from 3.1.3 to 3.16. I firmly said no, 3.1.3 found all the updates and installed them with no glitch (but a pair, exactly XYPlorer and found an update not update for Geekbanch).

just for testing purposes I closed UnigetUI, launched again, offered the upgrade to 3.16, did it and it started to act weird again asking to upgrade what he call screeed winget and from that moment not founding anything and obviously not installing uodates anymore.

THIS HAPPEN ON NINE MACHINES!

The ten one, the one with I originally reported the bug, fixed hisself , I don’t lnow how, then one day 3.16 started doing his job. It was lying in the traybar and found some updates. Did nothing and fron that moment still works and not report not exiatant winget problem.

Lucky, this problem had me to learn winget, so now I update my Winget apps manually and this even have some advantage if, like me, run the program on an elevated powershell or cmd (no ask for confirmation).

on one machine I also learned choco becouse I had two apps to update and for me UnigetUI have problem with it too (doesn’t find the choco path in progeamdata then this is another story).

I didn’t report anything becouse the winget logs are very similar to the one reported when I first reported the bug.

@In139
Copy link

In139 commented Jan 2, 2025

The same thing is now happening to me on my Windows 10 PC (in addition to my Windows 11 PC listed above: #3087 (comment)).
System: Windows 10 21H2 Build 10.0.19044.5247 x64
UniGetUI 3.1.5

Updates are now no longer found here either.

Error messages in logs:
User does not have WinGet installed, forcing bundled WinGet...
Return code: FAILED (-1978335231)

The repair prompt is now constantly appearing. However, the repair does not help - PowerShell always outputs the following:

Error_PowerShell

@marticliment
Copy link
Owner

@Piggoz, there is clearly a hidden pattern here. I have done lots of tests, but I haven't been able to reproduce the issue. However, on your environment, it seems to be quite reproducible. I need you to provide as much details as possible about the environments on which you are running UniGetUI (how many users? are they admin? any special network settings? Windows edition? is it entreprise-managed? How is being UniGetUI used? Are you using any special settings on UniGetUI? etc.), so I can figure out what is going wrong and finally fix it once and for all.

If you wish, for privacy, you may send said details privately by email to me. You can find my email on my GitHub profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-author-answer
Projects
None yet
Development

No branches or pull requests

5 participants