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

[Package Issue]: Microsoft.DotNet.DesktopRuntime.8 keeps being updated to the same version #136767

Closed
2 tasks done
lackovic opened this issue Jan 27, 2024 · 5 comments
Closed
2 tasks done
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate This issue or pull request already exists
Milestone

Comments

@lackovic
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Other

Brief description of your issue

When running winget upgrade -h --all winget reports the update is successfully installed.

When running winget upgrade -h --all again, winget incorrectly detects the old version as installed and installs the new version again.

Steps to reproduce

Run > winget upgrade -h --all twice.

Actual behavior

The same following output is shown after each command:

Installing dependencies:
(1/1) Found Microsoft .NET Windows Desktop Runtime 8.0 [Microsoft.DotNet.DesktopRuntime.8] Version 8.0.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Successfully installed

Expected behavior

The output above is shown only after the first command but not after the second.

Environment

Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3085
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Screenshots and Logs

WinGet-Microsoft.DotNet.DesktopRuntime.8.8.0.1-2024-01-27-10-19-02.892.log

@lackovic lackovic added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 27, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 27, 2024
Copy link
Contributor

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.

@lackovic
Copy link
Author

I found out I had two versions of Microsoft.DotNet.DesktopRuntime.8 installed:

> winget list | findstr /i pruntim
Microsoft Windows Desktop Runtime - 8.??? Microsoft.DotNet.DesktopRuntime.8        8.0.1                           winget
Microsoft Windows Desktop Runtime - 6.??? Microsoft.DotNet.DesktopRuntime.8        < 8.0.0               8.0.1     winget

Also shown in Apps > Installed Apps:

2024-01-27_100518

After uninstalling the version 6 from the Installed Apps the issue disappeared.

@Trenly
Copy link
Contributor

Trenly commented Jan 27, 2024

This is a known issue and is being tracked over at winget-cli with the Side-by-side and Area-Matching labels.

Copy link
Contributor

Hello @lackovic,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate This issue or pull request already exists and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Jan 27, 2024
@denelon denelon added this to the 1.7 Packages milestone Feb 13, 2024
@lackovic
Copy link
Author

lackovic commented Mar 20, 2024

After uninstalling the version 6 from the Installed Apps the issue disappeared.

Uninstalling is not an option because there are applications on my computer that need version 6 and they keep reinstalling it.

So I am still facing this issue on every update.

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. Resolution-Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants