-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 java gets architecture wrong #196622
Comments
A recent manifest for Eclipse only has the |
The older java versions (like 8) still have 32 and 64 bit versions. And I can do: and get the 32 bit version installed, so winget does seem to know about the 32 bit versions. |
It's possible we didn't have a valid manifest for that earlier version for WinGet to use the UpgradeCode so it would have defaulted to the name (minus what's in parenthesis) and the best match for the architecture of the device would have been selected. I'd like to get an exact repro of possible. |
The specific package I was trying to update was Temurin 8.0.362.9. I was just going to run through the process again to document here and now it is updating to the correct 32 bit version. Did some changes happen in the manifests? |
I just tested with Corretto and got the bad behavior, so I think someone must have updated the manifests for Temurin.
|
I think this is an issue with the manifest(s) rather than the WinGet Client. I'm moving this issue over to winget-pkgs. |
I think it is expected, since the x86 and the x64 installers are in the same package (e.g., |
Brief description of your issue
If I have a 32 bit version of java (I've tried Amazon and Eclipse) and do winget update of that package, winget will install the current 64 bit version of java and leaves the 32 bit version as is.
Steps to reproduce
Install older 32 bit version of Java
winget update -all
Expected behavior
Updated 32 bit version of java should be installed
Actual behavior
Current 64 bit version of java is installed and old 32 bit version is still installed.
Environment
The text was updated successfully, but these errors were encountered: