balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
28.84k stars 2.05k forks source link

Unable to run AppImage or install on Ubuntu 24.04. #4242

Open imthenachoman opened 1 month ago

imthenachoman commented 1 month ago

I have tried both the AppImage and installing the deb file but I'm getting an error both ways. I am not sure what to do?

username@hostname:~/Downloads$ chmod +x balenaEtcher-1.19.21-x64.AppImage 

username@hostname:~/Downloads$ ./balenaEtcher-1.19.21-x64.AppImage 
[430042:0601/212033.320285:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_balenaHdQcO1/usr/lib/balena-etcher/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

username@hostname:~/Downloads$ sudo ./balenaEtcher-1.19.21-x64.AppImage 
[sudo] password for username: 
[0601/212038.242181:FATAL:electron_main_delegate.cc(295)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

username@hostname:~/Downloads$ sudo apt install ./balena-etcher_1.19.21_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'balena-etcher' instead of './balena-etcher_1.19.21_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 balena-etcher : Depends: gconf-service but it is not installable
                 Depends: gconf2 but it is not installable
                 Depends: libgconf-2-4 but it is not installable
E: Unable to correct problems, you have held broken packages.
CoolManTheCool commented 1 month ago

Stick to the app image, DO NOT USE SUDO, ./balenaEtcher-1.19.21-x64.AppImage --no-sandbox IF that does't work, downgrade and you get an error when loading the ISO, switch to a stable version: V1.17., It works for me.

Edit: This solution might work, its not recommended, but balena etcher is a VERY critical peice of tech, and there REALLY shouldn't be issues especially with (I think) the only software you can use to flash a USB.

Edit2: I keep getting off topic, and my responces aren't professional, but its enough to hopefully enough to solve your issue, also your issue is NOT because you are on 24.04, it does the same on 23.10, You probably shouldn't use anything earlier, but etcher should still have support so people can upgrade, although you dont even need a usb to install an OS, you can write the install media to your hard drive.

imthenachoman commented 1 month ago

Thanks. Let me try an earlier version.

williamtorres1 commented 1 month ago

I faced the same issue, but it worked fine when i tried sudo dpkg -i *.deb

aliajboy commented 1 month ago

I have same issue on Ubuntu 24. I even tried to install it via .deb but It says I have dependency problems and can't seem to install it.

Grand-Cherokee commented 3 weeks ago

Ubuntu 24.04 all updates done as of today including ubuntupro. deb is missing 'gconf-status', appimage does nothing when double clicked.