-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget upgrade does not regognize installed updates #2349
Comments
If the version is displayed as "Unknown" the installer for that package didn't report a version to the registry as you would see in Windows Apps & Features or in Add Remove Programs. It's up to the installer to report the software version installed. If an "upgrade" is actually just installing a newer version of a package side-by-side then the Windows Package Manager would see the "older" version and still think an upgrade is necessary. We have work in progress for Windows Package Manager 1.4-preview to address this scenario. |
Typora actually was using the wrong URL's, I've submitted two PR's over at pkgs to fix Typora |
This is happening on Microsoft packages: PS C:\Windows\System32>
|
@zuhairmahd - As denelon said
This is what is causing your issue with both Python and the Microsoft packages. See also #2345 and #1413 |
After another install of the update, Typora finally went away, thank you! |
Brief description of your issue
I have installed Typora.Typora via winget, previously version 1.3.6. After the prompt to update to 1.3.8, which was successfully installed by winget, the update keeps appearing on winget upgrade and winget will try to update again.
Almostm the same thing happens with Rustlang.Rustup. The version says unknown, avialable is 1.24.3, but this version is already installed.
Steps to reproduce
Expected behavior
winget recognizes the installed version correctly and does not prompt for an unnecessary update.
Actual behavior
winget prompts for updates which are already installed
Environment
The text was updated successfully, but these errors were encountered: