You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Winget should only consider the highest version if multiple versions of the same package are installed #1543
There are some programs (like the .NET SDK) where a user may have multiple versions installed. Every time the user runs winget upgrade --all, winget sees that many of the installed versions are outdated and tries to upgrade each one of them. This (in the case of .NET SDK) will still keep the old versions but install many more copies of the new version. Each time winget upgrade --all is run, the problem intensifies. If winget that the latest version is already installed and does not try to upgrade the older versions, this problem will not occur.
If winget finds that multiple versions of the same package from the same source are installed, it should only check the install with the highest version while checking if there is an upgrade. It should however display a warning that some outdated versions are also installed along with the latest version.
Reacted by Pratik Chowdhury, Romans Pokrovskis, Dan Russell, ChsBuffer and Christof Wollenhaupt
Activity
arnavbhate commentedon May 7, 2022
Fixed in v1.2.3411-preview #1838