WinGet seems confused about the version of GitHub Desktop I have installed
Brief description of your issue
WinGet seems to think I have GitHub Desktop 3.3.4 when I do a list, but if I do an upgrade, it says I have 3.3.3. What gives?
Steps to reproduce
I don't know how I got into this situation other than to install GitHub desktop and periodically check for upgrades via WinGet.
Expected behavior
If winget list GitHub.Desktop reports 3.3.4, so should winget upgrade.
Actual behavior
As shown below, I see different versions depending on if I run list or upgrade.
PS C:\> winget upgrade
Name Id Version Available Source
------------------------------------------------------------
GitHub Desktop GitHub.GitHubDesktop 3.3.3 3.3.4 winget
PS C:\> winget list github.githubdesktop
Name Id Version Source
---------------------------------------------------
GitHub Desktop GitHub.GitHubDesktop 3.3.4 winget
Environment
PS C:\> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.2361
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0
Winget Directories
-----------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loc…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loc…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
Can you post the logs and output of winget list 'github' ?
I'm guessing it's likely because you have two versions of GitHub Desktop installed - one which is version 3.3.3 and one which is version 3.3.4. I was able to replicate the same thing on my VM by using the exe to install one version and the msi to install the other
DisplayName DisplayVersion Publisher ProductCode Scope
----------- -------------- --------- ----------- -----
GitHub Desktop Deployment Tool 3.3.4.0 GitHub, Inc. {092ED4F6-C7AF-4032-8DF8-6F53FE80637E} Machine
GitHub Desktop 3.3.3 GitHub, Inc. GitHubDesktop User
PS C:\> winget list github
Name Id Version Source
---------------------------------------------------
GitHub Desktop GitHub.GitHubDesktop 3.3.4 winget
Atom GitHub.Atom 1.60.0 winget
2023-10-17 21:22:39.335 [CORE] WinGet, version [1.6.2771], activity [{6FB6B237-8974-40DB-BE6E-B56284C31AC4}]
2023-10-17 21:22:39.335 [CORE] OS: Windows.Desktop v10.0.22621.2361
2023-10-17 21:22:39.335 [CORE] Command line Args: "C:\Users\willp\AppData\Local\Microsoft\WindowsApps\winget.exe" list github --logs
2023-10-17 21:22:39.335 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.2771.0
2023-10-17 21:22:39.335 [CORE] IsCOMCall:0; Caller: winget-cli
2023-10-17 21:22:39.341 [CLI ] WinGet invoked with arguments: 'list' 'github' '--logs'
2023-10-17 21:22:39.341 [CLI ] Found subcommand: list
2023-10-17 21:22:39.341 [CLI ] Leaf command to execute: root:list
2023-10-17 21:22:39.342 [CLI ] Executing command: list
2023-10-17 21:22:39.350 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-10-17 21:22:39.350 [REPO] Adding to source references msstore
2023-10-17 21:22:39.350 [REPO] Adding to source references winget
2023-10-17 21:22:39.350 [REPO] Multiple sources available, creating aggregated source.
2023-10-17 21:22:39.350 [REPO] Adding to aggregated source: msstore
2023-10-17 21:22:39.350 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-10-17 21:22:39.532 [REPO] Response status: 200
2023-10-17 21:22:39.532 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-10-17 21:22:39.569 [REPO] Response status: 200
2023-10-17 21:22:39.569 [REPO] Adding to aggregated source: winget
2023-10-17 21:22:39.576 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-10-17 21:22:39.576 [CORE] Found matching extension.
2023-10-17 21:22:39.600 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.1018.209.815_neutral__8wekyb3d8bbwe\Public\index.db'
2023-10-17 21:22:39.600 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.1018.209.815_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-10-17 21:22:39.601 [REPO] Opened SQLite Index with version [1.7], last write [2023-10-17 20:08:40.000]
2023-10-17 21:22:39.723 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-10-17 21:22:39.723 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2023-10-17 21:22:39.723 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-10-17 21:22:39.756 [REPO] Reading MSI UpgradeCodes
2023-10-17 21:22:39.766 [REPO] Examining ARP entries for Machine | X64
2023-10-17 21:22:39.808 [REPO] Examining ARP entries for Machine | X86
2023-10-17 21:22:39.844 [REPO] Reading MSI UpgradeCodes
2023-10-17 21:22:39.854 [REPO] Examining ARP entries for User | X64
2023-10-17 21:22:40.089 [REPO] Finding available package from installed package using system reference search: Query:[none] Include:ProductCode='githubdesktop'[Exact] Include:NormalizedNameAndPublisher='githubdesktop'+'github'[Exact]
2023-10-17 21:22:40.093 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-10-17 21:22:40.093 [SQL ] Opening SQLite connection #3: 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-10-17 21:22:40.094 [REPO] Opened SQLite Index with version [1.3], last write [2023-10-03 02:21:47.000]
2023-10-17 21:22:40.127 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-10-17 21:22:40.127 [SQL ] Opening SQLite connection #4: 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-10-17 21:22:40.128 [REPO] Opened SQLite Index with version [1.3], last write [2023-10-17 19:45:47.000]
2023-10-17 21:22:40.190 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-10-17 21:22:40.316 [REPO] Response status: 200
2023-10-17 21:22:40.316 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='11707myonlineband.com.githubzen_xc1xfj6refnft'[Exact] Include:NormalizedNameAndPublisher='github zen'+'myonlineband.com'[Exact]
2023-10-17 21:22:40.317 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='microsoft.windows.devhomegithubextension_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='dev home github extension (preview)'+'microsoft corporation'[Exact]
2023-10-17 21:22:40.369 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='gitnote'+'mikeyzhaopeng'[Exact]
2023-10-17 21:22:40.373 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{1d840fa8-29cc-47fb-b192-a932de13480f}'[Exact] Include:ProductCode='{32249977-c6c1-40ed-b6a8-7084e69a0e7a}'[Exact] Include:ProductCode='{5acb8a01-8db4-4de2-aa19-301cfe83402f}'[Exact] Include:ProductCode='{bdd1c66e-642e-4278-840e-fe33e82f36d0}'[Exact] Include:ProductCode='{dea047e6-516d-41c0-836a-ed7908e150b8}'[Exact] Include:UpgradeCode='{ca1f74e0-dfca-4774-ae65-9421b4d08ff2}'[Exact] Include:NormalizedNameAndPublisher='githubreleasenotes'+'stefheyenrath'[Exact]
2023-10-17 21:22:40.380 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='cacher'+'penguinlabs'[Exact]
2023-10-17 21:22:40.387 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='act'+'cpleeorg'[Exact]
2023-10-17 21:22:40.389 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='appinstallerfilebuilder_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='appinstallerfilebuilder'+'msixtoolkit'[Exact]
2023-10-17 21:22:40.394 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='gitify'+'emmanouilkonstantinidis'[Exact]
2023-10-17 21:22:40.415 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{286391de-f778-44ea-9375-1b21aaa04ff0}'[Exact] Include:ProductCode='{286391de-f778-44ea-9375-1b21aaa04ff0}_is1'[Exact] Include:NormalizedNameAndPublisher='gitlargefilestorage'+'github'[Exact] Include:NormalizedNameAndPublisher='gitlfs'+'github'[Exact]
2023-10-17 21:22:40.420 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='githubdesktopbeta'+'github'[Exact]
2023-10-17 21:22:40.456 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{062231bf-4087-46c0-8594-fea5e05ab974}'[Exact] Include:ProductCode='{092e1a5a-2a12-4224-b0b6-50cbf47b2c2b}'[Exact] Include:ProductCode='{0bf1e50b-dc29-4a1b-9e1b-10ae6b2235cd}'[Exact] Include:ProductCode='{0ec3621b-f804-4480-bf78-6c8d12a46d02}'[Exact] Include:ProductCode='{194e4f87-a59b-4aa1-b175-2daf2152c7ba}'[Exact] Include:ProductCode='{1e2907dd-7ecf-46dc-a55a-b403d03ee3a8}'[Exact] Include:ProductCode='{1e497751-7a4e-4c32-a332-dcab727bc089}'[Exact] Include:ProductCode='{20930863-77a1-41b4-90a8-1ee33a201a04}'[Exact] Include:ProductCode='{220131f0-cd9e-4c59-88b6-5e0b60df0417}'[Exact] Include:ProductCode='{25c819aa-71af-4d7a-a5ee-7774b3e5da29}'[Exact] Include:ProductCode='{260ff05e-b80a-49d4-aae7-7e76995692cb}'[Exact] Include:ProductCode='{2654ad32-69de-4785-9d9e-1a9b27d70b04}'[Exact] Include:ProductCode='{272a2dfc-9653-4db7-bdfc-db9af82cdff9}'[Exact] Include:ProductCode='{2ba87281-0973-42c6-8214-b2d516ccf05b}'[Exact] Include:ProductCode='{2ed7e64d-a754-4129-9c69-974ee56507ae}'[Exact] Include:ProductCode='{3317e4b6-d2a0-488c-be87-2cac3e7cc4c6}'[Exact] Include:ProductCode='{34c75ce3-9f08-43f4-a029-6ed8d5194a89}'[Exact] Include:ProductCode='{390527d5-9ca6-472a-8bc5-dd938dfb7a5d}'[Exact] Include:ProductCode='{3be5325f-4514-4d14-bf04-9bc7039e312b}'[Exact] Include:ProductCode='{3bfb6284-c435-4319-8796-5668d328256d}'[Exact] Include:ProductCode='{3cdc7d34-bb1b-4c92-bb72-a085f06d37df}'[Exact] Include:ProductCode='{3d3704bd-2f87-4ae9-b268-42ad31c9cbd4}'[Exact] Include:ProductCode='{43973375-8763-424c-9a59-87216825e196}'[Exact] Include:ProductCode='{44f2e603-8a69-4cb4-8ded-45bf4987ee7f}'[Exact] Include:ProductCode='{458e038f-d662-4964-a623-a30f9f88f9ce}'[Exact] Include:ProductCode='{47ff9c56-a895-48c0-97fb-30fad5221e57}'[Exact] Include:ProductCode='{4830dc1c-a1e2-4998-8c69-6397854e4f96}'[Exact] Include:ProductCode='{4fa361ff-630f-47cb-84c3-cde97828d6df}'[Exact] Include:ProductCode='{5043ae2f-d858-4469-b922-7cee4e4920eb}'[Exact] Include:ProductCode='{55a671b0-49df-4c3f-819f-4722f585dade}'[Exact] Include:ProductCode='{5787e29a-8403-4428-8333-d5bd2b155c20}'[Exact] Include:ProductCode='{5996ecbd-7068-484b-89f7-8fe21cd7ccfb}'[Exact] Include:ProductCode='{5aad7018-ec34-4e7d-9139-deec894d83b1}'[Exact] Include:ProductCode='{5b0d70be-3906-4ea5-8eb8-bb487b441744}'[Exact] Include:ProductCode='{68d93873-d711-4d3f-9d34-3ec1c2f3e2d2}'[Exact] Include:ProductCode='{69e1881f-dbfb-4334-96fe-8792bb482f52}'[Exact] Include:ProductCode='{6b10ea1b-8e30-4661-9295-872b94e3a881}'[Exact] Include:ProductCode='{6e9b412f-42f0-4819-bdff-3bfe1a28f531}'[Exact] Include:ProductCode='{73046861-df8a-4980-81bc-608cd0bdb9a4}'[Exact] Include:ProductCode='{776052b2-954d-4b0c-b7fc-a4336e07d0e0}'[Exact] Include:ProductCode='{7956c963-f63f-476d-91ab-44674381fb34}'[Exact] Include:ProductCode='{7b2b5232-3377-484a-bf8f-ce09aaeef48e}'[Exact] Include:ProductCode='{8e002431-24b5-4deb-b175-17d6a74d5574}'[Exact] Include:ProductCode='{8eeb8b5b-f261-476d-b228-022c703ccbf6}'[Exact] Include:ProductCode='{96fe80fc-5411-4629-a2ca-0a49bd6d0f43}'[Exact] Include:ProductCode='{98975229-8b11-48b0-9b85-1c3ebd349315}'[Exact] Include:ProductCode='{99a4d2ab-7eb8-48eb-af53-cea93fdf0d4a}'[Exact] Include:ProductCode='{9d2db17d-1f8d-48b5-8fd1-a9c0de14976b}'[Exact] Include:ProductCode='{a687b01a-113a-48af-911b-f66bd2873d6b}'[Exact] Include:ProductCode='{aa034c20-8efe-4520-8360-e395c987c580}'[Exact] Include:ProductCode='{af18e63f-0ba8-4d31-a480-82033ceb1fcc}'[Exact] Include:ProductCode='{afa6de48-99c1-4f80-b81d-90db416930af}'[Exact] Include:ProductCode='{b00a8096-ec61-4f37-8093-04c0ab761a76}'[Exact] Include:ProductCode='{b1e80266-de58-4062-a385-4a148bf56be6}'[Exact] Include:ProductCode='{b2135538-5d10-4419-a476-3106f403e8e3}'[Exact] Include:ProductCode='{b37a1dcf-344f-47e9-8f5d-30dae8c25c89}'[Exact] Include:ProductCode='{b5b40f36-65f7-4206-9b00-b8d473c9caef}'[Exact] Include:ProductCode='{b88b61be-30c9-46b4-8295-04f5d470e28d}'[Exact] Include:ProductCode='{b8ae579d-4f69-4a1e-9472-a12b929acd3f}'[Exact] Include:ProductCode='{baa91b01-78f4-46c8-9c1e-3b0d54a58686}'[Exact] Include:ProductCode='{bc117f7c-ae76-4637-8b79-9b349987cde3}'[Exact] Include:ProductCode='{c318c6f7-f119-4b59-8df0-3bf81dec881c}'[Exact] Include:ProductCode='{c46bf491-d804-4695-867d-554a899e3c31}'[Exact] Include:ProductCode='{c58f74eb-9ad1-4d01-bd0b-b77d553d7f34}'[Exact] Include:ProductCode='{c7b57338-8235-4a98-9542-3b31005a5926}'[Exact] Include:ProductCode='{cd9b83a6-8529-4aba-b9da-938c3edbdf6f}'[Exact] Include:ProductCode='{d0625e35-aff3-4f2e-b5c6-ba44322dba74}'[Exact] Include:ProductCode='{d241446d-2b25-49d1-a7b8-ff2e19840615}'[Exact] Include:ProductCode='{d2990b90-fb95-41a7-b7e8-948e2b95b707}'[Exact] Include:ProductCode='{dfbfb5d3-d4a5-4dd4-bd41-8c83080d7201}'[Exact] Include:ProductCode='{e3514982-3fb3-40d4-bc27-12cc8d083d40}'[Exact] Include:ProductCode='{e4a3080c-0e6c-441f-8293-a61ed0b79c75}'[Exact] Include:ProductCode='{e6afdeb0-b162-4024-b8a8-d3acca596630}'[Exact] Include:ProductCode='{e9cdc474-f3a0-40c4-bc15-8a9553a1a293}'[Exact] Include:ProductCode='{ee935fd5-9b8b-4d03-8286-39bee3a2324f}'[Exact] Include:ProductCode='{f47a6336-c92f-487c-aa2d-f714c861e9bf}'[Exact] Include:ProductCode='{f74f2123-fb6f-4983-bb93-aad08a0f8e05}'[Exact] Include:ProductCode='{fc3cec8e-408e-4a57-aad8-636a82e00dd3}'[Exact] Include:ProductCode='{fd839a1a-fefd-4436-825f-fc3edb09ecc0}'[Exact] Include:ProductCode='{ffc8847d-596c-4736-9cb3-36882120d768}'[Exact] Include:UpgradeCode='{8cfb9531-b959-4e1b-aa2e-4af0ffcc4af4}'[Exact] Include:NormalizedNameAndPublisher='githubcli'+'github'[Exact]
2023-10-17 21:22:40.459 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='markright'+'dvcrn'[Exact]
2023-10-17 21:22:40.464 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='b54923aa-fda9-5ff9-bb60-46d74e93ec70'[Exact] Include:NormalizedNameAndPublisher='devsidecar'+'docmirror'[Exact] Include:NormalizedNameAndPublisher='devsidecar'+'docmirrorcn'[Exact] Include:NormalizedNameAndPublisher='devsidecar'+'greper'[Exact]
2023-10-17 21:22:40.466 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='a7970fb5-a49d-559e-baad-32bc45e8c8f3'[Exact] Include:NormalizedNameAndPublisher='lepton'+'cosmox'[Exact]
2023-10-17 21:22:40.467 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='fastgithub'+'dotnetcore'[Exact]
2023-10-17 21:22:40.470 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='animeback'+'taistudio'[Exact]
2023-10-17 21:22:40.473 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='classroomassistant'+'github'[Exact]
2023-10-17 21:22:40.478 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='atombeta'+'github'[Exact]
2023-10-17 21:22:40.496 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='atom'+'github'[Exact]
2023-10-17 21:22:40.511 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='ipvtest'+'vipre'[Exact]
2023-10-17 21:22:40.515 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='actionlint'+'rhysd'[Exact]
2023-10-17 21:22:40.517 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='gridea'+'eryouhao'[Exact]
2023-10-17 21:22:40.518 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='gittoolsgitversion'+'gittools'[Exact]
2023-10-17 21:22:40.523 [REPO] Opening pinning index
2023-10-17 21:22:40.523 [REPO] Opening existing pinning index
2023-10-17 21:22:40.523 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2023-10-17 21:22:40.523 [SQL ] Opening SQLite connection #5: 'C:\Users\willp\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db' [2, 0]
2023-10-17 21:22:40.523 [REPO] Opened Pinning Index with version [1.0], last write [2023-07-07 06:28:17.000]
2023-10-17 21:22:40.587 [CLI ] Leaf command succeeded: root:list
Hmm. That's very weird. The output and logs definitely indicate only one version of GitHub desktop is installed. Have you tried forcing the upgrade using winget install GitHub.GitHubDeskop --force ?
Oh, it tries to install it. But it still says I have an old version installed even after the fresh install completes.
When you look in Windows Apps & Features do you see one version or two installed?
somehow i can't winget upgrade GitHub.GitHubDesktop at all.
i have to go to help, about github desktop, ...