marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
13.05k stars 449 forks source link

[BUG] (Hugo update error) #2656

Closed dodedov closed 2 months ago

dodedov commented 2 months ago

Please confirm these before moving forward

UniGetUI Version

3.1.1

Windows version, edition, and architecture

Windows 11 Pro 22631.4037

Describe your issue

Installed Hugo from WinGet. I'm trying to upgrade to a new version, error: No installed packages were found that matched the conditions entered.

Steps to reproduce the issue

No response

UniGetUI Log

[23.08.2024 10:24:18]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.1
[23.08.2024 10:24:18]
[23.08.2024 10:24:18] Version Code:  3,11
[23.08.2024 10:24:18] Encoding Code Page set to 866
[23.08.2024 10:24:19] Using bundled GSudo at C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
[23.08.2024 10:24:20] Loaded language locale: ru
[23.08.2024 10:24:20] Randomly-generated background API auth token for the current session: yhjo7pxqkrpgctj8fthtcmeloehmz3ddom9oga44i5eul5458ei0pwyu4bj2qkbh
[23.08.2024 10:24:21] Api running on http://localhost:7058
[23.08.2024 10:24:21] Lang files were updated successfully from GitHub
[23.08.2024 10:24:21] UniGetUI is up to date
[23.08.2024 10:24:21] Downloaded new icons and screenshots successfully!
[23.08.2024 10:24:21] Command pwsh.exe was not found on the system
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] Command scoop was not found on the system
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\...\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.8.1911
                      █   Microsoft.WinGet.Client PSModule version: ""
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[23.08.2024 10:24:22] Dependency WinGet PowerShell Module for manager Winget is present
[23.08.2024 10:24:22] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[23.08.2024 10:24:27] Found 170 installed packages from Winget
[23.08.2024 10:24:27] Found 5 available updates from Winget
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package Mozilla.Firefox.DeveloperEdition was not found, returning default icon
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package Hugo.Hugo.Extended was not found, returning default icon
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=TheDocumentFoundation.LibreOffice
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.EdgeWebView2Runtime
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package OpenJS.NodeJS.LTS was not found, returning default icon
[23.08.2024 10:26:54] Icon for package TheDocumentFoundation.LibreOffice stored on C:\Users\...\AppData\Local\UniGetUI\CachedMedia\Winget\TheDocumentFoundation.LibreOffice.png
[23.08.2024 10:26:54] Icon for package Microsoft.EdgeWebView2Runtime stored on C:\Users\...\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.EdgeWebView2Runtime.png
[23.08.2024 10:32:22] Update
[23.08.2024 10:32:22] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:32:22] Icon for package Hugo.Hugo.Extended was not found, returning default icon
[23.08.2024 10:32:22] Found 0 screenshots for package Id=Hugo.Hugo.Extended
[23.08.2024 10:32:26] Loaded details for package Hugo.Hugo.Extended on manager Winget
[23.08.2024 10:32:59] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:32:59] Icon for package Hugo.Hugo.Extended was not found, returning default icon

Package Managers Logs

Starting package update operation for package id=Hugo.Hugo.Extended with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=True;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
Process Call Arguments : "C:\Users\...\AppData\Local\Microsoft\WindowsApps\winget.exe"  update --id "Hugo.Hugo.Extended" --exact --source winget --accept-source-agreements --interactive  --accept-package-agreements --force --include-unknown
Working Directory      : C:\Users\...
    |    - 
    | No installed packages were found that matched the conditions entered.
Process Exit Code      : -1978335212
Process End Time       : 23.08.2024 10:33:01

Relevant information

No response

Screenshots and videos

No response

marticliment commented 2 months ago

I am afraid this issue is caused by WinGet, and not UniGetUI. See that WinGet is failing to detect the package