-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Using command winget upgrade --all
does not update some software and does not say why.
#2493
Comments
For me the same thing happens for these packages:
They just show up again after being upgraded. I'm on windows 11 x64 |
Many of these packages support "side-by-side" installation. If you run |
@denelon |
@rp1231 it may be a bug in the installer. What version does it display when you go to Windows Apps & Features? The version that is displayed by winget is the value in the registry reported by the installer. |
@denelon |
That means that either it did an upgrade and didn't change the value, or there is a bug and it's not reporting the latest version correctly. It's also possible that the manifest is reporting the version incorrectly. PackageIdentifier: JamieOConnell.MIDI-OX
PackageVersion: 7.02.373
MinimumOSVersion: 10.0.0.0
InstallerType: exe
Scope: machine
InstallerSwitches:
Silent: /auto /args="/quiet /norestart"
SilentWithProgress: /auto /args="/passive /norestart"
Installers:
- Architecture: x86
InstallerUrl: http://www.midiox.com/zip/midioxse.exe
InstallerSha256: 16469593531764AEEDA2FDE8819B894B76243E233FD009D732193DAA9DB72385
```YAML |
Yes it seems that the manifest has it incorrectly reported as the official download link from the site matches the one in the manifest. But I face this problem with all of these apps:
I haven't checked each one of these individually, so it might be the side by side problem for them or the manifest problem, idk. |
Any solution to dealing with an incorrect manifest file? |
@Trenly are you familiar with MIDI-OX? I'm not sure if the manifest is incorrect, or if the installer has a different version than the package. |
I'll take a look in a bit |
It looks like a vanity URL so it might be any number of things that changed. |
It looks like a typo in the manifest, where |
@denelon |
@rp1231 take a look in Windows Apps & Features. If you look below the "name" of the package, you will see what version that package is reporting. That's the version we use for comparison during "upgrade". If the manifest has a different "packageVersion" from the "displayVersion" in the "AppsAndFeatures" section of the manifest, then a "marketing version" would be displayed to the user. https://devblogs.microsoft.com/commandline/windows-package-manager-1-3/#new-version-reporting will explain a bit more with an example image. |
I'm not sure I understand all that completely. |
Ok, so I had blender 3.2.2 installed previously, But now when I list the installed packages this turns up:
It shows two blender versions installed now. How do I get rid of the second entry (3.2.2) ? |
Does |
@denelon
But when I typed the |
That means there are still registry entries for 3.2.2, but the package may not be present if you don't see it in Windows Apps & Features. This may require a manual removal. |
Removing it from the registry worked. But I found that the files for the previous version were still present, so I had to delete the files manually as well.
I guess the installer isn't cleaning up the files or the entries in this case atleast..... |
I'm glad that worked! I hope this helps others too. It might be worth asking them if they are aware and would be willing to improve their customer experience. |
I saw same behavior with Microsoft.azure-iot-explorer several times. |
Noticed the same issues with some of my packages.
After checking, winget says that my Webex version is 42.8.0.23281 and I can upgrade to 42.9.0.23494, however after checking in the app it says that my version is 42.10.0.23814, two version ahead of what winget thinks my version is... |
[Policy] Command-Upgrade |
That worked, thank you. Turns out I had two installs of "Microsoft.DotNet.DesktopRuntime.7" and Powershell (9MZ1SNWT0N5D and Microsoft.PowerShell). Removing both and reinstalling one of the Microsoft.DotNet.DesktopRuntime.7 and Microsoft.Powershell fixed the issue. |
@mdanish-kh suggested adding the |
I think this happens when the installer type changes between versions winget doesn't know how to upgrade the package. Uninstall/install will resolve it, but that's obviously not ideal. |
Brief description of your issue
Using command
winget upgrade --all
does not update some software and does not say why.I can see in the log the real reason :
Steps to reproduce
Expected behavior
It must update all these softwares or say why it can't.
I think wget should provide a command to reinstall the software in this case.
Actual behavior
Somme's software are skipped without any visible explanation.
Environment
The text was updated successfully, but these errors were encountered: