Description
This relates to this issue adafruit/ArduinoCore-samd#142
As described in the issue above I had the case where I had to first install the SAMD core provided by Arduino before I got all the necessary tools like bossac installed. Just installing the Adafruit core, even though it defines the same packages (but no download URL because it references the tools provided by Arduino). This behaviour suggest that the IDE did not check the available packages to install bossac but failed to find the defined source.
Which brings me to the question whether or not tool dependency resolving only happens via already installed packages or if it is supposed to look into all the packages available for download to look for all needed tools (e.g. include all the tools defined by official Arduino board packages and everything included via board manager URLs).
The specs here are unclear about the exact behaviour: https://arduino.github.io/arduino-cli/package_index_json-specification/
I have seen this behaviour on all supported platforms.