Installing avrdude 6.3.0-arduino17 fails with checksum doesn't match
#920
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Trying to compile and upload in the cloud editor for the UNO R3 is not successful:
Start command: fork/exec {runtime.tools.avrdude.path}/bin/avrdude: no such file or directory
:Registrazione.schermo.2024-03-13.alle.09.28.15.mov
This is caused by a failed installation of
avrdude
version6.3.0-arduino17
.Downloading the archive using a browser or
curl
succeeds, and the checksum is the one specified in thepackage_staging_index.json
and the one reported above.When downloading the archive in the go code, for some reason, the archive is truncated.
arduino-create-agent/v2/pkgs/tools.go
Line 192 in b350f56
The problem seems to related to the way the binary is downloaded using the
net/http
package.The expected checksum is:
SHA-256:120cc9edaae699e7e9ac50b1b8eb0e7d51fdfa555bac54233c2511e6ee5418c9
The one we got in the go code is:
SHA-256:6e9a4c2472ea6aa4d9eea92789f654d8768689d523fcd0255a0e0425a93bde22
To reproduce
To replicate the issue:
Expected behavior
The installation of avrdude is performed with success, since the checksum is correct.
Arduino Create Agent version
1.3.9
Operating system
N/A
Operating system version
N/A
Browser
N/A
Browser version
N/A
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: