[Package Issue]: WinDirStat.WinDirStat - WinGet Forgets Installed Version of WinDirStat.WinDirStat After Upgrade, Causing Repeated Upgrades #173833
Labels
Help-Wanted
This is a good candidate work item from the community.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Package-Update
This package needs to be updated
Resolution-Duplicate
This issue or pull request already exists
Please confirm these before moving forward
Category of the issue
Other
Brief description of your issue
WinGet forgets the installed version of WinDirStat.WinDirStat immediately after upgrading, leading to unnecessary repeated upgrades in subsequent runs.
Steps to reproduce
winget install windirstat --scope machine
to install WinDirStat if not already installedwinget upgrade --all --include-unknown
winget upgrade --all --include-unknown
againActual behavior
Winget successfully upgrades WinDirStat.WinDirStat to the latest available version. However, it immediately "forgets" this version information. In subsequent runs, even immediately after an upgrade, the Version column remains "Unknown" for WinDirStat.WinDirStat. This results in winget repeatedly offering to upgrade WinDirStat.WinDirStat to the same version in every run, creating a loop of unnecessary upgrades.
Expected behavior
After a successful upgrade, winget should remember and correctly display the installed version of WinDirStat.WinDirStat. Subsequent
winget upgrade
commands should not offer to upgrade WinDirStat.WinDirStat unless a newer version is actually available. The Version column should show the correct installed version, and WinDirStat.WinDirStat should only be listed for upgrade when there's a genuine new version available.Environment
Screenshots and Logs
No response
The text was updated successfully, but these errors were encountered: