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

[Package Issue]: CoderBag.QuickCPUx64 #152049

Closed
2 tasks done
Atario opened this issue May 3, 2024 · 0 comments · Fixed by #152057
Closed
2 tasks done

[Package Issue]: CoderBag.QuickCPUx64 #152049

Atario opened this issue May 3, 2024 · 0 comments · Fixed by #152057
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated

Comments

@Atario
Copy link

Atario commented May 3, 2024

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installer hash mismatch.

Brief description of your issue

Installer hash does not match.

Steps to reproduce

Install CoderBag.QuickCPUx64 via winget (current package version = 4.8.0.0)

Actual behavior

Installation fails with "Installer hash does not match."

Expected behavior

Installation succeeds.

Environment

Windows Package Manager v1.7.11132
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11132.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

Screenshots and Logs

2024-05-02 23:35:16.404 [CORE] WinGet, version [1.7.11132], activity [{5225C7BD-FD2F-4FB8-AF8E-01E969568E59}]
2024-05-02 23:35:16.404 [CORE] OS: Windows.Desktop v10.0.22631.3447
2024-05-02 23:35:16.404 [CORE] Command line Args: "C:\Users\Atario\AppData\Local\Microsoft\WindowsApps\winget.exe" install --id CoderBag.QuickCPUx64 --exact --accept-source-agreements --silent --disable-interactivity --accept-package-agreements
2024-05-02 23:35:16.404 [CORE] Package: Microsoft.DesktopAppInstaller v1.22.11132.0
2024-05-02 23:35:16.404 [CORE] IsCOMCall:0; Caller: winget-cli
2024-05-02 23:35:16.408 [CLI ] WinGet invoked with arguments: 'install' '--id' 'CoderBag.QuickCPUx64' '--exact' '--accept-source-agreements' '--silent' '--disable-interactivity' '--accept-package-agreements'
2024-05-02 23:35:16.409 [CLI ] Found subcommand: install
2024-05-02 23:35:16.409 [CLI ] Leaf command to execute: root:install
2024-05-02 23:35:16.410 [CLI ] Executing command: install
2024-05-02 23:35:16.416 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-05-02 23:35:16.416 [REPO] Adding to source references msstore
2024-05-02 23:35:16.416 [REPO] Adding to source references winget
2024-05-02 23:35:16.416 [CLI ] Created authentication arguments. Mode: silent, Account:
2024-05-02 23:35:16.425 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-05-02 23:35:16.425 [CORE] Found matching extension.
2024-05-02 23:35:16.427 [REPO] Source winget after auto update time [5 mins]; it has been at least 4563 mins
2024-05-02 23:35:16.430 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-05-02 23:35:16.430 [CORE] Found matching extension.
2024-05-02 23:35:16.527 [CORE] Downloading to path: C:\Users\Atario\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-05-02 23:35:16.527 [CORE] Started applying motw to C:\Users\Atario\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2024-05-02 23:35:16.529 [CORE] Finished applying motw
2024-05-02 23:35:16.529 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2024-05-02 23:35:16.886 [CORE] Download completed.
2024-05-02 23:35:16.931 [CORE] Started trust validation of msix at: C:\Users\Atario\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-05-02 23:35:16.964 [CORE] Result for certificate chain validation of Microsoft origin: 0
2024-05-02 23:35:16.996 [CORE] Result for trust info validation of the msix: 0
2024-05-02 23:35:16.996 [CORE] Starting AddPackage operation #0: file:///C:/Users/Atario/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2024-05-02 23:35:16.999 [CORE] Begin waiting for operation #0
2024-05-02 23:35:16.999 [CORE] Begin blocking for operation #0
2024-05-02 23:35:17.556 [CORE] Successfully completed #0
2024-05-02 23:35:17.562 [REPO] Multiple sources available, creating aggregated source.
2024-05-02 23:35:17.562 [REPO] Adding to aggregated source: msstore
2024-05-02 23:35:17.562 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-05-02 23:35:17.644 [REPO] Response status: 200
2024-05-02 23:35:17.644 [REPO] Authentication node not found. Assuming authentication type none.
2024-05-02 23:35:17.644 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-05-02 23:35:17.672 [REPO] Response status: 200
2024-05-02 23:35:17.672 [REPO] Authentication node not found. Assuming authentication type none.
2024-05-02 23:35:17.672 [REPO] Adding to aggregated source: winget
2024-05-02 23:35:17.676 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-05-02 23:35:17.676 [CORE] Found matching extension.
2024-05-02 23:35:17.695 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.503.345.335_neutral__8wekyb3d8bbwe\Public\index.db'
2024-05-02 23:35:17.695 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-02 19:44:58.000]
2024-05-02 23:35:17.716 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-05-02 23:35:17.719 [REPO] Reading MSI UpgradeCodes
2024-05-02 23:35:17.782 [REPO] Reading MSI UpgradeCodes
2024-05-02 23:35:17.812 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(1) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.813 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(2) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.819 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(3) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.822 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(4) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.842 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(5) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.865 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(6) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.867 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(7) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.868 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(8) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.874 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(9) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.946 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(10) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:17.993 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFAA5F373EC: (caller: 00007FFAA5F3E049) Exception(11) tid(1d18) 800700B7 Cannot create a file when that file already exists.

