Devolutions / Devolutions/UniGetUI

[BUG] Can't upgrade WinGet packages that provide a CLI alias on v3.3.7

Open
#4,366 15 comments 5 reactions 1 assignee Claimed by @marticliment View on GitHub
bug important ready-to-go
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.3.7-beta1

### Windows version, edition, and architecture

Windows 11 x64 25H2 build 26220.7670

### Describe your issue

Upgrading any WinGet-installed package that exposes a CLI alias will fail with the error `weakly_canonical: The path cannot be traversed because it contains an untrusted mount point.`
Upgrading the same package in a terminal will work

### Steps to reproduce the issue

1. `winget install astral-sh.ty -v 0.0.13`
2. Open UniGetUI
3. Try to upgrade it
4. Errors out
5. Try to upgrade in a shell
6. Works

### UniGetUI Log

```text
[28/01/2026 16:52:56] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 3.3.7-beta1
[28/01/2026 16:52:56]
[28/01/2026 16:52:56] Build 105
[28/01/2026 16:52:56] Data directory C:\Users\EDM115\AppData\Local\UniGetUI
[28/01/2026 16:52:56] Encoding Code Page set to 65001
[28/01/2026 16:52:56] Loaded language locale: en
[28/01/2026 16:52:56] Lang files were updated successfully from GitHub
[28/01/2026 16:52:57] Scoop is not enabled
[28/01/2026 16:52:57] vcpkg is not enabled
[28/01/2026 16:52:57] Chocolatey is not enabled
[28/01/2026 16:52:57] Randomly-generated background API auth token: 08rl0st70v1f5h5k7iqgpg593481aadckl85fbautv90verdbwob5dznsm4fihg8
[28/01/2026 16:52:57] Api running on http://localhost:7058
[28/01/2026 16:52:57] Call to WhichMultiple with file npm.cmd returned non-zero status 1
[28/01/2026 16:52:57] Command npm.cmd was not found on the system
[28/01/2026 16:52:57] Npm is enabled but was not found on the system!
[28/01/2026 16:52:57] PowerShell is enabled and was found on C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
[28/01/2026 16:52:57] Pip is enabled and was found on D:\EDM115\Programmes\Python312\python.exe
[28/01/2026 16:52:57] Call to WhichMultiple with file cargo.exe returned non-zero status 1
[28/01/2026 16:52:57] Command cargo.exe was not found on the system
[28/01/2026 16:52:57] Cargo is enabled but was not found on the system!
[28/01/2026 16:52:57] PowerShell7 is enabled and was found on C:\Program Files\PowerShell\7\pwsh.exe
[28/01/2026 16:52:57] Winget is enabled and was found on C:\Users\EDM115\AppData\Local\Microsoft\WindowsApps\winget.exe
[28/01/2026 16:52:57] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\EDM115\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.12.460
█ Using Native WinGet helper (COM Api)

█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28/01/2026 16:52:57] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 7.x (aka PowerShell7)
█ Executable name: "pwsh.exe"
█ Executable path: "C:\Program Files\PowerShell\7\pwsh.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: PowerShell 7.5.4

█ PowerShell 7.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28/01/2026 16:52:58] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 5.x (aka PowerShell)
█ Executable name: "powershell.exe"
█ Executable path: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: Name Value
█ ---- -----
█ PSVersion 5.1.26100.7670
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.7670
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1

█ PowerShell 5.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28/01/2026 16:53:02] .NET Tool is enabled and was found on C:\Program Files\dotnet\dotnet.exe
[28/01/2026 16:53:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: .NET Tool (aka .NET Tool)
█ Executable name: "dotnet tool"
█ Executable path: "C:\Program Files\dotnet\dotnet.exe"
█ Call arguments: "tool "
█ Version: 6.0.428

█ .NET Tool is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28/01/2026 16:53:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip (aka Pip)
█ Executable name: "pip"
█ Executable path: "D:\EDM115\Programmes\Python312\python.exe"
█ Call arguments: "-m pip "
█ Version: pip 25.3 from D:\EDM115\Programmes\Python312\Lib\site-packages\pip (python 3.12)

█ Pip is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28/01/2026 16:53:06] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[28/01/2026 16:53:07] Downloaded new icons and screenshots successfully!
[28/01/2026 16:53:07] Integrity check passed successfully!
[28/01/2026 16:53:08] Found 20 installed packages from PowerShell7
[28/01/2026 16:53:08] Found 20 installed packages from PowerShell7
[28/01/2026 16:53:09] Found 2 available updates from PowerShell7
[28/01/2026 16:53:11] Icon download attempt at https://github.com/devblackops/Terminal-Icons/raw/master/media/icon_256.png failed with code NotFound
[28/01/2026 16:53:14] Found 1 installed packages from .NET Tool
[28/01/2026 16:53:14] Found 1 installed packages from .NET Tool
[28/01/2026 16:53:14] Found 1 available updates from .NET Tool
[28/01/2026 16:53:17] Found 5 installed packages from PowerShell
[28/01/2026 16:53:17] Found 5 installed packages from PowerShell
[28/01/2026 16:53:19] Found 0 available updates from PowerShell
[28/01/2026 16:53:23] Found 370 installed packages from Winget
[28/01/2026 16:53:24] Found 27 available updates from Winget
[28/01/2026 16:53:24] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/The_GIMP_icon_-_gnome.svg/316px-The_GIMP_icon_-_gnome.svg.png failed with code TooManyRequests
[28/01/2026 16:53:24] Unknown mimetype image/jpeg for icon https://img.utdstc.com/icon/aab/566/aab566ff80c739e8a4d06f1fee8f87fb93c845c92d05751d2e372bde3eb26480:200, aborting download
[28/01/2026 16:53:25] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Microsoft_Office_logo_%282019–present%29.svg/640px-Microsoft_Office_logo_%282019–present%29.svg.png failed with code NotFound
[28/01/2026 16:53:26] Unknown mimetype text/html; charset=UTF-8 for icon https://postimg.cc/2LQGvMgm, aborting download
[28/01/2026 16:53:26] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Python_Windows_setup_icon_2016.svg/512px-Python_Windows_setup_icon_2016.svg.png failed with code TooManyRequests
[28/01/2026 16:53:27] Icon download attempt at https://community.chocolatey.org/content/packageimages/scc.3.1.0.20221202.png failed with code NotFound
[28/01/2026 16:53:27] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/5/51/Windows_Terminal_logo.svg/320px-Windows_Terminal_logo.svg.png failed with code TooManyRequests
[28/01/2026 16:53:45] Found 441 installed packages from Pip
[28/01/2026 16:53:45] Unknown mimetype text/html for icon https://imgur.com/a/JaKsNtP, aborting download
[28/01/2026 16:53:45] Unknown mimetype text/html for icon https://imgur.com/a/gah5KMw, aborting download
[28/01/2026 16:53:45] Unknown mimetype text/html for icon https://imgur.com/a/E92OhoW, aborting download
[28/01/2026 16:53:45] Unknown mimetype text/html; charset=UTF-8 for icon https://postimg.cc/wRdzrfjX, aborting download
[28/01/2026 16:53:45] Backup saved to D:\EDM115\Documents\UniGetUI\LENOVO-EDM115 installed packages 2026-01-28 16-53-45.ubundle
[28/01/2026 16:53:48] Successfully updated Gist ID: 11742842724b23acdb0744fb604f78df
[28/01/2026 16:53:48] Cloud backup completed successfully to gist EDM115/11742842724b23acdb0744fb604f78df
[28/01/2026 16:53:48] Cloud backup succeeded
[28/01/2026 16:53:51] Found 9 available updates from Pip
[28/01/2026 16:57:47] Loaded operation parameters for package id=cryptography on manager Pip and operation Update: install --upgrade cryptography --no-input --no-color --no-cache
[28/01/2026 16:57:53] Loaded operation parameters for package id=litellm on manager Pip and operation Update: install --upgrade litellm --no-input --no-color --no-cache
[28/01/2026 16:58:20] Loaded operation parameters for package id=pathspec on manager Pip and operation Update: install --upgrade pathspec --no-input --no-color --no-cache
[28/01/2026 16:58:24] Loaded operation parameters for package id=mistral-vibe on manager Pip and operation Update: install --upgrade mistral-vibe --no-input --no-color --no-cache
[28/01/2026 16:58:35] Loaded operation parameters for package id=sentence-transformers on manager Pip and operation Update: install --upgrade sentence-transformers --no-input --no-color --no-cache
[28/01/2026 16:58:46] Loaded operation parameters for package id=ultralytics on manager Pip and operation Update: install --upgrade ultralytics --no-input --no-color --no-cache --no-deps
[28/01/2026 16:58:54] Loaded operation parameters for package id=tinycss2 on manager Pip and operation Update: install --upgrade tinycss2 --no-input --no-color --no-cache
[28/01/2026 16:58:58] Loaded operation parameters for package id=wcwidth on manager Pip and operation Update: install --upgrade wcwidth --no-input --no-color --no-cache
[28/01/2026 16:59:01] Loaded operation parameters for package id=openai on manager Pip and operation Update: install --upgrade openai --no-input --no-color --no-cache
[28/01/2026 17:00:52] Loaded operation parameters for package id=GitHub.Copilot on manager Winget and operation Update: update --id "GitHub.Copilot" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:01:05] Loaded operation parameters for package id=ImageMagick.Q16 on manager Winget and operation Update: update --id "ImageMagick.Q16" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:01:36] Loaded operation parameters for package id=astral-sh.ruff on manager Winget and operation Update: update --id "astral-sh.ruff" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:01:46] Loaded operation parameters for package id=Figma.FigmaAgent on manager Winget and operation Update: update --id "Figma.FigmaAgent" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:01:58] WinGet package Jackett.Jackett requires elevation, forcing administrator rights...
[28/01/2026 17:01:58] Loaded operation parameters for package id=Jackett.Jackett on manager Winget and operation Update: update --id "Jackett.Jackett" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:02:17] Deleting shortcut C:\Users\EDM115\Desktop\Warp.lnk
[28/01/2026 17:02:17] Loaded operation parameters for package id=astral-sh.uv on manager Winget and operation Update: update --id "astral-sh.uv" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28/01/2026 17:02:25] Loaded operation parameters for package id=astral-sh.ty on manager Winget and operation Update: update --id "astral-sh.ty" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
```

