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

Winget fails "upgrade --all" with unknown error #3669

Closed
secana opened this issue Sep 25, 2023 · 14 comments
Closed

Winget fails "upgrade --all" with unknown error #3669

secana opened this issue Sep 25, 2023 · 14 comments
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@secana
Copy link

secana commented Sep 25, 2023

Brief description of your issue

Trying to upgrade all packages with winget fails.

winget --version
v1.4.11071

System: Windows 11 22H2 (OS Build 22621.2283)
Architecture: ARM64

Steps to reproduce

winget upgrade --all
Fehler beim Versuch, die Quelle zu aktualisieren: winget
Name                                           ID                                    Version       Verfügbar     Quelle
-----------------------------------------------------------------------------------------------------------------------
Visual Studio Community 2022 (2)               Microsoft.VisualStudio.2022.Community 17.7.3        17.7.4        winget
lazygit                                        JesseDuffield.lazygit                 0.40.0        0.40.2        winget
Oh My Posh version 18.9.1                      JanDeDobbeleer.OhMyPosh               18.9.1        18.10.1       winget
Microsoft Visual C++ 2013 Redistributable (x6… Microsoft.VCRedist.2013.x64           12.0.30501.0  12.0.40664.0  winget
Microsoft Visual C++ 2022 Redistributable (Ar… Microsoft.VCRedist.2022.arm64         14.30.30704.0 14.34.31823.3 winget
Node.js                                        OpenJS.NodeJS                         20.6.0        20.7.0        winget
Neovim                                         Neovim.Neovim                         0.9.1         0.9.2         winget
Microsoft Visual C++ 2013 Redistributable (x8… Microsoft.VCRedist.2013.x86           12.0.30501.0  12.0.40664.0  winget
8 Aktualisierungen verfügbar.
Unerwarteter Fehler beim Ausführen des Befehls:
Download request status is not success.
0x801901ad : unknown error

Expected behavior

Upgrade of all packages succeeds.

Actual behavior

Unerwarteter Fehler beim Ausführen des Befehls:
Download request status is not success.
0x801901ad : unknown error

Logs:

2023-09-25 19:10:38.188 [CORE] WinGet, version [1.4.11071], activity [{F7E22F56-8CC4-4CC9-BB19-60B6542D89F6}]
2023-09-25 19:10:38.188 [CORE] OS: Windows.Desktop v10.0.22621.2283
2023-09-25 19:10:38.188 [CORE] Command line Args: "C:\Users\_\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade --all
2023-09-25 19:10:38.188 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.11071.0
2023-09-25 19:10:38.188 [CORE] IsCOMCall:0; Caller: winget-cli
2023-09-25 19:10:38.190 [CLI ] WinGet invoked with arguments: 'upgrade' '--all'
2023-09-25 19:10:38.190 [CLI ] Found subcommand: upgrade
2023-09-25 19:10:38.191 [CLI ] Leaf command to execute: root:upgrade
2023-09-25 19:10:38.192 [CLI ] Executing command: upgrade
2023-09-25 19:10:38.200 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-09-25 19:10:38.200 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-09-25 19:10:38.200 [REPO] Adding to source references msstore
2023-09-25 19:10:38.200 [REPO] Adding to source references winget
2023-09-25 19:10:38.200 [REPO] Source past auto update time [5 mins]; it has been at least 6 mins
2023-09-25 19:10:39.514 [FAIL] WindowsPackageManager.dll!00007FF8436577E4: ReturnHr(1) tid(5f4) 801901AD     Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(50)\WindowsPackageManager.dll!00007FF84363E0B8: (caller: 00007FF843513AE4) Exception(1) tid(5f4) 801901AD ] 

2023-09-25 19:10:39.514 [FAIL] WindowsPackageManager.dll!00007FF8434B5CE4: LogHr(1) tid(5f4) 801901AD 
2023-09-25 19:10:39.515 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FF843662CE0: (caller: 00007FF84351BE30) LogHr(2) tid(5f4) 801901AD     Msg:[winrt::hresult_error: The text associated with this error code could not be found.] 

2023-09-25 19:10:39.515 [REPO] Source add/update failed, waiting a bit and retrying: winget
2023-09-25 19:10:41.792 [FAIL] WindowsPackageManager.dll!00007FF8436577E4: ReturnHr(2) tid(5f4) 801901AD     Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(50)\WindowsPackageManager.dll!00007FF84363E0B8: (caller: 00007FF843513AE4) Exception(2) tid(5f4) 801901AD ] 

2023-09-25 19:10:41.792 [FAIL] WindowsPackageManager.dll!00007FF8434B5CE4: LogHr(3) tid(5f4) 801901AD 
2023-09-25 19:10:41.792 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(540)\WindowsPackageManager.dll!00007FF84366226C: (caller: 00007FF843403A2C) LogHr(4) tid(5f4) 801901AD     Msg:[winrt::hresult_error: The text associated with this error code could not be found.] 

2023-09-25 19:10:41.792 [REPO] Failed to update source: winget
2023-09-25 19:10:41.794 [REPO] Multiple sources available, creating aggregated source.
2023-09-25 19:10:41.794 [REPO] Adding to aggregated source: msstore
2023-09-25 19:10:41.794 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-09-25 19:10:42.707 [REPO] Response status: 200
2023-09-25 19:10:42.708 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-09-25 19:10:42.738 [REPO] Response status: 200
2023-09-25 19:10:42.739 [REPO] Adding to aggregated source: winget
2023-09-25 19:10:42.756 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-09-25 19:10:42.756 [CORE] Found matching extension.
2023-09-25 19:10:42.787 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.925.1430.215_neutral__8wekyb3d8bbwe\Public\index.db'
2023-09-25 19:10:42.787 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.925.1430.215_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-09-25 19:10:42.788 [REPO] Opened SQLite Index with version [1.6], last write [2023-09-25 15:29:41.000]
2023-09-25 19:10:42.897 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-09-25 19:10:42.897 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-09-25 19:10:42.897 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-09-25 19:10:42.931 [REPO] Reading MSI UpgradeCodes
2023-09-25 19:10:42.933 [REPO] Examining ARP entries for Machine | Arm64
2023-09-25 19:10:42.938 [REPO] Examining ARP entries for Machine | X86
2023-09-25 19:10:42.948 [REPO] Reading MSI UpgradeCodes
2023-09-25 19:10:42.950 [REPO] Examining ARP entries for User | Arm64
2023-09-25 19:10:43.278 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-09-25 19:10:43.278 [SQL ] Opening SQLite connection #3: 'C:\Users\_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-09-25 19:10:43.279 [REPO] Opened SQLite Index with version [1.6], last write [2023-06-25 16:40:08.000]
2023-09-25 19:10:43.323 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-09-25 19:10:43.323 [SQL ] Opening SQLite connection #4: 'C:\Users\_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-09-25 19:10:43.324 [REPO] Opened SQLite Index with version [1.6], last write [2023-09-23 11:18:49.000]
2023-09-25 19:10:43.858 [REPO] Found multiple matches for installed package [{050d4fc8-5d48-4b8f-8972-47c82c46020f}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{050d4fc8-5d48-4b8f-8972-47c82c46020f}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2013redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.859 [REPO]   Checking match with package id: Microsoft.VCRedist.2013.x64
2023-09-25 19:10:43.859 [REPO]   Checking match with package id: Microsoft.VCRedist.2013.x86
2023-09-25 19:10:43.867 [REPO] Found multiple matches for installed package [{1D8E6291-B0D5-35EC-8441-6616F567A0F7}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{1d8e6291-b0d5-35ec-8441-6616f567a0f7}'[Exact] Include:UpgradeCode='{5b75f761-bac8-33bc-a381-464dddd813a3}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2010redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.867 [REPO]   Checking match with package id: Microsoft.VCRedist.2010.x64
2023-09-25 19:10:43.868 [REPO]   Checking match with package id: Microsoft.VCRedist.2010.x86
2023-09-25 19:10:43.880 [REPO] Found multiple matches for installed package [{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2012redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.880 [REPO]   Checking match with package id: Microsoft.VCRedist.2012.x86
2023-09-25 19:10:43.881 [REPO]   Checking match with package id: Microsoft.VCRedist.2012.x64
2023-09-25 19:10:43.886 [REPO] Found multiple matches for installed package [{410c0ee1-00bb-41b6-9772-e12c2828b02f}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{410c0ee1-00bb-41b6-9772-e12c2828b02f}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualcredistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.887 [REPO]   Checking match with package id: Microsoft.VCRedist.2015+.x86
2023-09-25 19:10:43.888 [REPO]   Checking match with package id: Microsoft.VCRedist.2015+.x64
2023-09-25 19:10:43.888 [REPO]   Appropriate available package could not be determined
2023-09-25 19:10:43.965 [REPO] Found multiple matches for installed package [{8bdfe669-9705-4184-9368-db9ce581e0e7}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{8bdfe669-9705-4184-9368-db9ce581e0e7}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualcredistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.966 [REPO]   Checking match with package id: Microsoft.VCRedist.2015+.x86
2023-09-25 19:10:43.967 [REPO]   Checking match with package id: Microsoft.VCRedist.2015+.x64
2023-09-25 19:10:43.967 [REPO]   Appropriate available package could not be determined
2023-09-25 19:10:43.971 [REPO] Found multiple matches for installed package [{9A25302D-30C0-39D9-BD6F-21E6EC160475}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{9a25302d-30c0-39d9-bd6f-21e6ec160475}'[Exact] Include:UpgradeCode='{aa783a14-a7a3-3d33-95f0-9a351d530011}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.972 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x86
2023-09-25 19:10:43.972 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x64
2023-09-25 19:10:43.972 [REPO]   Found multiple packages with strong match fields
2023-09-25 19:10:43.972 [REPO]   Appropriate available package could not be determined
2023-09-25 19:10:43.988 [REPO] Found multiple matches for installed package [{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{f0c3e5d1-1ade-321e-8167-68ef0de699a5}'[Exact] Include:UpgradeCode='{1f4f1d2a-d9da-32cf-9909-48485da06dd5}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2010redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.988 [REPO]   Checking match with package id: Microsoft.VCRedist.2010.x86
2023-09-25 19:10:43.989 [REPO]   Checking match with package id: Microsoft.VCRedist.2010.x64
2023-09-25 19:10:43.992 [REPO] Found multiple matches for installed package [{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{ff66e9f6-83e7-3a3e-af14-8de9a809a6a4}'[Exact] Include:UpgradeCode='{aa783a14-a7a3-3d33-95f0-9a351d530011}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2008redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.993 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x86
2023-09-25 19:10:43.993 [REPO]   Checking match with package id: Microsoft.VCRedist.2008.x64
2023-09-25 19:10:43.993 [REPO]   Found multiple packages with strong match fields
2023-09-25 19:10:43.993 [REPO]   Appropriate available package could not be determined
2023-09-25 19:10:43.995 [REPO] Found multiple matches for installed package [{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2012redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:43.996 [REPO]   Checking match with package id: Microsoft.VCRedist.2012.x64
2023-09-25 19:10:43.996 [REPO]   Checking match with package id: Microsoft.VCRedist.2012.x86
2023-09-25 19:10:43.999 [REPO] Found multiple matches for installed package [{d7f51c79-38df-4c6f-be17-0fcce28bc257}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{d7f51c79-38df-4c6f-be17-0fcce28bc257}'[Exact] Include:NormalizedNameAndPublisher='windowssoftwaredevelopmentkitwindows'+'microsoft'[Exact]]
2023-09-25 19:10:44.000 [REPO]   Checking match with package id: Microsoft.WindowsSDK.10.0.22621
2023-09-25 19:10:44.000 [REPO]   Checking match with package id: Microsoft.WindowsSDK.10.0.22000
2023-09-25 19:10:44.001 [REPO]   Checking match with package id: Microsoft.WindowsSDK.10.0.19041
2023-09-25 19:10:44.001 [REPO]   Appropriate available package could not be determined
2023-09-25 19:10:44.015 [REPO] Found multiple matches for installed package [{f65db027-aff3-4070-886a-0d87064aabb1}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{f65db027-aff3-4070-886a-0d87064aabb1}'[Exact] Include:NormalizedNameAndPublisher='microsoftvisualc2013redistributable'+'microsoft'[Exact]]
2023-09-25 19:10:44.016 [REPO]   Checking match with package id: Microsoft.VCRedist.2013.x86
2023-09-25 19:10:44.016 [REPO]   Checking match with package id: Microsoft.VCRedist.2013.x64
2023-09-25 19:10:44.057 [REPO] Downloading manifest
2023-09-25 19:10:44.057 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/VisualStudio/2022/Community/17.7.4/9893-Microsoft.VisualStudio.2022.Community.yaml
2023-09-25 19:10:44.169 [CORE] Download request failed. Returned status: 429
2023-09-25 19:10:44.169 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FF8434C6B70: (caller: 00007FF8435292B8) Exception(3) tid(5f4) 801901AD     Msg:[Download request status is not success.] 

2023-09-25 19:10:44.169 [REPO] Downloading manifest failed, waiting a bit and retrying: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/VisualStudio/2022/Community/17.7.4/9893-Microsoft.VisualStudio.2022.Community.yaml
2023-09-25 19:10:44.676 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/VisualStudio/2022/Community/17.7.4/9893-Microsoft.VisualStudio.2022.Community.yaml
2023-09-25 19:10:44.744 [CORE] Download request failed. Returned status: 429
2023-09-25 19:10:44.744 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FF8434C6B70: (caller: 00007FF8435292B8) Exception(4) tid(5f4) 801901AD     Msg:[Download request status is not success.] 

2023-09-25 19:10:44.745 [CLI ] Caught wil::ResultException: D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FF8434C6B70: (caller: 00007FF8435292B8) Exception(4) tid(5f4) 801901AD     Msg:[Download request status is not success.] 

Environment

Windows-Paket-Manager v1.4.11071
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22621.2283
Systemarchitektur: Arm64
Paket: Microsoft.DesktopAppInstaller v1.19.11071.0

Protokolle: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Benutzereinstellungen: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Sep 25, 2023
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Command-Upgrade Issue related to WinGet Upgrade and removed Needs-Triage Issue need to be triaged labels Sep 25, 2023
@denelon
Copy link
Contributor

denelon commented Sep 25, 2023

Do you get the same error with WinGet 1.5?

Note: we're about ready to roll out WinGet 1.6.

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Sep 25, 2023
@secana
Copy link
Author

secana commented Sep 25, 2023

An update to v1.5.2201 fixed the issue. But I had to update manually, as the MS Store did not show any update. Thanks for the fast response, I consider the issue fixed.

@secana secana closed this as completed Sep 25, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Sep 25, 2023
@gpshonik
Copy link

gpshonik commented Sep 26, 2023

I'm getting the same error with v1.6.2631

Edit: The issue just spontaneously resolved.

@guilhermejcgois
Copy link

Same here, with v1.7.2491-preview and Windows 11 Home Insider Preview, build 23545

@StephanHagge
Copy link

Getting the same "too many requests" error on version v1.5.2201, Win 11 Enterprise build 22621

@MagicAndre1981
Copy link

MagicAndre1981 commented Sep 26, 2023

I also get the same under Windows 10 19045.3448 x64 German:

Windows-Paket-Manager v1.6.2631
Windows: Windows.Desktop v10.0.19045.3448
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.21.2631.0

2023-09-26 08:10:56.199 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FFC9189B946: (caller: 00007FFC918D85A2) Exception(3) tid(33ec) 801901AD Msg:[Download request status is not success.]

2023-09-26 08:10:56.200 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(97)\WindowsPackageManager.dll!00007FFC91A0C887: (caller: 00007FFC917F2A96) LogHr(1) tid(33ec) 801901AD Msg:[GetManifest failed on primary location -- D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FFC9189B946: (caller: 00007FFC918D85A2) Exception(3) tid(33ec) 801901AD Msg:[Download request status is not success.]
]
2023-09-26 08:10:56.726 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(107)\WindowsPackageManager.dll!00007FFC918D7EB0: (caller: 00007FFC917F2A96) Exception(6) tid(33ec) 801901AD
2023-09-26 08:10:56.727 [CLI ] Caught wil::ResultException: D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(107)\WindowsPackageManager.dll!00007FFC918D7EB0: (caller: 00007FFC917F2A96) Exception(6) tid(33ec) 801901AD

@MagicAndre1981
Copy link

Also fails for my Win11 dev VM:

2023-09-26 09:05:28.700 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:28.818 [CORE] Download request failed. Returned status: 429
2023-09-26 09:05:28.819 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FFE8095B946: (caller: 00007FFE809985A2) Exception(2) tid(2754) 801901AD     Msg:[Download request status is not success.] 

2023-09-26 09:05:28.820 [REPO] Downloading manifest failed, waiting a bit and retrying: https://cdn.winget.microsoft.com/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:29.332 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:29.445 [CORE] Download request failed. Returned status: 429
2023-09-26 09:05:29.445 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FFE8095B946: (caller: 00007FFE809985A2) Exception(3) tid(2754) 801901AD     Msg:[Download request status is not success.] 

2023-09-26 09:05:29.445 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(97)\WindowsPackageManager.dll!00007FFE80ACC887: (caller: 00007FFE808A2C9A) LogHr(1) tid(2754) 801901AD     Msg:[GetManifest failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(67)\WindowsPackageManager.dll!00007FFE8095B946: (caller: 00007FFE809985A2) Exception(3) tid(2754) 801901AD     Msg:[Download request status is not success.] 
] 

2023-09-26 09:05:29.445 [REPO] Downloading manifest
2023-09-26 09:05:29.445 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:29.452 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFE8095AEEE: (caller: 00007FFE809985A2) Exception(4) tid(2754) 80072EE7     Msg:[InternetOpenUrl() failed.] 

2023-09-26 09:05:29.452 [REPO] Downloading manifest failed, waiting a bit and retrying: https://winget.azureedge.net/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:29.958 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml
2023-09-26 09:05:29.959 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFE8095AEEE: (caller: 00007FFE809985A2) Exception(5) tid(2754) 80072EE7     Msg:[InternetOpenUrl() failed.] 

2023-09-26 09:05:29.959 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(105)\WindowsPackageManager.dll!00007FFE80ACC8C7: (caller: 00007FFE808A2C9A) LogHr(2) tid(2754) 80072EE7     Msg:[GetManifest failed on alternate location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFE8095AEEE: (caller: 00007FFE809985A2) Exception(5) tid(2754) 80072EE7     Msg:[InternetOpenUrl() failed.] 
] 

2023-09-26 09:05:29.959 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(107)\WindowsPackageManager.dll!00007FFE80997EB0: (caller: 00007FFE808A2C9A) Exception(6) tid(2754) 801901AD 
2023-09-26 09:05:29.962 [CLI ] Caught wil::ResultException: D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(107)\WindowsPackageManager.dll!00007FFE80997EB0: (caller: 00007FFE808A2C9A) Exception(6) tid(2754) 801901AD 

when I use wget https://cdn.winget.microsoft.com/cache/manifests/g/Git/Git/2.42.0.2/b29c-Git.Git.yaml the download works.

Strange that download fails when trying the upgrade command.

@xantilon
Copy link

This should be reopened. I am still getting

winget upgrade microsoft.powershell
Unerwarteter Fehler beim Ausführen des Befehls:
0x801901ad : unknown error

@MagicAndre1981
Copy link

now it suddently works for me again. @xantilon try again.

@HayashiNiizuki
Copy link

occur this error on my both two laptop, my version is upgraded to v1.6.2631

@HayashiNiizuki
Copy link

@JanicePolito
Copy link

Same problem here
Windows 11 Pro
2023-09-27

Logfile:
WinGet-2023-09-27-16-14-35.284.log

@gpshonik
Copy link

@denelon Would you mind re-opening this issue? Several of us are still having problems.

@AlfaJackal
Copy link

Same here ... Win 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

10 participants