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

Microsoft.DotNet.DesktopRuntime.X #196

Closed
ppvnf opened this issue Oct 20, 2022 · 4 comments
Closed

Microsoft.DotNet.DesktopRuntime.X #196

ppvnf opened this issue Oct 20, 2022 · 4 comments

Comments

@ppvnf
Copy link

ppvnf commented Oct 20, 2022

Packages:

Microsoft.DotNet.DesktopRuntime.6
Microsoft.DotNet.DesktopRuntime.5
Microsoft.DotNet.DesktopRuntime.3_1

Both fail to update. I had to blacklist them to make WAU stop trying to update them. Who is at fault here: Microsoft, Winget-AutoUpdate or myself?

Captura de tela 2022-10-19 204048
Captura de tela 2022-10-19 204220
updates.log

For some crazy reason I have the latest version of all x86 and x64 DesktopRuntimes. Winget doesn't detect any update (correctly), but WAU does (incorrectly). I also know that Microsoft.DotNet.DesktopRuntime is a problematic package for Winget, so I don't know who to blame...

@Romanitho
Copy link
Owner

I have the same problem and I had to blacklist that package. In fact, if you look at your installed apps, you might have different version for the same package. Winget running under system gets confused.

@ppvnf
Copy link
Author

ppvnf commented Oct 22, 2022

I have the exactly same versions for x86 and x64. I know that if they are outdated Winget is only able to update the x64 version for some weird reason but when they are updated winget upgrade correctly doesn't detect any update for it and even so WAU tries to update

@Romanitho
Copy link
Owner

WAU using this command to get outdated apps:
Winget upgrade --source winget
The only thing is, it is run under system context.

What you can try to do is to run the "C:\ProgramData\Winget-AutoUpdate\winget-upgrade.ps1" script from an admin user account and compare with system output.

@ppvnf
Copy link
Author

ppvnf commented Oct 28, 2022

WAU using this command to get outdated apps: Winget upgrade --source winget The only thing is, it is run under system context.

What you can try to do is to run the "C:\ProgramData\Winget-AutoUpdate\winget-upgrade.ps1" script from an admin user account and compare with system output.

I guess it is simply not possible, then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants