Devolutions / Devolutions/UniGetUI

[BUG] Update x64 package over x86 package

Open
#3,653 1 comment 0 reactions 1 assignee Claimed by @marticliment View on GitHub
bug needs-author-answer
Dominant language
C#
Stars
26.1k
Forks
924
Avg merge
15h 52m
Merged PRs (30d)
52

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://github.com/marticliment/WingetUI/releases/).
- [x] I have checked the [FAQ](https://github.com/marticliment/WingetUI#frequently-asked-questions) section for solutions.
- [x] This issue is about a bug (if it is not, please use the [correct template](https://github.com/marticliment/WingetUI/issues/new/choose)).

### UniGetUI Version

3.1.8

### Windows version, edition, and architecture

Windows 11 Home 10.0.26100 Build 26100.3775 x64

### Describe your issue

When updating a package that was previously installed with an x86 version (such as `Vromans.ChordPro 5.990.0.1.0` in `C:\Program Files (x86)\ChordPro.ORG\ChordPro`) UniGetUI install x64 version (such as `Vromans.ChordPro 6.70.0.1.0` in `C:\Program Files\ChordPro.ORG\ChordPro`) without remove the installed old x86 version.

Also, the GUI entry is updated with mixed information (the `Vromans.ChordPro 5.990.0.1.0` disappeared from **Software Updates**, but the `Vromans.ChordPro 6.70.0.1.0` appeared in **Installed Packages** with ***update available (blue arrow up)*** icon. And inside details dialog showed `winget.exe uninstall --id "Vromans.ChordPro" --exact --source winget --accept-source-agreements --disable-interactivity --version "6.70.0.1.0" --interactive` as **Uninstall** command, but also showed **Update to version 6.70.7.2** in drop-down menu, and **Installed Version 5.990.0.1.0** still shown under **Package ID**

### Steps to reproduce the issue

Manual install an old x86 version package. Then let UniGuiUI update that package with the latest x64 version.

### UniGetUI Log

```text
[2025-05-09 20:40:04] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 3.1.8
[2025-05-09 20:40:04]
[2025-05-09 20:40:04] Build 84
[2025-05-09 20:40:04] Data directory C:\Users\julth\AppData\Local\UniGetUI
[2025-05-09 20:40:04] Encoding Code Page set to 437
[2025-05-09 20:40:04] Using built-in UniGetUI Elevator
[2025-05-09 20:40:05] Loaded language locale: en
[2025-05-09 20:40:05] User has disabled updates
[2025-05-09 20:40:06] Randomly-generated background API auth token for the current session: ys1xiui7ddzz9nfwb8ahtvwpcjceq54wss28q7k1kk210eeesf8cupqkv5yiqo6j
[2025-05-09 20:40:06] Api running on http://localhost:7058
[2025-05-09 20:40:06] Lang files were updated successfully from GitHub
[2025-05-09 20:40:07] Command npm was not found on the system
[2025-05-09 20:40:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:07] Command cargo was not found on the system
[2025-05-09 20:40:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Cargo
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:08] Command vcpkg was not found on the system
[2025-05-09 20:40:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: .NET Tool
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:08] Downloaded new icons and screenshots successfully!
[2025-05-09 20:40:09] Command vcpkg was not found on the system
[2025-05-09 20:40:09] Command pwsh.exe was not found on the system
[2025-05-09 20:40:09] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell7
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:10] Command vcpkg was not found on the system
[2025-05-09 20:40:10] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: vcpkg
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:11] Command scoop was not found on the system
[2025-05-09 20:40:11] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Scoop
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
█ INSTALLED OR IT HAS BEEN MISCONFIGURED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:11] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: True
█ Fancy exe name: winget.exe
█ Executable path: C:\Users\julth\AppData\Local\Microsoft\WindowsApps\winget.exe
█ Call arguments:
█ Version:
█ System WinGet CLI Version: v1.10.390
█ Using Native WinGet helper (COM Api)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:18] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey
█ Enabled: True
█ Found: True
█ Fancy exe name: choco.exe
█ Executable path: C:\ProgramData\chocolatey\bin\choco.exe
█ Call arguments:
█ Version:
█ 2.4.3
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:25] PowerShell sources took too long to load, using known sources as default
[2025-05-09 20:40:25] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.3624
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.3624
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-05-09 20:40:25] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2025-05-09 20:40:36] Found 19 installed packages from Chocolatey
[2025-05-09 20:40:38] Found 0 available updates from Chocolatey
[2025-05-09 20:40:44] WinGet package alexx2000.DoubleCommander not being shown as an updated as this version has already been marked as installed
[2025-05-09 20:40:47] WinGet package Vromans.ChordPro not being shown as an updated as this version has already been marked as installed
[2025-05-09 20:40:56] Found 34 available updates from Winget
[2025-05-09 20:40:56] Found 399 installed packages from Winget
[2025-05-09 20:41:25] Manager PowerShell 5.x failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
[2025-05-09 20:41:25] Since this was the first attempt, PowerShell.AttemptFastRepair() will be called and the procedure will be restarted
[2025-05-09 20:41:25] Manager PowerShell 5.x failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
[2025-05-09 20:41:25] Since this was the first attempt, PowerShell.AttemptFastRepair() will be called and the procedure will be restarted
[2025-05-09 20:41:25] Manager PowerShell 5.x failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
[2025-05-09 20:41:25] Since this was the first attempt, PowerShell.AttemptFastRepair() will be called and the procedure will be restarted
[2025-05-09 20:42:25] Error finding updates on manager PowerShell
[2025-05-09 20:42:25] Error finding installed packages on manager PowerShell
[2025-05-09 20:42:25] Error finding installed packages on manager PowerShell
[2025-05-09 20:42:26] System.TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[2025-05-09 20:42:26] System.TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[2025-05-09 20:42:26] System.TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting. You may disable timeouts from UniGetUI Advanced Settings
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getAvailableUpdates(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 206
```

### Package Managers Logs

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

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 2025-05-09 20:40:11
Process end time: 2025-05-09 20:40:11

-- Task information
...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2025-05-09 20:40:25
Process end time: 2025-05-09 20:40:56

-- Task information
...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\julth\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2025-05-09 20:40:25
Process end time: 2025-05-09 20:40:27

-- Process STDOUT
...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2025-05-09 20:40:25
Process end time: 2025-05-09 20:40:43

-- Task information
...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2025-05-09 20:40:27
Process end time: 2025-05-09 20:40:56

-- Task information
...

The task reported success

——————————————————————————————————————————
```

### Relevant information

_No response_

### Screenshots and videos

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.