microsoft / microsoft/vcpkg

[vcpkg upgrade] Running `vcpkg upgrade` on Windows will also trigger upgrades for linux triplets

Open
#3,453 7 comments 3 reactions 1 assignee Assigned to @Cheney-W View on GitHub
category:vcpkg-bug
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

If you have a vcpkg instance that has both windows and linux triplets, then `vcpkg upgrade` will try to upgrade all the triplets.

So, if you run `vcpkg upgrade` from windows, it will uninstall ports installed on the linux triplet and then fail to reinstall them.

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.