Skip to content
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 repeatedly updates same package #4634

Closed
MurraySobol opened this issue Jul 13, 2024 · 11 comments
Closed

winget repeatedly updates same package #4634

MurraySobol opened this issue Jul 13, 2024 · 11 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Side-by-Side Issue related to side by side package installation
Milestone

Comments

@MurraySobol
Copy link

Brief description of your issue

When I run Winget from a Command Prompt I get this window:
image
The update completes, showing both modules have been updated.
If, however, I run the update a second time, the SAME 2 products are shown as requiring updating again.

Steps to reproduce

See description above.

Expected behavior

IMO, once the update has been run successfully the FIRST time, a second update should NOT ask for those same two products to be updated again.

Actual behavior

The same two products are repeatedly asking to be updated.

Environment

C:\>winget -v
v1.9.1792-preview

My environment: Windows 11 Professional 64-bit
Version: 23H2 OS Build 22631.3880
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jul 13, 2024

This comment was marked as off-topic.

@MurraySobol
Copy link
Author

MurraySobol commented Jul 13, 2024 via email

@stephengillie
Copy link

This is the "upgrade always available" issue, and should be moved to the winget-pkgs repo. The package manager application is operating in a correct and intended way, and it's the YAML data files here that are incorrect.

This is caused by the installed application putting different information into the Registry than is shown in the manifest. So when the package manager matches the Registry data against the manifest data, it finds that the manifest PacakgeVersion is higher than the Registry's, so offers the upgrade again and again. The fix is usually to update the Registry, possibly with a DisplayVersion.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Jul 15, 2024
@MurraySobol
Copy link
Author

MurraySobol commented Jul 15, 2024 via email

@MagicAndre1981
Copy link

you need to enable SideBySide experimental setting until this gets stable with 1.9 client.

the 3rd number is called feature band level and the 4th the patchlevel. So the 4xx installer doesn't remove the old 300 level version.

@MurraySobol
Copy link
Author

MurraySobol commented Jul 16, 2024 via email

@MagicAndre1981
Copy link

go to control panel and remove the older 6.0 and 7.0 SDKs and only keep the one with the higher 3rd number

@MurraySobol
Copy link
Author

MurraySobol commented Jul 16, 2024 via email

@MagicAndre1981
Copy link

leave it as it is.

@denelon denelon added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jul 16, 2024
@denelon
Copy link
Contributor

denelon commented Jul 16, 2024

The side-by-side feature is stable in WinGet 1.8 and WinGet 1.9 previews now.

@denelon denelon added the Side-by-Side Issue related to side by side package installation label Jul 16, 2024
@denelon denelon added this to the 1.9 Client milestone Jul 16, 2024
@denelon
Copy link
Contributor

denelon commented Jul 16, 2024

Since this was moved to winget-pkgs, I'm going to go ahead and close this issue.

@denelon denelon closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Side-by-Side Issue related to side by side package installation
Projects
None yet
Development

No branches or pull requests

4 participants