Repository navigation
Open
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
3.3.5
Windows version, edition, and architecture
Windows 11 Pro
Describe your issue
If I enable parallel updating of packages, UniGetUI will try to update multiple vcpkg packages at once which isn't supported.
From ChatGPT:
How vcpkg handles updates
vcpkg builds and installs packages into a central installed/ tree (unless you use manifest mode with an isolated build).
The build process for a single package is not parallelizable across multiple invocations of vcpkg. If you try to run vcpkg install or vcpkg upgrade in parallel processes against the same vcpkg instance, you risk:
File corruption in the buildtrees/, packages/, or installed/ directories.
Lock contention — recent vcpkg versions use a filesystem-based lock (.vcpkg-root/vcpkg.lock) to prevent simultaneous modifications. One process will wait, or fail, if another is already modifying the state.
Installing packages one by one is working fine but parallel processing yields errors (or potentially vcpkg corruptions).
Steps to reproduce the issue
- Have at least 2
vcpkgpackages installed that aren't updated - Configure
UniGetUIto use at least 2 operation in parallel under "Package operation preferences" -> "Choose how many operations should be performed in parallel" - Start all
vcpkgupdates at once in the UI - Observe how
UniGetUIstarts both or multiple vcpkg installs at once when it shouldn't do that (only 1 vcpkg update at the same time)
UniGetUI Log
Not necessary
Package Managers Logs
Package update operation for Package=abseil:x64-windows with Manager=vcpkg
Installation options: <InstallOptions instance (only non-default values are shown)
OverridesNextLevelOpts: False>
Overriden options: <Scope=;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False>
Version: 20250127.1#4 -> 20250512.1
Starting operation...
Executing process with StartInfo:
- FileName: "C:\vcpkg\vcpkg.exe"
- Arguments: "upgrade abseil:x64-windows --no-dry-run"
Start Time: "23/09/2025 19:07:25"
The following packages will be rebuilt:
* abseil:[email protected]
* opencv4[calib3d,core,directml,dnn,dshow,fs,gapi,highgui,intrinsics,jpeg,msmf,png,quirc,thread,tiff,webp,win32ui]:[email protected]#4
* opencv4[calib3d,core,directml,dnn,dshow,fs,gapi,highgui,intrinsics,jpeg,msmf,png,quirc,thread,tiff,webp,win32ui]:[email protected]#4
* protobuf:[email protected]#2
* protobuf:[email protected]#2
* re2:x64-windows@2025-08-12
* utf8-range:[email protected]
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
open_for_write("C:\vcpkg\buildtrees\detect_compiler\stdout-x64-windows.log"): permission denied
End Time: "23/09/2025 19:07:28"
Process return value: "1" (0x1)
Abseil could not be updated
Relevant information
No response
Screenshots and videos
No response
Activity