[Installation Issue] arduino-cli core install failed for rak_rui:stm32 (Checksum mismatch)

Hi RAK Support and Community,

I am currently trying to set up a development environment for the RAK3272-Si Breakout Board on a Debian-based PC using arduino-cli.

I followed the official documentation to add the RUI3 BSP, but I am encountering a checksum error during the installation of the toolchain.

Environment:

  • OS: Debian (Linux)
  • Tool: arduino-cli (latest version)
  • Board: RAK3272-Si
  • Board Manager URL: https://raw.githubusercontent.com/RAKWireless/RAKwireless-Arduino-BSP-Index/main/package_rakwireless_com_rui_index.json

The Error Message: When I run the command arduino-cli core install rak_rui:stm32, I get the following error:

Installing rak_rui:arm-none-eabi-gcc@9-2019q4... Error during install: Cannot install tool rak_rui:arm-none-eabi-gcc@9-2019q4: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

Steps I have already tried:

  1. Cleaned the staging cache: I deleted all files in ~/.arduino15/staging/packages/* to ensure there are no corrupted downloads.
  2. Updated index: Ran arduino-cli core update-index before retrying the installation.
  3. Network check: Verified the internet connection and tried without any proxy/VPN.

Despite these steps, the “archive hash differs from hash in index” error persists. This suggests there might be a mismatch between the actual file hosted on the server and the hash value defined in the package_rakwireless_com_rui_index.json file for the Linux platform.

Could you please verify if the JSON index file or the hosted archive for arm-none-eabi-gcc@9-2019q4 has been updated recently? Any guidance or workaround to bypass this checksum check or manually install the tool would be greatly appreciated.

Thank you.

changwoo

The library is not installed on Debian Linux, but it is working fine on Windows.

Got the same issue. I was able to add RAK11300 and 11200 boards but all of the other got similar error.

Downloading packages
rakwireless:arm-none-eabi-gcc@9-2019q4
rakwireless:[email protected]
rakwireless:[email protected]
rakwireless:[email protected]
Installing rakwireless:arm-none-eabi-gcc@9-2019q4
Failed to install platform: 'rakwireless:nrf52:1.3.3'.
Error: 13 INTERNAL: Cannot install tool rakwireless:arm-none-eabi-gcc@9-2019q4: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

Gowing with Windows is not an option for me, and I’d rather not downgrade my IDE if possible like suggested in:
In this topic

Any help will be welcome as I am new in this :slight_smile:

I checked all checksum given in the JSON file against the downloaded file checksums and they are all correct.

I do not have any Linux machine, so I can’t say what’s going wrong.