"Failed in attempting to update the source: winget"
Brief description of your issue
Since yesterday evening (around 5pm - UTC+2), I've been getting the error Failed in attempting to update the source: winget whenever I try a command like winget upgrade.
Steps to reproduce
Run winget upgrade.
Expected behavior
That the winget source works.
Actual behavior
Failed in attempting to update the source: winget
Current Location: Dunkerque, France The problem doesn't seem to be present on my computers in Arlon, Belgium or Capellen, Luxembourg.
Logs:
2023-09-27 09:26:00.429 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFD55151415: (caller: 00007FFD552B65F4) Exception(1) tid(938) 8051100F
2023-09-27 09:26:00.429 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007 FFD553E9136: (caller: 00007FFD552B2907) LogHr(1) tid(938) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007 FFD55151415: (caller: 00007FFD552B65F4) Exception(1) tid(938) 8051100F ]
2023-09-27 09:26:00.459 [FAIL] WindowsPackageManager.dll!00007FFD553BFB12: ReturnHr(1) tid(938) 801901AD Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(52)\WindowsPackageManager.dll!00007 FFD553B6E0E: (caller: 00007FFD550FB960) Exception(2) tid(938) 801901AD ]
2023-09-27 09:26:00.459 [FAIL] WindowsPackageManager.dll!00007FFD55155EE7: LogHr(2) tid(938) 801901AD
2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007 FFD553E9193: (caller: 00007FFD552B2907) LogHr(3) tid(938) 801901AD Msg:[PreIndexedPackageInfo failed on alternate location -- winrt::hresult_error: The text associated with this error code could not be found].
2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFD552B6745: (caller: 00007FFD552B2907) Exception(3) tid(938) 8051100F
2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007 FFD553E69B1: (caller: 00007FFD5529D6C2) LogHr(4) tid(938) 8051100F Msg:[D:\a\_work1\\s\external\pkg\src\sAppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007 FFD552B6745: (caller: 00007FFD552B2907) Exception(3) tid(938) 8051100F ]
2023-09-27 09:26:00.460 [REPO] Source add/update failed, waiting a bit and retrying: winget
2023-09-27 09:26:02.498 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFD55151415: (caller: 00007FFD552B65F4) Exception(4) tid(938) 8051100F
2023-09-27 09:26:02.498 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007 FFD553E9136: (caller: 00007FFD552B2907) LogHr(5) tid(938) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007 FFD55151415: (caller: 00007FFD552B65F4) Exception(4) tid(938) 8051100F ]
2023-09-27 09:26:02.672 [FAIL] WindowsPackageManager.dll!00007FFD553BFB12: ReturnHr(2) tid(938) 801901AD Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(52)\WindowsPackageManager.dll!00007 FFD553B6E0E: (caller: 00007FFD550FB960) Exception(5) tid(938) 801901AD ]
2023-09-27 09:26:02.672 [FAIL] WindowsPackageManager.dll!00007FFD55155EE7: LogHr(6) tid(938) 801901AD
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007 FFD553E9193: (caller: 00007FFD552B2907) LogHr(7) tid(938) 801901AD Msg:[PreIndexedPackageInfo failed on alternate location -- winrt::hresult_error: The text associated with this error code could not be found].
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFD552B6745: (caller: 00007FFD552B2907) Exception(6) tid(938) 8051100F
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(562)\WindowsPackageManager.dll!00007 FFD553E5F74: (caller: 00007FFD55176B2F) LogHr(8) tid(938) 8051100F Msg:[D:\a\_work1\\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007 FFD552B6745: (caller: 00007FFD552B2907) Exception(6) tid(938) 8051100F ]
2023-09-27 09:26:02.672 [REPO] Failed to update source: winget
Environment
Gestionnaire de package Windows v1.6.2631
Copyright (c) Microsoft Corporation. Tous droits réservés.
Windows: Windows.Desktop v10.0.22621.2361
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.21.2631.0
Répertoires Winget
-----------------------------------------------------------------------------------------------------------------------------------------
Journaux %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Paramètres utilisateurs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Répertoire des liens portables (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Links
Répertoire des liens portables (ordinateur) C:\Program Files\WinGet\Links
Racine de package portable (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Racine du package portable C:\Program Files\WinGet\Packages
Racine de package portable (x86) C:\Program Files (x86)\WinGet\Packages
Téléchargements du programme d’installation D:\Users\Lusiiky\Downloads
Liens
---------------------------------------------------------------------------------------------
Déclaration de confidentialité https://aka.ms/winget-privacy
Contrat de licence https://aka.ms/winget-license
Avis de tiers https://aka.ms/winget-3rdPartyNotice
Page d’accueil https://aka.ms/winget
Conditions générales du Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Paramètre administrateur État
---------------------------------------------------
LocalManifestFiles Désactivé
BypassCertificatePinningForMicrosoftStore Désactivé
InstallerHashOverride Désactivé
LocalArchiveMalwareScanOverride Désactivé
We are experiencing the same.
https://cdn.winget.microsoft.com/cache returns 404 for me
My logs show a Forbidden (403):
`2023-09-20 14:53:03.329 [CORE] WinGet, version [1.5.2201], activity [{526FE31F-B772-4A4C-8A9B-8CF2DBF7D178}] 2023-09-20 14:53:03.330 [CORE] OS: Windows.Desktop v10.0.22621.2134 2023-09-20 14:53:03.331 [CORE] Command line Args: winget update sysinternals 2023-09-20 14:53:03.331 [CORE] Package: Microsoft.DesktopAppInstaller v1.20.2201.0 2023-09-20 14:53:03.331 [CORE] IsCOMCall:0; Caller: winget-cli 2023-09-20 14:53:03.344 [CLI ] WinGet invoked with arguments: 'update' 'sysinternals' 2023-09-20 14:53:03.345 [CLI ] Found subcommand: update 2023-09-20 14:53:03.345 [CLI ] Leaf command to execute: root:upgrade 2023-09-20 14:53:03.358 [CLI ] Executing command: upgrade 2023-09-20 14:53:03.413 [REPO] Default source requested, multiple sources available, adding all to source references. 2023-09-20 14:53:03.413 [REPO] Adding to source references msstore 2023-09-20 14:53:03.414 [REPO] Adding to source references winget 2023-09-20 14:53:03.414 [REPO] Source past auto update time [5 mins]; it has been at least 1005 mins 2023-09-20 14:53:03.417 [REPO] Source past auto update time [5 mins]; it has been at least 1005 mins 2023-09-20 14:53:03.893 [FAIL] WindowsPackageManager.dll!00007FF9D43AF002: ReturnHr(1) tid(44b0) 80190193 Forbidden (403). Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(50)\WindowsPackageManager.dll!00007FF9D4392ECE: (caller: 00007FF9D426FDB9) Exception(1) tid(44b0) 80190193 Forbidden (403). ]
2023-09-20 14:53:03.893 [FAIL] WindowsPackageManager.dll!00007FF9D41803E7: LogHr(1) tid(44b0) 80190193 Forbidden (403).
2023-09-20 14:53:03.896 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007FF9D43BDF66: (caller: 00007FF9D428D827) LogHr(2) tid(44b0) 80190193 Forbidden (403). Msg:[PreIndexedPackageInfo failed on primary location -- winrt::hresult_error: Forbidden (403).] `
It's already dead, our scripts are useless. Updating all sources... Updating source: msstore...
Done Updating source: winget... Cancelled
-
check this solution What resolved "Failed in attempting to update the source: winget" for me:
Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
No clue why this is necessary. Source list remains the same:
PS C:> winget source list Name Argument
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 winget https://cdn.winget.microsoft.com/cache
Yes, I did run the command mention at the top here: https://github.com/microsoft/winget-cli/issues/3652#issue-1907725867
But I was running a more recent version anyways (1.5? 1.6.??).
- check this solution What resolved "Failed in attempting to update the source: winget" for me: Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
For my part, I can't even access your link..:
The request is blocked.
20230927T082253Z-ev3f5tucv92238z7h59ekpx1m400000000ng00000001tu33
This also happens on a fresh Windows 10 install which I'm currently using. Apparently the problem is not a client issue, rather servers seems to be down at the moment.
this should probably be closed as a duplicate of #3652
this should probably be closed as a duplicate of #3652
In your opinion, should I wait for an "official" person to answer, or should I close it already?
I have the same problem, not helped even to add 152.195.19.97 cdn.winget.microsoft.com
winget source reset --force Resetting all sources...Done winget source update --verbose-logs Updating all sources... Updating source: msstore... Done Updating source: winget... Cancelled winget -v v1.6.2631
this should probably be closed as a duplicate of #3652
#3669 is closed but not solved. This issue should stay open because #3669 is not reopened and #3652 is not solved yet. Lots of people search for the error message but do not know anything about CDNs.
BTW:
> winget.exe --version
v1.6.2631
> winget update
Fehler beim Versuch, die Quelle zu aktualisieren: winget
This issue affected me as well. A brand new Windows 11 installation didn't help.
* check this solution What resolved "Failed in attempting to update the source: winget" for me: Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
This seems to have fixed the issue for me. Thanks!
All I get is:
The request is blocked.
20230927T110735Z-29ureh6f8d4z5a8ctns7xm9adg000000069g00000001f3za
(e.g. with Edge)
Most important note!
(e.g. with Edge)
Most important note!
I did it with Edge Version 117.0.2045.43 (Offizielles Build) (64-Bit) without success.
I also encountered this issue, but retrying a winget source update worked for me.
Key error from the log (v1.6.2631)
2023-09-27 07:15:50.502 [REPO] Source past auto update time [5 mins]; it has been at least 12 mins
2023-09-27 07:15:50.804 [FAIL] WindowsPackageManager.dll!00007FFC6151FC22: ReturnHr(1) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(112)\WindowsPackageManager.dll!00007FFC615185D3: (caller: 00007FFC6125B960) Exception(1) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:50.805 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614165F4) Exception(2) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
2023-09-27 07:15:50.805 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007FFC61549136: (caller: 00007FFC61412907) LogHr(1) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614165F4) Exception(2) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:50.968 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614166AF) Exception(3) tid(6a98) 8051100F
2023-09-27 07:15:50.968 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007FFC61549193: (caller: 00007FFC61412907) LogHr(2) tid(6a98) 8051100F Msg:[PreIndexedPackageInfo failed on alternate location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614166AF) Exception(3) tid(6a98) 8051100F ]
2023-09-27 07:15:50.968 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFC61416745: (caller: 00007FFC61412907) Exception(4) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
2023-09-27 07:15:50.968 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FFC615469B1: (caller: 00007FFC613FD6C2) LogHr(3) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFC61416745: (caller: 00007FFC61412907) Exception(4) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:50.968 [REPO] Source add/update failed, waiting a bit and retrying: winget
2023-09-27 07:15:53.080 [FAIL] WindowsPackageManager.dll!00007FFC6151FC22: ReturnHr(2) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(112)\WindowsPackageManager.dll!00007FFC615185D3: (caller: 00007FFC6125B960) Exception(5) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:53.081 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614165F4) Exception(6) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
2023-09-27 07:15:53.081 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007FFC61549136: (caller: 00007FFC61412907) LogHr(4) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614165F4) Exception(6) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:53.148 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614166AF) Exception(7) tid(6a98) 8051100F
2023-09-27 07:15:53.148 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007FFC61549193: (caller: 00007FFC61412907) LogHr(5) tid(6a98) 8051100F Msg:[PreIndexedPackageInfo failed on alternate location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFC612B1415: (caller: 00007FFC614166AF) Exception(7) tid(6a98) 8051100F ]
2023-09-27 07:15:53.148 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFC61416745: (caller: 00007FFC61412907) Exception(8) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
2023-09-27 07:15:53.148 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(562)\WindowsPackageManager.dll!00007FFC61545F74: (caller: 00007FFC612D6B2F) LogHr(6) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFC61416745: (caller: 00007FFC61412907) Exception(8) tid(6a98) 80070138 No ranges for the specified operation were able to be processed.
]
2023-09-27 07:15:53.148 [REPO] Failed to update source: winget
Same issue here:
Come on guys, how can a package manager be down for so long. Don't you have some mirrors?
Location: Germany
winget source update Updating all sources... Updating source: msstore... Done Updating source: winget... Cancelled
Same here.
> winget upgrade
Failed in attempting to update the source: winget
> winget --version
v1.6.2631
> winget source list
Name Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache
Location: Argentina
Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
This seems to fix the issue. But why though?
I did it with Edge
Version 117.0.2045.43 (Offizielles Build) (64-Bit)without success.
This seems to fix the issue. But why though?
Not working for me either. Location: Uruguay.
$ winget source update winget
Actualizando origen: winget...
Cancelado
$ winget --version
v1.6.2631
$ winget source list winget
Campo Valor
----------------------------------------------------
Nombre winget
Tipo Microsoft.PreIndexed.Package
Argumento https://cdn.winget.microsoft.com/cache
Datos Microsoft.Winget.Source_8wekyb3d8bbwe
Identificador Microsoft.Winget.Source_8wekyb3d8bbwe
Actualizado 2023-09-27 02:47:26.000
Same issue here and I was really hoping to use winget to update multiple offsite clients.
Same issue here: 2023-09-27 11:07:13.266 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA65F4) Exception(1) tid(d6c) 8051100F 2023-09-27 11:07:13.266 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007FFAE4ED9136: (caller: 00007FFAE4DA2907) LogHr(1) tid(d6c) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA65F4) Exception(1) tid(d6c) 8051100F ]
2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA66AF) Exception(2) tid(d6c) 8051100F 2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007FFAE4ED9193: (caller: 00007FFAE4DA2907) LogHr(2) tid(d6c) 8051100F Msg:[PreIndexedPackageInfo failed on alternate location -- D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA66AF) Exception(2) tid(d6c) 8051100F ]
2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFAE4DA6745: (caller: 00007FFAE4DA2907) Exception(3) tid(d6c) 8051100F 2023-09-27 11:07:13.469 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FFAE4ED69B1: (caller: 00007FFAE4D8EC2C) LogHr(3) tid(d6c) 8051100F Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFAE4DA6745: (caller: 00007FFAE4DA2907) Exception(3) tid(d6c) 8051100F ]
This has happened since I updated to build 22621.2361 released yesterday and after deleting Windows Dev Home and its dependencies such as Windows App Runtime. Any solution?
- check this solution What resolved "Failed in attempting to update the source: winget" for me: Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
It seemed like this didn't fix my problem, but after a reboot everything works fine. Thank you!
Same issue here: 2023-09-27 11:07:13.266 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA65F4) Exception(1) tid(d6c) 8051100F 2023-09-27 11:07:13.266 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007FFAE4ED9136: (caller: 00007FFAE4DA2907) LogHr(1) tid(d6c) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA65F4) Exception(1) tid(d6c) 8051100F ]
2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA66AF) Exception(2) tid(d6c) 8051100F 2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007FFAE4ED9193: (caller: 00007FFAE4DA2907) LogHr(2) tid(d6c) 8051100F Msg:[PreIndexedPackageInfo failed on alternate location -- D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFAE4C41415: (caller: 00007FFAE4DA66AF) Exception(2) tid(d6c) 8051100F ]
2023-09-27 11:07:13.468 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFAE4DA6745: (caller: 00007FFAE4DA2907) Exception(3) tid(d6c) 8051100F 2023-09-27 11:07:13.469 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FFAE4ED69B1: (caller: 00007FFAE4D8EC2C) LogHr(3) tid(d6c) 8051100F Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFAE4DA6745: (caller: 00007FFAE4DA2907) Exception(3) tid(d6c) 8051100F ]
This has happened since I updated to build 22621.2361 released yesterday and after deleting Windows Dev Home and its dependencies such as Windows App Runtime. Any solution?
- check this solution What resolved "Failed in attempting to update the source: winget" for me: Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge) Open the Downloads folder Right-click, choose install, follow the wizard to install the package.
It seemed like this didn't fix my problem, but after a reboot everything works fine. Thank you!
Tried the fix, was able to download and install.
Worked for a few min then the errors came back.
Hey all, we're clearly experiencing CDN issues. We have been working to retire the original CDN due to other challenges with certificate rotation from the past. We have several folks on-call actively working on this.
Related to:
- https://github.com/microsoft/winget-cli/issues/3652
This issue is back. How the heck does this issue keep coming back to haunt us?
same issue for me
I too get the issue. Ran source update --verbose-log and posting result here.
2023-10-05 08:04:55.764 [CORE] WinGet, version [1.6.2721], activity [{15BECA48-6703-41C7-B78E-BA9267815560}]
2023-10-05 08:04:55.765 [CORE] OS: Windows.Desktop v10.0.22621.2361
2023-10-05 08:04:55.765 [CORE] Command line Args: "C:\Users\$USERNAME$\AppData\Local\Microsoft\WindowsApps\winget.exe" source update --verbose-logs
2023-10-05 08:04:55.765 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.2721.0
2023-10-05 08:04:55.765 [CORE] IsCOMCall:0; Caller: winget-cli
2023-10-05 08:04:55.771 [CLI ] WinGet invoked with arguments: 'source' 'update' '--verbose-logs'
2023-10-05 08:04:55.774 [CLI ] Found subcommand: source
2023-10-05 08:04:55.774 [CLI ] Found subcommand: update
2023-10-05 08:04:55.774 [CLI ] Leaf command to execute: root:source:update
2023-10-05 08:04:55.774 [CLI ] Executing command: update
2023-10-05 08:04:55.775 [REPO] Additional sources GP is not enabled.
2023-10-05 08:04:55.775 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2023-10-05 08:04:55.775 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2023-10-05 08:04:55.775 [CORE] Admin settings was not found
2023-10-05 08:04:55.775 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G2 : PublicKey
Microsoft Azure TLS Issuing CA 01 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.775 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
Microsoft Azure ECC TLS Issuing CA 02 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.780 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.780 [YAML] Detected UTF-8
2023-10-05 08:04:55.780 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-10-05 08:04:55.788 [REPO] Additional sources GP is not enabled.
2023-10-05 08:04:55.788 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2023-10-05 08:04:55.788 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2023-10-05 08:04:55.788 [CORE] Admin settings was not found
2023-10-05 08:04:55.788 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G2 : PublicKey
Microsoft Azure TLS Issuing CA 01 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.788 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
Microsoft Azure ECC TLS Issuing CA 02 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.788 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.788 [YAML] Detected UTF-8
2023-10-05 08:04:55.788 [REPO] Named source requested, found: msstore
2023-10-05 08:04:55.789 [REPO] Additional sources GP is not enabled.
2023-10-05 08:04:55.789 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2023-10-05 08:04:55.789 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2023-10-05 08:04:55.789 [CORE] Admin settings was not found
2023-10-05 08:04:55.789 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G2 : PublicKey
Microsoft Azure TLS Issuing CA 01 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.789 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
Microsoft Azure ECC TLS Issuing CA 02 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.789 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.789 [YAML] Detected UTF-8
2023-10-05 08:04:55.789 [REPO] Named source to be updated, found: msstore
2023-10-05 08:04:55.789 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.902 [REPO] Additional sources GP is not enabled.
2023-10-05 08:04:55.903 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2023-10-05 08:04:55.903 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2023-10-05 08:04:55.903 [CORE] Admin settings was not found
2023-10-05 08:04:55.904 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G2 : PublicKey
Microsoft Azure TLS Issuing CA 01 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.904 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
Microsoft Azure ECC TLS Issuing CA 02 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.904 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.904 [YAML] Detected UTF-8
2023-10-05 08:04:55.905 [REPO] Named source requested, found: winget
2023-10-05 08:04:55.906 [REPO] Additional sources GP is not enabled.
2023-10-05 08:04:55.906 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2023-10-05 08:04:55.906 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2023-10-05 08:04:55.906 [CORE] Admin settings was not found
2023-10-05 08:04:55.907 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G2 : PublicKey
Microsoft Azure TLS Issuing CA 01 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.907 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
Microsoft Azure ECC TLS Issuing CA 02 : Subject | Issuer
sfdataservice.microsoft.com : Subject | Issuer
2023-10-05 08:04:55.907 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2023-10-05 08:04:55.907 [YAML] Detected UTF-8
2023-10-05 08:04:55.907 [REPO] Named source to be updated, found: winget
2023-10-05 08:04:55.930 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-10-05 08:04:55.930 [CORE] Found matching extension.
2023-10-05 08:04:55.934 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-10-05 08:04:56.229 [REPO] Header indicates version is: 2023.1005.1501.856
2023-10-05 08:04:56.229 [REPO] Remote source data (2023.1005.1501.856) was newer than existing (2023.930.722.582), updating
2023-10-05 08:04:56.231 [CORE] Downloading to path: C:\Users\$USERNAME$\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2023-10-05 08:04:56.231 [CORE] Started applying motw to C:\Users\$USERNAME$\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2023-10-05 08:04:56.232 [CORE] Finished applying motw
2023-10-05 08:04:56.233 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-10-05 08:04:56.281 [CORE] Download request status success.
2023-10-05 08:04:56.282 [CORE] Download size: 0
2023-10-05 08:04:56.283 [CORE] Download completed.
2023-10-05 08:04:56.290 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FF878101295: (caller: 00007FF87826797A) Exception(1) tid(1cc) 8051100F
2023-10-05 08:04:56.290 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FF87839A951: (caller: 00007FF87825173C) LogHr(1) tid(1cc) 8051100F Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FF878101295: (caller: 00007FF87826797A) Exception(1) tid(1cc) 8051100F ]
2023-10-05 08:04:56.290 [REPO] Source add/update failed, waiting a bit and retrying: winget
2023-10-05 08:05:00.493 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-10-05 08:05:00.493 [CORE] Found matching extension.
2023-10-05 08:05:00.497 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-10-05 08:05:00.563 [REPO] Header indicates version is: 2023.1005.1501.856
2023-10-05 08:05:00.563 [REPO] Remote source data (2023.1005.1501.856) was newer than existing (2023.930.722.582), updating
2023-10-05 08:05:00.565 [CORE] Downloading to path: C:\Users\$USERNAME$\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2023-10-05 08:05:00.566 [CORE] Started applying motw to C:\Users\$USERNAME$\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2023-10-05 08:05:00.567 [CORE] Finished applying motw
2023-10-05 08:05:00.567 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-10-05 08:05:00.568 [CORE] Download request status success.
2023-10-05 08:05:00.569 [CORE] Download size: 0
2023-10-05 08:05:00.569 [CORE] Download completed.
2023-10-05 08:05:00.571 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FF878101295: (caller: 00007FF87826797A) Exception(2) tid(1cc) 8051100F
2023-10-05 08:05:00.571 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(794)\WindowsPackageManager.dll!00007FF87839A57E: (caller: 00007FF87818A6A5) LogHr(2) tid(1cc) 8051100F Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FF878101295: (caller: 00007FF87826797A) Exception(2) tid(1cc) 8051100F ]
2023-10-05 08:05:00.571 [REPO] Failed to update source: winget
2023-10-05 08:05:00.608 [CLI ] Leaf command succeeded: root:source:update
Replaced real username with $USERNAME$ for security.
Hey all, we're clearly experiencing CDN issues. We have been working to retire the original CDN due to other challenges with certificate rotation from the past. We have several folks on-call actively working on this.
It looks like the issue is back. At least for devices/users located in India.
it works fine when i updated winget to v1.6.2771 manually