Repository navigation
[BUG] bun package manager is not working #4859
Copy link
Copy link
Closed
Labels
Description
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
2026.1.11
Windows version, edition, and architecture
Windows 11 Entreprise 23H2 22631.7079
Describe your issue
I use bun package manager introduced in 2026.1.11.
When I search a package existing in bun, no result is displayed after a search.
I add to install it manually bun add -g...
After installation, I see my package present in installed packages.
I have multiple packages and no upadate is poposed (I see that these packages have new release and I have to upgrade with command line myself
Steps to reproduce the issue
No response
UniGetUI Log
[01/06/2026 10:17:18] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.1.11
[01/06/2026 10:17:18]
[01/06/2026 10:17:18] Build 107
[01/06/2026 10:17:18] UI Framework: Avalonia
[01/06/2026 10:17:18] Data directory C:\Users\toto\AppData\Local\UniGetUI
[01/06/2026 10:17:18] OS: Microsoft Windows 10.0.22631
[01/06/2026 10:17:18] Process arch: X64 (OS: X64)
[01/06/2026 10:17:18] Runtime: .NET 10.0.8
[01/06/2026 10:17:18] Loaded language locale: fr
[01/06/2026 10:17:18] Elevated: True
[01/06/2026 10:17:18] Packaged (MSIX): False
[01/06/2026 10:17:18] Args: (none)
[01/06/2026 10:17:20] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Élément introuvable.
Impossible d’obtenir des informations d’identification du coffre
[01/06/2026 10:17:20] Starting Avalonia shell bootstrap
[01/06/2026 10:17:20] Loaded language locale: fr
[01/06/2026 10:17:20] Auto-updater: disabled by user setting, skipping.
[01/06/2026 10:17:20] Generated a IPC API auth token for the current session
[01/06/2026 10:17:20] Scoop is not enabled
[01/06/2026 10:17:20] Npm is not enabled
[01/06/2026 10:17:20] .NET Tool is not enabled
[01/06/2026 10:17:20] vcpkg is not enabled
[01/06/2026 10:17:20] Chocolatey is not enabled
[01/06/2026 10:17:20] PowerShell is not enabled
[01/06/2026 10:17:20] Cargo is enabled and was found on C:\Users\toto\.cargo\bin\cargo.exe
[01/06/2026 10:17:20] Bun is enabled and was found on C:\Users\toto\AppData\Local\Microsoft\WinGet\Links\bun.exe
[01/06/2026 10:17:20] PowerShell7 is enabled and was found on C:\Program Files\PowerShell\7\pwsh.exe
[01/06/2026 10:17:20] Command pinget.exe was not found on the system
[01/06/2026 10:17:20] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
[01/06/2026 10:17:20] Packaged WinGet COM activation failed (Built-in COM has been disabled via a feature switch. See https://aka.ms/dotnet-illink/com for more information.), attempting lower-trust activation...
[01/06/2026 10:17:20] Pip is enabled and was found on C:\Users\toto\AppData\Local\Programs\Python\Python314\python.EXE
[01/06/2026 10:17:20] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Bun (aka Bun)
█ Executable name: "bun"
█ Executable path: "C:\Users\toto\AppData\Local\Microsoft\WinGet\Links\bun.exe"
█ Call arguments: ""
█ Version: 1.3.14
█
█ Bun is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[01/06/2026 10:17:20] Api running on named pipe UniGetUI.IPC
[01/06/2026 10:17:20] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Cargo (aka Cargo)
█ Executable name: "cargo.exe"
█ Executable path: "C:\Users\toto\.cargo\bin\cargo.exe"
█ Call arguments: ""
█ Version: cargo 1.94.0 (85eff7c80 2026-01-15)
█
█ Cargo is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[01/06/2026 10:17:21] Connected to WinGet API using lower-trust COM activation.
[01/06/2026 10:17:21] WinGet activation mode selected: lower-trust COM registration | Source: system COM registration (allow lower trust)
[01/06/2026 10:17:21] Winget is enabled and was found on C:\Users\toto\AppData\Local\Microsoft\WindowsApps\winget.exe
[01/06/2026 10:17:21] Downloaded new icons and screenshots successfully!
[01/06/2026 10:17:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.6.2
█
█ PowerShell 7.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[01/06/2026 10:17:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip (aka Pip)
█ Executable name: "pip"
█ Executable path: "C:\Users\toto\AppData\Local\Programs\Python\Python314\python.EXE"
█ Call arguments: "-m pip "
█ Version: pip 26.1.2 from C:\Users\toto\AppData\Local\Programs\Python\Python314\Lib\site-packages\pip (python 3.14)
█
█ Pip is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[01/06/2026 10:17:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\toto\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.28.240
█ Using Native WinGet helper (COM Api)
█ Activation mode: lower-trust COM registration
█ Activation source: system COM registration (allow lower trust)
█
█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[01/06/2026 10:17:22] Bun: Skipping global update detection because C:\Users\toto\.bun\install\global is missing package.json
[01/06/2026 10:17:22] Found 0 available updates from Bun
[01/06/2026 10:17:23] Found 2 installed packages from Bun
[01/06/2026 10:17:24] Found 0 available updates from Cargo
[01/06/2026 10:17:24] Found 2 installed packages from Cargo
[01/06/2026 10:17:24] Found 109 installed packages from Pip
[01/06/2026 10:17:24] Icon download attempt at https://codeberg.org/tenacityteam/tenacity/raw/branch/main/images/icons/48x48/tenacity.png failed with code NotFound
[01/06/2026 10:17:25] Found 0 installed packages from PowerShell7
[01/06/2026 10:17:25] Found 0 installed packages from PowerShell7
[01/06/2026 10:17:25] Found 0 available updates from PowerShell7
[01/06/2026 10:17:25] Integrity check passed successfully!
[01/06/2026 10:17:25] Dependency cargo-update for Cargo is present.
[01/06/2026 10:17:25] Dependency cargo-binstall for Cargo is present.
[01/06/2026 10:17:25] Avalonia shell bootstrap completed
[01/06/2026 10:18:09] Version string Version 6.50a of 2019-Jan-17 (Build 3320) (Setup) appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:09] Version string Version 6.50a of 2019-Jan-17 (Build 3320) (Setup) appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:09] Version string v6.3r1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:09] Version string v6.3r1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:09] Version string 4.9.51 (SP3) appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:09] Version string 4.9.51 (SP3) appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[01/06/2026 10:18:10] Found 245 installed packages from Winget
[01/06/2026 10:18:10] Local backup saved to c:\user\toto\UniGetUI\Paquets installés sur X1288622.ubundle
[01/06/2026 10:18:10] Unknown mimetype image/jpeg for icon https://img.utdstc.com/icon/aab/566/aab566ff80c739e8a4d06f1fee8f87fb93c845c92d05751d2e372bde3eb26480:200, aborting download
[01/06/2026 10:18:11] Unknown mimetype text/html for icon https://gitbutler.com/favicon/favicon-64x64.png, aborting download
[01/06/2026 10:18:11] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/langfr-800px-Visual_Studio_Code_1.35_icon.svg.png failed with code BadRequest
[01/06/2026 10:18:11] Found 1 available updates from Winget
Package Managers Logs
Manager WinGet with version:
System WinGet (CLI) Version: v1.28.240
Using Native WinGet helper (COM Api)
Activation mode: lower-trust COM registration
Activation source: system COM registration (allow lower trust)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 01/06/2026 10:17:21
Process end time: 01/06/2026 10:17:21
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\toto\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 01/06/2026 10:17:22
Process end time: 01/06/2026 10:17:24
-- Process STDOUT
...
-- Process STDERR
[WARN] Redirecting %TEMP% folder to C:\Users\toto\AppData\Local\Temp\UniGetUI\ElevatedWinGetTemp, since UniGetUI was run as admin
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 01/06/2026 10:17:22
Process end time: 01/06/2026 10:18:10
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 01/06/2026 10:17:22
Process end time: 01/06/2026 10:18:08
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 01/06/2026 10:17:24
Process end time: 01/06/2026 10:18:11
-- Task information
...
The task reported success
——————————————————————————————————————————
Relevant information
No response
Screenshots and videos
No response
Reactions are currently unavailable
Activity
GabrielDuf commentedon Jun 1, 2026
Thanks for the report.
The log shows this relevant line:
Bun: Skipping global update detection because C:\Users\toto.bun\install\global is missing package.json
UniGetUI is detecting the installed Bun packages, but package search and update detection do not appear to be working correctly in this setup.
We'll review the Bun implementation and post an update here once we have more information.
GabrielDuf commentedon Jun 15, 2026
Hi dradoudine,
i've rework how we handle bun package in unigetui 2026.2.1.
could you try again and tell me if it works well on your side
dradoudine commentedon Jun 16, 2026
Hi Gabriel Dufresne (@GabrielDuf)
I tested with latest 2026.2.1
WHen I search (discover packages) bun packages are displayed (it's ok)
I install, and installation is successfull. I installed 2 packages (opencode-ai and omniroute).
In section installed packages, I see nothing (bun packages are not present at all as if it was not installed but the 2 packages are properly installed in my bun installation folder)
syounisukesue commentedon Jul 23, 2026
I think I'm running into a similar issue on UniGetUI 2026.2.5.0.
My environment:
Package discovery works correctly, and installing packages also succeeds. However, installed Bun packages are not shown in the Installed Packages tab.
From reading PR #4880, it seems UniGetUI currently expects the global manifest to be located under the default Bun directory (e.g.
~/.bun/install/global/package.json).However, Bun does not always use that location.
BUN_INSTALLis defined, Bun uses:BUN_INSTALL/install/global/package.jsonXDG_CACHE_HOME/bun/install/global/package.jsonTherefore, would it make sense for UniGetUI to search for the global manifest in something like this order?
BUN_INSTALL/install/global/package.jsonXDG_CACHE_HOME/bun/install/global/package.json~/.bun/install/global/package.json(fallback)As an additional improvement, I think it would be useful to provide an advanced setting allowing users to manually specify the location of the global
package.json. This would make UniGetUI compatible with tools such as mise, portable Bun installations, and other non-standard setups.Thanks again for the Bun support!
syounisukesue commentedon Jul 23, 2026
After some more investigation, I think the root cause is not mise itself, but the use of Bun's configurable global installation paths.
In my case, I happened to install Bun with mise, but the actual issue is that my environment overrides the default global installation directory using Bun's supported configuration/environment variables.
For example, Scoop also configures Bun this way:
https://github.com/ScoopInstaller/Main/blob/a87323f48203926da62b55655e97e0e7ff123ea1/bucket/bun.json
Also, Bun officially supports configuring the global installation directory through
install.globalDir/BUN_INSTALL_GLOBAL_DIR:https://bun.com/docs/runtime/bunfig
So this issue may affect any Bun installation that uses these supported configuration options, not just mise.
Would it make sense for UniGetUI to resolve the global package location in something like this order?
BUN_INSTALL_GLOBAL_DIR/package.jsonBUN_INSTALL/install/global/package.jsonXDG_CACHE_HOME/bun/install/global/package.json~/.bun/install/global/package.jsonAs an additional improvement, allowing users to manually specify the location of the global
package.jsonwould also make the Bun integration more robust.GabrielDuf commentedon Oct 20, 2026
Bun support was fixed in #4880, and custom BUN_INSTALL / BUN_INSTALL_GLOBAL_DIR locations are honored since #5532.