2024-05-02 23:35:18.095 [REPO] Opening database for ReadWrite at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-05-02 23:35:18.095 [REPO] Opened SQLite Index with version [1.3], last write [2024-01-10 09:32:07.000]
2024-05-02 23:35:18.096 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/CoderBag.QuickCPUx64?Market=US
2024-05-02 23:35:18.200 [REPO] Response status: 200
2024-05-02 23:35:18.203 [REPO] Opening database for ReadWrite at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-05-02 23:35:18.204 [REPO] Opened SQLite Index with version [1.6], last write [2024-04-17 03:33:42.000]
2024-05-02 23:35:18.208 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{bb986856-9763-4eb8-b610-662256536712}'[Exact] Include:NormalizedNameAndPublisher='quickcpu'+'coderbag'[Exact]
2024-05-02 23:35:18.209 [CLI ] Found one app. App id: CoderBag.QuickCPUx64 App name: Quick CPU x64
2024-05-02 23:35:18.213 [REPO] Attempting to open pinning database: C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-05-02 23:35:18.213 [REPO] ... opening existing pinning database
2024-05-02 23:35:18.213 [REPO] Opening database for Read at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-05-02 23:35:18.213 [REPO] Opened Pinning Index with version [1.0], last write [2024-01-10 12:59:02.000]
2024-05-02 23:35:18.213 [REPO] Downloading manifest
2024-05-02 23:35:18.213 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/c/CoderBag/QuickCPUx64/4.8.0.0/77be
2024-05-02 23:35:18.395 [CORE] Download hash: f1872370ada1d7fe43741be6994da4d2779ac800c1a07e03e8ddbdf45331eab3
2024-05-02 23:35:18.395 [CORE] Download completed.
2024-05-02 23:35:18.396 [CLI ] Manifest fields: Name [Quick CPU x64], Version [4.8.0.0]
2024-05-02 23:35:18.403 [CLI ] Generated temp download path: C:\Users\Atario\AppData\Local\Temp\WinGet\CoderBag.QuickCPUx64.4.8.0.0\55a46b066ae76ef85ec48ad4f4d30175d9737b754277b5c462eeeedcd9f67b1a
2024-05-02 23:35:18.404 [CORE] Downloading to path: C:\Users\Atario\AppData\Local\Temp\WinGet\CoderBag.QuickCPUx64.4.8.0.0\55a46b066ae76ef85ec48ad4f4d30175d9737b754277b5c462eeeedcd9f67b1a
2024-05-02 23:35:18.404 [CORE] DeliveryOptimization downloading from url: https://coderbag.com/assets/downloads/cpm/currentversion/QuickCpuSetup64.zip
2024-05-02 23:35:20.217 [CORE] Download completed.
2024-05-02 23:35:20.248 [CORE] Started applying motw to C:\Users\Atario\AppData\Local\Temp\WinGet\CoderBag.QuickCPUx64.4.8.0.0\55a46b066ae76ef85ec48ad4f4d30175d9737b754277b5c462eeeedcd9f67b1a with zone: 3
2024-05-02 23:35:20.249 [CORE] Finished applying motw
2024-05-02 23:35:20.249 [CLI ] Package hash verification failed. SHA256 in manifest [55a46b066ae76ef85ec48ad4f4d30175d9737b754277b5c462eeeedcd9f67b1a] does not match download [9009f277ac4094008fdb5711c0cd158caff313b291b62d22180a0411fae65aac]
2024-05-02 23:35:20.250 [CLI ] Terminating context: 0x8a150011 at C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1b7

@Atario Atario added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 3, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage This work item needs to be triaged by a member of the core team. Package-Update This package needs to be updated Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels May 3, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants