Repository navigation
Description
Brief description of your issue
Seems WinGet keeps on installing (some of) the updates again and again
Steps to reproduce
probably machine-specific, see output
Expected behavior
Shouldn't keep on installing the same succesful installs
Actual behavior
Microsoft Windows [Version 10.0.22000.778]
(c) Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.C:\WINDOWS\system32>winget upgrade --all -h
Found 7-Zip [7zip.7zip] Version 22.00
Found Git [Git.Git] Version 2.37.0
Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
Found Microsoft Teams [Microsoft.Teams] Version 1.5.00.14473
Found Webex [Cisco.WebexTeams] Version 42.6.0.22645
Found LibreOffice [TheDocumentFoundation.LibreOffice] Version 7.3.4.2
Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VC++2015-2022Redist-x64] Version 14.32.31332.0
Found GOG GALAXY [GOG.Galaxy] Version 2.0.49.1
Found OpenVPN [OpenVPNTechnologies.OpenVPN] Version 2.5.036
Found Viber [Viber.Viber] Version 17.9.0.0
(1/10) Found 7-Zip [7zip.7zip] Version 22.00
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www.7-zip.org/a/7z2200-x64.exe
██████████████████████████████ 1.49 MB / 1.49 MB
Successfully verified installer hash
Starting package install...
Successfully installed(2/10) Found Git [Git.Git] Version 2.37.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/git-for-windows/git/releases/download/v2.37.0.windows.1/Git-2.37.0-64-bit.exe
██████████████████████████████ 46.9 MB / 46.9 MB
Successfully verified installer hash
Starting package install...
Successfully installed(3/10) Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
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(4/10) Found Microsoft Teams [Microsoft.Teams] Version 1.5.00.14473
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://statics.teams.cdn.office.net/production-windows-x64/1.5.00.14473/Teams_windows_x64.exe
██████████████████████████████ 120 MB / 120 MB
Successfully verified installer hash
Starting package install...
Successfully installed(5/10) Found Webex [Cisco.WebexTeams] Version 42.6.0.22645
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi
██████████████████████████████ 278 MB / 278 MB
Successfully verified installer hash
Starting package install...
Successfully installed(6/10) Found LibreOffice [TheDocumentFoundation.LibreOffice] Version 7.3.4.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://downloadarchive.documentfoundation.org/libreoffice/old/7.3.4.2/win/x86_64/LibreOffice_7.3.4.2_Win_x64.msi
██████████████████████████████ 331 MB / 331 MB
Successfully verified installer hash
Starting package install...
Successfully installed(7/10) Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VC++2015-2022Redist-x64] Version 14.32.31332.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.visualstudio.microsoft.com/download/pr/ed95ef9e-da02-4735-9064-bd1f7f69b6ed/CE6593A1520591E7DEA2B93FD03116E3FC3B3821A0525322B0A430FAA6B3C0B4/VC_redist.x64.exe
██████████████████████████████ 24.0 MB / 24.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed(8/10) Found GOG GALAXY [GOG.Galaxy] Version 2.0.49.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...
Installer failed with exit code: 1
Installer log is available at: C:\Users\birbi\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-GOG.Galaxy.2.0.49.1-2022-07-07-05-01-51.906.log(9/10) Found OpenVPN [OpenVPNTechnologies.OpenVPN] Version 2.5.036
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.7-I602-amd64.msi
██████████████████████████████ 4.18 MB / 4.18 MB
Successfully verified installer hash
Starting package install...
Successfully installed(10/10) Found Viber [Viber.Viber] Version 17.9.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.cdn.viber.com/desktop/windows/ViberSetup.exe
██████████████████████████████ 122 MB / 122 MB
Successfully verified installer hash
Starting package install...
Successfully installedC:\WINDOWS\system32>winget upgrade --all -h
Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
Found Webex [Cisco.WebexTeams] Version 42.6.0.22645
Found GOG GALAXY [GOG.Galaxy] Version 2.0.49.1
Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VC++2015-2022Redist-x64] Version 14.32.31332.0
(1/4) Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binaryfortressdownloads.com/Download/BFSFiles/123/VoiceBotSetup-3.8.2.exe
██████████████████████████████ 12.2 MB / 12.2 MB
Successfully verified installer hash
Starting package install...
Successfully installed(2/4) Found Webex [Cisco.WebexTeams] Version 42.6.0.22645
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi
██████████████████████████████ 278 MB / 278 MB
Successfully verified installer hash
Starting package install...
Successfully installed(3/4) Found GOG GALAXY [GOG.Galaxy] Version 2.0.49.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...
Installer failed with exit code: 1
Installer log is available at: C:\Users\birbi\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-GOG.Galaxy.2.0.49.1-2022-07-07-05-14-20.753.log(4/4) Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VC++2015-2022Redist-x64] Version 14.32.31332.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.visualstudio.microsoft.com/download/pr/ed95ef9e-da02-4735-9064-bd1f7f69b6ed/CE6593A1520591E7DEA2B93FD03116E3FC3B3821A0525322B0A430FAA6B3C0B4/VC_redist.x64.exe
██████████████████████████████ 24.0 MB / 24.0 MB
Successfully verified installer hash
Starting package install...
Successfully installedC:\WINDOWS\system32>winget upgrade --all -h
Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
Found Webex [Cisco.WebexTeams] Version 42.6.0.22645
Found GOG GALAXY [GOG.Galaxy] Version 2.0.49.1
Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VC++2015-2022Redist-x64] Version 14.32.31332.0
(1/4) Found VoiceBot [BinaryFortress.VoiceBot] Version 3.8.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binaryfortressdownloads.com/Download/BFSFiles/123/VoiceBotSetup-3.8.2.exe
██████████████████████████████ 6.00 MB / 12.2 MB
Package download canceled.Cancelled
Environment
Windows Package Manager v1.2.11601
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22000.778
Package: Microsoft.DesktopAppInstaller v1.17.11601.0
Activity
Trenly commentedon Jul 7, 2022
frankhale commentedon Jul 13, 2022
I am also seeing where winget says I have updates but it's definitely already installed them. If I run
winget upgrade --allthen it will just reinstall the same things over and over again and still report that they have not been upgraded.Here is my list of apps that report upgrades but are already installed:
Trenly commentedon Jul 13, 2022
winget list WindowsPCHealthCheckto see if you have more than one version installed. Related to Windows PC Health Check showing upgrade but not applicable #2053frankhale commentedon Jul 13, 2022
Thank you Kaleb Luedtke (@Trenly) for that detailed info!!!
Looks like Windows PC Health Check was only installed using
wingetdenelon commentedon Jul 13, 2022
The list doesn't mean that HealthCheck came from the "winget" source, it just means we were able to match the installed package against one that is available in the source.
dgee2 commentedon Jul 14, 2022
I'm also seeing this issue with several packages. One solution that I have thought of is for there to be an option to hide packages from winget. i.e. if there is a package that I don't want winget to manage and I will manage manually, add it to some exclusion list.
birbilis commentedon Jul 14, 2022
Apart from allowing to set an exclusion list, could detect such cases (or at least the package installation failures) and suggest to the user how to add to the exclusion list.
Also could maybe send some info to the author of that package, probably user could opt in to send more info about the environment the issue occurs at.
For cases where it thinks it installed it, it's probably harder to detect (unless it added an installation verification option where it would check if the just installed new package version is detected after install)
frankhale commentedon Aug 25, 2022
This is getting super frustrating. Winget keeps saying there are upgrades even after everything has been upgraded.
AHBAdmin commentedon Oct 27, 2022
Notice also that this seems to be happening predominantly with Microsoft packages:
After upgrade:
denelon commentedon Oct 27, 2022
This issue is primarily caused by packages with versions that install "side-by-side".
As we iterate over the list, we look for upgrades.
If you have version 1 installed and run upgrade, version 2 gets "added".
Then when we iterate over again, we see version 1 and it needs an upgrade even though version 2 is installed.
We're working on a fix to detect if the latest version of a package is already installed to reduce the friction here.
21 remaining items
denelon commentedon Jul 9, 2024
We've released better support for packages that install "side-by-side" in WinGet 1.8. Is this still happening?
jeffbeechg commentedon Jul 9, 2024
jeffbeechg commentedon Jul 16, 2024
Well, that's odd. I replied on the 19th of July 2024. Oh well. I will trust that the problem is fixed as I have not seen it reoccur since the update to Winget 1.8.
As an aside. Winget wanted to update Edge but didn't. So I issued a specific command to update Edge. Then it told me the install technology was different and I had to uninstall Edge. I tried that and got error 93.
birbilis commentedon Jul 17, 2024
tried on that same machine earlier today (without the -h option) and it did install 40 packages ok, apart from a strange glitch message at the end that's strange:
the uninformative glitch I refer to is:
There's a small chance it's related to "Dev Home" (Preview) and to the fact that once it popped up (after WinGet updated it), I selected from its UI to bring some extensions which it seems to bring via the Microsoft Store. It had brought (pending at that moment) the GitHub extension for Dev Home.
...But not sure since when I run the command again (and when I run it again now) I mainly notice a message "46 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.". That message was also showing at the end of the 30 packages successful upgrade. If it had shown just below the initial list of packages with upgrades (before the upgrades loop) it would have been more informative I think since I wouldn't be wondering now if the updates caused the 46 packages with version numbers that cannot be determined or affected that count. Trying --include-unknown shows nothing (so I wonder what that count of 46 means):
all the interaction was this:
now when I try the command again (for the --include-unknown output see comment earlier on) I get:
denelon commentedon Jul 24, 2024
The message about packages with "version numbers that cannot be determined" is based on packages that don't report a version in the Windows Apps & Settings (via registry keys). If you run
winget list, you can see which packages appear to be installed without a version number being reported. I personally see this regularly with games installed using Steam. In the "Version" column they display "Unknown".If you see any with a mapped source (like "winget" or "msstore"), those could be upgrades, but WinGet has no way to determine which version is installed. WinGet would try to install those upgrades if you used
winget upgrade --all --include-unknown, but they may not be upgrades, and some may fail if the "latest" version is already installed.