Skip to content

After update to 3.1.0 all winget updates fail #2426

@VOOM108

Description

@VOOM108

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.0

Windows version, edition, and architecture

Win 11 Pro Build 22631.3810

Describe your issue

I get this kind of error message for any winget package that wants to update since the update to unigetui 3.1.0:

image

Steps to reproduce the issue

No response

UniGetUI Log

[04.07.2024 13:04:02] 
                         __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /  
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                      \____/_/ /_/_/\____/\___/\__/\____/___/   
                          Welcome to UniGetUI Version 3.1.0
[04.07.2024 13:04:02]
[04.07.2024 13:04:02] Version Code:  3,1
[04.07.2024 13:04:02] Using bundled GSudo at C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
[04.07.2024 13:04:02] Loaded language locale: de
[04.07.2024 13:04:02] Randomly-generated background API auth token for the current session: j4zk6fvaq9rtqy2ugg1emcd3gblu8n3wfsmhhp5d6ckj698jcratykr55zgi3myu
[04.07.2024 13:04:03] Api running on http://localhost:7058
[04.07.2024 13:04:03] Moving Bundled Chocolatey from old path to new path...
[04.07.2024 13:04:03] An error occurred while migrating chocolatey
[04.07.2024 13:04:03] System.ArgumentException: The path is empty. (Parameter 'relativeTo')
                         at System.IO.Path.GetRelativePath(String relativeTo, String path, StringComparison comparisonType)
                         at UniGetUI.PackageEngine.Managers.ChocolateyManager.Chocolatey.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Chocolatey\Chocolatey.cs:line 278
[04.07.2024 13:04:03] Lang files were updated successfully from GitHub
[04.07.2024 13:04:03] The restored geometry did not have exactly 5 items (found length was 1)
[04.07.2024 13:04:03] Downloaded new icons and screenshots successfully!
[04.07.2024 13:04:03] UniGetUI is up to date
[04.07.2024 13:04:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:03] Command scoop was not found on the system
[04.07.2024 13:04:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: winget.exe
                      █ Executable path: C:\Users\Giesen\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   Naive WinGet CLI Version: v1.8.1791
                      █   Microsoft.WinGet.Client PSModule version: 
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancye 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.3810                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.22621.3810                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 13:04:06] Resetting administrator rights cache for process id 33912
[04.07.2024 13:04:07] Dependency WinGet PowerShell Module for manager Winget is present
[04.07.2024 13:04:07] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[04.07.2024 13:04:09] Found 3 installed packages from PowerShell
[04.07.2024 13:04:12] Found 2 available updates from PowerShell
[04.07.2024 13:04:19] Found 27 available updates from Winget
[04.07.2024 13:04:19] Found 540 installed packages from Winget
[04.07.2024 13:04:21] Backup saved to E:\OneDrive\Anwendungen\WingetUI Sicherungen\NEO installierte Pakete 2024-07-04 13-04-21.json
[04.07.2024 13:04:47] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 13:04:47] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Tyrrrz.LightBulb
[04.07.2024 13:04:47] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 13:04:47] Icon for package Microsoft.VCRedist.2015+.x86 was not found, returning default icon
[04.07.2024 13:04:47] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 13:04:47] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerToys
[04.07.2024 13:04:47] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 13:04:47] Icon for package Zoom.Zoom.EXE was not found, returning default icon
[04.07.2024 13:04:48] Icon for package Microsoft.PowerToys stored on C:\Users\Giesen\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerToys.png
[04.07.2024 13:04:48] Caching admin rights for process id 33912
[04.07.2024 13:04:48] An error occurred while retrieving the icon for package Tyrrrz.LightBulb
[04.07.2024 13:04:48] System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
                         at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
                         at UniGetUI.Core.IconEngine.IconCacheEngine.DownloadIconOrCache(Nullable`1 _icon, String ManagerName, String PackageId) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.IconStore\IconCacheEngine.cs:line 166
                         at UniGetUI.PackageEngine.PackageClasses.Package.GetIconUrl() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Packages\Package.cs:line 199
[04.07.2024 13:04:48] Caching admin rights for process id 33912
[04.07.2024 13:04:48] Caching admin rights for process id 33912
[04.07.2024 13:04:49] Caching admin rights for process id 33912
[04.07.2024 14:04:03] UniGetUI is up to date
[04.07.2024 14:04:25] Found 2 available updates from PowerShell
[04.07.2024 14:04:31] Found 27 available updates from Winget
[04.07.2024 15:04:04] UniGetUI is up to date
[04.07.2024 15:04:37] Found 2 available updates from PowerShell
[04.07.2024 15:04:43] Found 27 available updates from Winget
[04.07.2024 15:04:50] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 15:04:50] Icon for package Microsoft.VCRedist.2015+.x86 was not found, returning default icon
[04.07.2024 15:04:50] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 15:04:50] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Tyrrrz.LightBulb
[04.07.2024 15:04:50] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 15:04:50] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerToys
[04.07.2024 15:04:50] Icon for package Microsoft.PowerToys stored on C:\Users\Giesen\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerToys.png
[04.07.2024 15:04:50] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[04.07.2024 15:04:50] Icon for package Zoom.Zoom.EXE was not found, returning default icon
[04.07.2024 15:04:50] Caching admin rights for process id 33912
[04.07.2024 15:04:50] An error occurred while retrieving the icon for package Tyrrrz.LightBulb
[04.07.2024 15:04:50] System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
                         at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
                         at UniGetUI.Core.IconEngine.IconCacheEngine.DownloadIconOrCache(Nullable`1 _icon, String ManagerName, String PackageId) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.IconStore\IconCacheEngine.cs:line 166
                         at UniGetUI.PackageEngine.PackageClasses.Package.GetIconUrl() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Packages\Package.cs:line 199
[04.07.2024 15:04:50] Caching admin rights for process id 33912
[04.07.2024 15:04:51] Caching admin rights for process id 33912
[04.07.2024 15:04:51] Caching admin rights for process id 33912
[04.07.2024 15:05:47] Caching admin rights for process id 33912
[04.07.2024 15:05:47] Found 3 installed packages from PowerShell
[04.07.2024 15:05:57] Found 540 installed packages from Winget
[04.07.2024 15:12:30] Found 3 installed packages from PowerShell
[04.07.2024 15:12:38] Found 540 installed packages from Winget

Package Managers Logs

Manager Winget with version:
Naive WinGet CLI Version: v1.8.1791
Microsoft.WinGet.Client PSModule version: 
Using Native WinGet helper (COM Api)

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 04.07.2024 13:04:04
Process end time:   04.07.2024 13:04:04

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Giesen\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04.07.2024 13:04:06
Process end time:   04.07.2024 13:04:06

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 13:04:06
Process end time:   04.07.2024 13:04:19

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 04.07.2024 13:04:06
Process end time:   04.07.2024 13:04:06

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 13:04:06
Process end time:   04.07.2024 13:04:19

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Giesen\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04.07.2024 14:04:19
Process end time:   04.07.2024 14:04:20

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 14:04:20
Process end time:   04.07.2024 14:04:31

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Giesen\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04.07.2024 15:04:31
Process end time:   04.07.2024 15:04:32

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 15:04:32
Process end time:   04.07.2024 15:04:43

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 15:05:45
Process end time:   04.07.2024 15:05:57

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04.07.2024 15:12:27
Process end time:   04.07.2024 15:12:38

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : Die Benennung "Write-Output" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei 
  oder eines ausf�hrbaren Programms erkannt. �berpr�fen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist 
  (sofern enthalten), und wiederholen Sie den Vorgang.
  In Zeile:1 Zeichen:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
   

Return code: SUCCESS (0)

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

Relevant information

No response

Screenshots and videos

image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions