Hello!
I’m trying to load a file via wget or curl onto the Host OS and getting errors.
I’m looking for help to understand these errors, and how I can get this file onto the Host OS.
CPU is a Raspberry Pi 4 B
This file works:
wget -O - https://helium-media.s3-us-west-2.amazonaws.com/gateway_mfr-aarch64.tar | balena image load
Connecting to helium-media.s3-us-west-2.amazonaws.com (52.92.192.74:443)
writing to stdout
- 100%
Gives errors with curl (different file)
root@bd0e5af:~# curl -LJO https://github.com/helium/gateway-mfr-rs/releases/download/v0.2.0/gateway-mfr-v0.2.0-aarch64-unknown-linux-gnu.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 690 100 690 0 0 1360 0 --:--:-- --:--:-- --:--:-- 1360
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file
Warning: gateway-mfr-v0.2.0-aarch64-unknown-linux-gnu.tar.gz: Read-only file
Warning: system
0 1396k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (23) Failed writing header
Errors with wget
root@bd0e5af:~# wget -O - https://github.com/helium/gateway-mfr-rs/releases/download/v0.2.0/gateway-mfr-v0.2.0-aarch64-unknown-linux-gnu.tar.gz| balena image load
Connecting to github.com (140.82.112.4:443)
Connecting to objects.githubusercontent.com (185.199.110.133:443)
writing to stdout
- 100% |******************************************************************************************| 1396k 0:00:00 ETA
written to stdout
open /var/lib/docker/tmp/docker-import-668257790/repositories: no such file or directory