### Package Managers Logs

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

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 28/01/2026 16:52:57
Process end time: 28/01/2026 16:52:57

-- Task information
...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\EDM115\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 28/01/2026 16:53:06
Process end time: 28/01/2026 16:53:07

-- Process STDOUT
...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 28/01/2026 16:53:06
Process end time: 28/01/2026 16:53:23

-- Task information
...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 28/01/2026 16:53:06
Process end time: 28/01/2026 16:53:17

-- Task information
...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 28/01/2026 16:53:07
Process end time: 28/01/2026 16:53:24

-- Task information
...

The task reported success

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

### Relevant information

UniGetUI output (here with `GitHub.Copilot`) :
```log
Package update operation for Package=GitHub.Copilot with Manager=Winget
Installation options:
Overriden options:
Version: v0.0.394 -> v0.0.396
Starting operation...
Executing process with StartInfo:
- FileName: "C:\Users\EDM115\AppData\Local\Microsoft\WindowsApps\winget.exe"
- Arguments: "update --id "GitHub.Copilot" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force"
Start Time: "28/01/2026 17:00:52"
Trouvé Copilot CLI [GitHub.Copilot] Version v0.0.396
La licence d’utilisation de cette application vous est octroyée par son propriétaire.
Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci.
Téléchargement en cours https://github.com/github/copilot-cli/releases/download/v0.0.396/copilot-win32-x64.zip
██████████████████████████████ 54.8 MB / 54.8 MB
Le code de hachage de l’installation a été vérifié avec succès
Extraction des archives...
Extraction de l’archive réussie
Démarrage du package d’installation... Merci de patienter.
Une erreur inattendue s'est produite lors de l'exécution de la commande :
weakly_canonical: The path cannot be traversed because it contains an untrusted mount point.: "C:\Users\EDM115\AppData\Local\Microsoft\WinGet\Links\copilot.exe"
Échec du programme d’installation avec le code de sortie : 0x8a150003 : Échec de l’exécution de la commande
End Time: "28/01/2026 17:01:05"
Process return value: "-1978335150" (0x8A150052)
Copilot CLI could not be updated
```

Output from the terminal :
```pwsh
$ winget upgrade GitHub.Copilot
Trouvé Copilot CLI [GitHub.Copilot] Version v0.0.396
La licence d’utilisation de cette application vous est octroyée par son propriétaire.
Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci.
Le code de hachage de l’installation a été vérifié avec succès
Extraction des archives...
Extraction de l’archive réussie
Démarrage du package d’installation... Merci de patienter.
Alias de ligne de commande ajouté : "copilot"
Installé correctement
```

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