- 
                Notifications
    You must be signed in to change notification settings 
- Fork 28
Description
Found a defect in the package definition while attempting installation of the "adafruit:samd" core:
Error during install: tool arduino:[email protected] not available for the current OS
- 
Arduino board: Adafruit Feather M0 (RFM96 LoRa Radio) 
- 
Arduino IDE version: n/a (using arduino-cliat v0.18.1)
- 
List the steps to reproduce the problem below (if possible attach a sketch or 
 copy the sketch code in too):
- Start with a clean NixOS v21.11 install atop the Raspberry Pi 4B (4GB version) (or equivalent aarch64system architecture).
- Execute nix-shell -p arduino-cli, thenarduino-cli config init
- Add the applicable URL to the 'additional_urls' section of the 'board_manager' section in your newly created ~/.arduino15/arduino-cli.yamlfile:
 https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
- Execute arduino-cli core update-index(possibly unnecessary step)
(At this point, the test environment is ready to reproduce the defect, this next step is what failed on my system.)
- Finally, run the command to install the necessary core for the Feather M0:
 arduino-cli core install adafruit:samd
[shell:~/dev/feather]$ arduino-cli core install adafruit:samd
Downloading packages...
adafruit:arm-none-eabi-gcc@9-2019q4 already downloaded
arduino:[email protected] already downloaded
Error during install: tool arduino:[email protected] not available for the current OS
What this message did not tell me is how to resolve the problem myself. It did however inform me of the existence of a 1.7 version of the bossac library, which was correlated by my bug report / query with the Arduino repositories. That conversation led me here.
Huge thanks to @per1234 for confirming some root causes and identifying several paths forward in their exceptionally informational response to my initial attempt at reporting this defect.
As I said on the Arduino side, I'm more than happy to contribute to the solution on this...the observation that there's confusion for other users regarding who to talk to about this sort of issue (and even where to resolve it) are ongoing conversations.