Open cmdshft opened 3 weeks ago
When saying randomly, you mean always or 1 out of X times?
When saying randomly, you mean always or 1 out of X times?
I cannot reproduce it manually, it just happens. It could happen 0 of 5 times, or 3 of 5 times.
When UniGetUI reports WinGet needs to be repaired, if you refresh the "Installed Packages" page do your WinGet packages appear there?
When UniGetUI reports WinGet needs to be repaired, if you refresh the "Installed Packages" page do your WinGet packages appear there?
I don't know to be honest, when this happened I was always in the Software Updates tab. I didn't think to check the first tab (this is because I run UniGetUI in the background and only ever open it in that tab).
When this issue happens again, attempt to reload all software pages without repairing winget, and let me know if you see less packages
Same issue here. W10 system. Used repair for winget when asked for but after restart of wingetui again "WinGet malfunction detected" appears. The only installed package left is Microsoft.WinGet,Client (1.9.25190), nothing else. Every time I restart the repair option is shown.
What is the output of running winget list
on a command prompt?
That gives me the full list Log file shows
[02/11/2024 15:53:24] Error finding installed packages on manager Winget [02/11/2024 15:53:24] 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(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 211 at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 176 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102 at System.Threading.Tasks.Task 1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait(TimeSpan timeout) at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetInstalledPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 228
Maybe this causes an issue when running winget from within UniGetUI:
C:\>winget list
The msstore source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes [N] No:
I have to acknowledge that each time winget is being run.
Every single time you run winget list
you are requested to accept the msstore agreements? Or only after attempting to repair WinGet from UniGetUI?
I haven't had that issue, but when I too tried to update Microsoft.WinGet,Client (1.9.25190) via UniGetUI, it would fail and then I would try the command manually in CLI and I had to agree, but then that also failed too (something about -Scope not working). But that's a different issue than the bug(?) I reported.
This is a different bug, and is being tracked here: https://github.com/marticliment/UniGetUI/issues/2814
I also have this issue. W11 / v3.1.3. Repair notice keeps popping up directly after startup or after repair & restart is completed successfully.
My winget list works fine in powershell, showing everything I have installed. No agreement term question.
Here's my UniGetUI log:
[2024-11-07 10:09:01] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 3.1.3
[2024-11-07 10:09:01]
[2024-11-07 10:09:01] Version Code: 3,13001
[2024-11-07 10:09:01] Encoding Code Page set to 850
[2024-11-07 10:09:01] Using bundled GSudo at C:\Users\a421046\AppData\Local\Programs\UniGetUI\Assets\Utilities\gsudo.exe
[2024-11-07 10:09:01] Loaded language locale: en
[2024-11-07 10:09:01] Randomly-generated background API auth token for the current session: lry2a79wkftvziyk03jz1p4htxpef1hplg989scx4qf30jxcy0ckfg317smszx2z
[2024-11-07 10:09:01] Api running on http://localhost:7058
[2024-11-07 10:09:01] Lang files were updated successfully from GitHub
[2024-11-07 10:09:02] Downloaded new icons and screenshots successfully!
[2024-11-07 10:09:02] Command pwsh.exe was not found on the system
[2024-11-07 10:09:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell7
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:02] Command cargo was not found on the system
[2024-11-07 10:09:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Cargo
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: .NET Tool
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:02] UniGetUI is up to date
[2024-11-07 10:09:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: True
█ Fancy exe name: winget.exe
█ Executable path: C:\Users\a421046\AppData\Local\Microsoft\WindowsApps\winget.exe
█ Call arguments:
█ Version:
█ System WinGet CLI Version: v1.9.25180
█ Using Native WinGet helper (COM Api)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip
█ Enabled: True
█ Found: True
█ Fancy exe name: pip
█ Executable path: C:\Users\a421046\AppData\Local\Programs\Python\Python310\python.exe
█ Call arguments: -m pip
█ Version:
█ pip 22.0.4 from C:\Users\a421046\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:04] Command scoop was not found on the system
[2024-11-07 10:09:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Scoop
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey
█ Enabled: True
█ Found: True
█ Fancy exe name: choco.exe
█ Executable path: C:\Users\a421046\AppData\Local\UniGetUI\Chocolatey\choco.exe
█ Call arguments:
█ Version:
█ 2.2.2
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:05] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm
█ Enabled: True
█ Found: True
█ Fancy exe name: npm
█ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█ Call arguments: -NoProfile -ExecutionPolicy Bypass -Command npm
█ Version:
█ 8.11.0
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.4249
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.22621.4249
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-11-07 10:09:07] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2024-11-07 10:09:07] Error finding installed packages on manager Winget
[2024-11-07 10:09:07] 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(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 211
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 176
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 102
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetInstalledPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 228
[2024-11-07 10:09:08] Found 8 installed packages from Pip
[2024-11-07 10:09:08] Error finding updates on manager Winget
[2024-11-07 10:09:08] 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(INativeTaskLogger logger) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 211
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe(WinGet Manager) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers\NativeWinGetHelper.cs:line 156
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 95
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 197
[2024-11-07 10:09:08] Ignored updates database was never loaded, so it is going to be loaded now
[2024-11-07 10:09:09] Found 0 installed packages from Chocolatey
[2024-11-07 10:09:09] Found 0 available updates from Chocolatey
[2024-11-07 10:09:11] Found 4 available updates from Pip
[2024-11-07 10:09:11] Found 1 installed packages from PowerShell
[2024-11-07 10:09:13] Found 2 installed packages from Npm
[2024-11-07 10:09:14] Found 1 available updates from Npm
[2024-11-07 10:09:14] Found 0 available updates from PowerShell
Think it's related: This message appears all the time, and the fix doesn't fix it!
I have the same issue.
My winget
works fine from the CLI (v1.9.25180
) (both from PowerShell Core and Windows PowerShell), nothing seems to be broken.
Ok, I just ran winget list
from the CLI to confirm it works and show the output here, and I noticed that recently updated winget shows this prompt:
"The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US"). Do you agree to all the source agreements terms?
[Y] Yes [N] No: "
and waits for input. After I agreed to the terms, and ran UniGetUI scan for updates again - it worked. So probably UniGetUI should handle such "interactive scenarios" and use corresponding switches or API parameters when invoking external utilities.
Having the same issue. I got this notice around 5-8 times already. I uninstalled Winget (not WingetUI/UniGet) and then installed it again, but some days later the notice popped up again.
This is the message
Same here. Installed today. UniGetUI showed available updates. I uninstalled some programs, ignored other ones, updated one or two. Then after a while (no idea what might have caused this) got an error on updating a program (didn't save the error message, something about "access denied" and "store reset"), so first reaction is to restart. I was then greeted by the repair message (and the list of updates was now empty, despite there are still updates available), tried that, restarted, but the repair message shows up again and again.
PS C:\WINDOWS\system32> winget list
Die Quelle "msstore" erfordert, dass Sie die folgenden Vereinbarungen vor der Verwendung anzeigen.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Die Quelle erfordert, dass die geografische Region des aktuellen Computers aus 2 Buchstaben an den Back-End-Dienst gesendet wird, damit er ordnungsgemäß funktioniert (z. B. „US“).
Stimmen Sie allen Nutzungsbedingungen der Quelle zu?
[Y] Ja [N] Nein: y
Fehler beim Durchsuchen der Quelle. Ergebnisse werden nicht einbezogen: winget
Name ID Version
--------------------------------------------------------------------------------------------------------------------------------------------------------
yEd Graph Editor 3.23.2 ARP\Machine\X64\3309-7404-0599-8908 3.23.2
Reolink 8.15.7 ARP\Machine\X64\3e633401-0468-5835-935c-33d2b4b2a764 8.15.7
...
Second run:
PS C:\WINDOWS\system32> winget list
Fehler beim Durchsuchen der Quelle. Ergebnisse werden nicht einbezogen: winget
Name ID Version
--------------------------------------------------------------------------------------------------------------------------------------------------------
...
Translates to "Error on scanning the source. Results are ignored: winget"
Tried the solution from https://forums.tomshardware.com/threads/first-unigetui-breaks-so-i-try-winget-command-line-tool-instead-but-that-breaks-as-well.3853568. Didn't work.
For me, it seems to happen every reboot of my machine.
Edit: I think it happens, if unigetui starts, before the machine has an internet connection
Please confirm these before moving forward
UniGetUI Version
3.1.3
Windows version, edition, and architecture
Win 11 Pro 22631.4391
Describe your issue
When starting UniGetUI, it reports that Winget is broken and needs repair. Repair runs successfully, but then randomly when running UniGetUI, it's reported as broken again for an unknown reason.
Steps to reproduce the issue
Start UniGetUI and it randomly breaks Winget
UniGetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos