did not work from the site so i used Curl and even this didn't go very smoothly but I got there in the end
|
|
curl -1sLf 'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' | sudo -E bash
Executing the setup script for the 'balena/etcher' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Detecting your OS distribution and release using system methods ...
^^^^: ... Detected/provided for your OS/distribution, version and architecture:
>>>>:
>>>>: ... distro=zorin version=12 codename=xenial arch=x86_64
>>>>:
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
OK: Checking for apt signed-by key support ...
OK: Importing 'balena/etcher' repository GPG keys ...
NOPE: Checking if upstream install config is OK ...
^^^^: ... Failed to fetch configuration for your OS distribution release/version.
This fixed it !
curl -1sLf 'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' | distro=ubuntu version=16.04 codename=xenial sudo -E bash
Next issue !!!
chmod: cannot access '/opt/balena-etcher-electron/chrome-sandbox': No such file or directory
This fixed it !
# Link to the binary
ln -sf '/opt/balenaEtcher/balena-etcher-electron' '/usr/bin/balena-etcher-electron'
# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true
update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true