microsoft / microsoft/winget-cli
Error 0x8a15003f on "winget upgrade" (The source data is corrupted or tampered)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
When trying to use winget upgrade --all, I get the following error message:
[...]
55 upgrades available.
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
An unexpected error occurred while executing the command:
0x8a15003f : The source data is corrupted or tampered
Steps to reproduce
- Execute
winget upgrade --all
Expected behavior
Installing available package updates
Actual behavior
Error 0x8a15003f : The source data is corrupted or tampered
Environment
Windows Package Manager v1.7.10582
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3235
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10582.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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
Log File
2024-03-02 19:53:51.106 [CLI ] Starting installer selection.
2024-03-02 19:53:51.106 [CLI ] Installer [X86,msi,Machine,en-US] not applicable: Installed package type 'exe' is not compatible with installer type msi, or with accepted type(s) unknown
2024-03-02 19:53:51.106 [CLI ] Installer [X64,msi,Machine,en-US] not applicable: Installed package type 'exe' is not compatible with installer type msi, or with accepted type(s) unknown
2024-03-02 19:53:51.106 [CLI ] Installer [Arm64,msi,Machine,en-US] not applicable: Installed package type 'exe' is not compatible with installer type msi, or with accepted type(s) unknown
2024-03-02 19:53:51.106 [CLI ] Installer [Arm64,msi,Machine,en-US] not applicable: Machine is not compatible with Arm64
2024-03-02 19:53:51.107 [REPO] Downloading manifest
2024-03-02 19:53:51.107 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/Edge/119.0.2151.72/77be
2024-03-02 19:53:51.610 [CORE] Download request status success.
2024-03-02 19:53:51.610 [CORE] Download size: 3002
2024-03-02 19:53:51.611 [CORE] Download hash: cce256484e630930c943175a12171cb2148d9d5d5acf0c4e9542e0d3cf381721
2024-03-02 19:53:51.611 [CORE] Download completed.
2024-03-02 19:53:51.611 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(156)\WindowsPackageManager.dll!00007FF99944ECC2: (caller: 00007FF99944DE86) Exception(33) tid(2b0) 8A15003F
2024-03-02 19:53:51.611 [REPO] Downloading manifest failed, waiting a bit and retrying: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/Edge/119.0.2151.72/77be
2024-03-02 19:53:52.121 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/Edge/119.0.2151.72/77be
2024-03-02 19:53:52.121 [CORE] Download request status success.
2024-03-02 19:53:52.121 [CORE] Download size: 3002
2024-03-02 19:53:52.121 [CORE] Download hash: cce256484e630930c943175a12171cb2148d9d5d5acf0c4e9542e0d3cf381721
2024-03-02 19:53:52.121 [CORE] Download completed.
2024-03-02 19:53:52.122 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(156)\WindowsPackageManager.dll!00007FF99944ECC2: (caller: 00007FF99944DE86) Exception(34) tid(2b0) 8A15003F
2024-03-02 19:53:52.122 [CLI ] Caught wil::ResultException: C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\SQLiteIndexSource.cpp(156)\WindowsPackageManager.dll!00007FF99944ECC2: (caller: 00007FF99944DE86) Exception(34) tid(2b0) 8A15003F
Note
I've already tried:
winget source resetwith and without--forceGet-AppxPackage -Name 'Microsoft.DesktopAppInstaller' | Reset-AppxPackage- running with
--verbose
none of which made any difference.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing winget upgrade --all in the reported Windows/WinGet environment and review the log around external/pkg/src/AppInstallerRepositoryCore/Microsoft/SQLiteIndexSource.cpp line 156. Trace the failed manifest download for Microsoft Edge and compare it with the expected package-update behavior; done means identifying and resolving the cause of error 0x8a15003f with a regression test or documented reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sqlite
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100