Cannot install sdk/toolchain v2.9.3 because sha512 checksum error

Hi,

 I'm trying to install the nordic sdk/toolchain combo via nrfutil command line (Windows x64) and I get the following error:

>nrfutil sdk-manager install v2.9.3                  
Using the global server for downloads. Use '--region cn' for the server in Mainland China.
Error: Downloaded tarball failed sha512 checksum

Is there any known way to resolve this issue?

Best regards

Parents
  • Update:

    I've found out that actually the page relating to versioning is somehow wrong because there are multiple names and hashes mapping to different packages. link:
    files.nordicsemi.com/ui/api/v1/download/contentBrowsing/NCS/external/bundles/v3/index-windows-x86_64.json?isNativeBrowsing=true

    for example:

        {
            "json_api_version": 2,
            "key": "v2.9.2",
            "metadata": {
                "version": "b620d30767",
                "filename": "ncs-toolchain-x86_64-windows-b620d30767.tar.gz",
                "sha512": "4ce23ddb3b1cdb9574246ace46562e6ebe5d2503738193b9412be75de2b76602c91810f5696b88eaf6f9414a028458c8d1a4aebd630314cfbb6181d8783baa37",
                "timestamp": 1732043722
            }
        },
    
    {
            "json_api_version": 2,
            "key": "v2.9.3",
            "metadata": {
                "version": "b620d30767",
                "filename": "ncs-toolchain-x86_64-windows-b620d30767.tar.gz",
                "sha512": "4ce23ddb3b1cdb9574246ace46562e6ebe5d2503738193b9412be75de2b76602c91810f5696b88eaf6f9414a028458c8d1a4aebd630314cfbb6181d8783baa37",
                "timestamp": 1732043722
            }
        },
    

  • Hi,

    Andrei H. said:
    I've found out that actually the page relating to versioning is somehow wrong because there are multiple names and hashes mapping to different packages. link:

    What you found is not the issue. It just is that some minor version of the SDK share the same toolchain. For example, in your case, the toolchain version is the same for both SDK v2.9.3 and v2.9.2.

     I'm trying to install the nordic sdk/toolchain combo via nrfutil command line (Windows x64) and I get the following error:

    The error that you got is saying that the verification of the file you downloaded didn't pass. It seems like the file you downloaded has been corrupted during download. Please try to download it again, and if you are on a corporate network, you may want to try from another network as some corporate network have some strong filters that sometimes mess with some downloads.

    Please tell us if that did the trick.

    Best regards,

    Simon D-M

  • Hi Simon,

     Indeed on some other laptop this works. Rumor has it that some windows policy creates this issue, but I cannot yet point on exactly which. I've checked the nrfutil downloaded file and the checksum indeed is mismatch (I've used checksum -t sha512 <package>.tar.gz.

    However, I've tried the following and that works:

    1. open `%userprofile%.nrfutil\logs\nrfutil-sdk-manager.log`

    2. check which bundle-id is needed

    3. manually download that particular tar.gz from Artifacts - JFrog

    4. place the download in: `C:\ncs\downloads\<toolchain-bundle>.tar.gz`

    5. run the command again, e.g. "nrfutil sdk-manager install v2.9.3"

    Now it works.

    Its a bit strange that `nrfutil` depends on external Windows Company Policy settings, but this is beyond my understand on the matter :D

    Best regards.

  • Hi,

    Glad, you were able to find a workaround.

    Thank you for your detailed guide!

    Best regards,

    Simon D-M

Reply Children
No Data
Related