winesapOS icon indicating copy to clipboard operation
winesapOS copied to clipboard

[install] Balena Etcher fails to install

Open LukeShortCloud opened this issue 1 year ago • 3 comments

When using the default Arch Linux + SteamOS installation type. We may need to tweak the installation step to be based on the detected operating system and not the target operating system.

+./winesapos-install.sh:462 [[steamos == steamos ]]
+./winesapos-install.sh:463> chroot /winesapos /usr/bin/pacman --noconfirm -S --needed balena-etcher
resolving dependencies...
warning: cannot resolve "electron12", a dependency of "balena-etcher"

LukeShortCloud avatar Aug 21 '22 05:08 LukeShortCloud

electron12 have been removed from Arch repo

FabioLolix avatar Aug 27 '22 19:08 FabioLolix

Yeah, looks like there's only Electron 17 through 20 packages as of right now.

https://archlinux.org/packages/?sort=&q=electron&maintainer=&flagged=

LukeShortCloud avatar Sep 01 '22 06:09 LukeShortCloud

I figured out the underlying issue. SteamOS provides its own build of balena-etcher but it's built using Arch Linux packages from 2022-01. It has Electron 9 through 16 available.

https://steamdeck-packages.steamos.cloud/archlinux-mirror/community/os/x86_64/

We need to just provide our own build of Balena Etcher in the winesapOS repository built with a newer Electron.

LukeShortCloud avatar Sep 04 '22 20:09 LukeShortCloud

I also tried installing etcher-bin (a rebuild of a Debian package) but it fails to run with a segfault. There is an AppImage from the official website (not on the AUR). Maybe we should ship that instead.

https://github.com/balena-io/etcher/releases/download/v1.7.9/balena-etcher-electron-1.7.9-linux-ia32.zip

LukeShortCloud avatar Oct 14 '22 15:10 LukeShortCloud

I believe their website has the wrong download link. This AppImage works properly:

https://github.com/balena-io/etcher/releases https://github.com/balena-io/etcher/releases/download/v1.7.9/balenaEtcher-1.7.9-x64.AppImage

LukeShortCloud avatar Oct 14 '22 15:10 LukeShortCloud