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 upgrade allows updating the same package twice #4284

Closed
ewanm89 opened this issue Mar 18, 2024 · 4 comments · Fixed by #4286
Closed

Winget upgrade allows updating the same package twice #4284

ewanm89 opened this issue Mar 18, 2024 · 4 comments · Fixed by #4286
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@ewanm89
Copy link

ewanm89 commented Mar 18, 2024

Brief description of your issue

If you list the same package twice on winget upgrade, it attempts to install the package twice.

Steps to reproduce

Have a package in need of updating then run winget upgrade with the same packageid twice.
image

Expected behavior

Ignore the accidental repeat and automatically not download and run the installer twice.

Actual behavior

Runs the installer for the package twice.

Environment

Windows Package Manager v1.7.10661

Windows: Windows.Desktop v10.0.19045.4123
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10661.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 18, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Trenly
Copy link
Contributor

Trenly commented Mar 18, 2024

Can you share the output of winget list "ShareX"?

@microsoft-github-policy-service microsoft-github-policy-service bot added Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged labels Mar 18, 2024
@ewanm89
Copy link
Author

ewanm89 commented Mar 19, 2024

Can you share the output of winget list "ShareX"?

To show it is only there once, sure:
image

this is entirely because it was accidentally twice on the commandline (I meant kicad.kicad to be on there and copy and paste error still had ShareX.ShareX in buffer).

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Mar 19, 2024
@Trenly
Copy link
Contributor

Trenly commented Mar 19, 2024

Thanks! That's what I suspected, but wanted to be sure that nothing was missed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants