balena-io / etcher

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

Cannot Install Balena Etcher on Ubuntu 24.04 #4305

Open littledog33 opened 3 weeks ago

littledog33 commented 3 weeks ago
dsssssssss9 commented 3 weeks ago

also having problems with Etcher on 24.04 Fresh install

if i double click the appimage nothing happens - other appimages work

if i run the appimage from the terminal i get.....

[78996:0825/201952.035012:FATAL:setuid_sandbox_host.cc(157)] 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_balenaoD2g34/chrome-sandbox is owned by root and has mode 4755. /tmp/.mount_balenaoD2g34/balena-etcher: line 10: 78996 Trace/breakpoint trap (core dumped) "${script_dir}"/balena-etcher.bin "$@"

if i run this with --no-sanbox switch i t seems to start but i get warning in the terminal window....

balena-etcher.bin:79032): dbind-WARNING **: 20:21:24.221: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied

any help greatly received

lewinfox commented 3 weeks ago

:+1: for OP - same error message about unavailable dependencies.

wzk0 commented 2 weeks ago

I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well.

littledog33 commented 2 weeks ago

How did you install it? On what distribution?  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 6:04 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wzk0 commented 2 weeks ago

Ubuntu 24.04, just unzip it and run the file.

---Original--- From: @.> Date: Fri, Aug 30, 2024 22:28 PM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?
 

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 6:04 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

littledog33 commented 2 weeks ago

Thanks, but on Ubuntu Studio Linux 24.04, it wouldn't run.
 

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 10:43 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Ubuntu 24.04, just unzip it and run the file.

---Original--- From: @.> Date: Fri, Aug 30, 2024 22:28 PM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 6:04 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

littledog33 commented 2 weeks ago

Thanks for responding!   I re-downloaded and extracted the zip file. I then ran chmod 4755 on balenaEtcher, but when I try to run it as root, I get an error message:  

error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory   So I installed ffmpeg, just to be sure. Same result, and I cannot find libffmpeg.so with an internet search.
 

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 10:43 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Ubuntu 24.04, just unzip it and run the file.

---Original--- From: @.> Date: Fri, Aug 30, 2024 22:28 PM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 6:04 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

wzk0 commented 2 weeks ago

You are welcome and just try run this without root permission!

---Original--- From: @.> Date: Sat, Aug 31, 2024 06:07 AM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

Thanks for responding!
 
I re-downloaded and extracted the zip file. I then ran chmod 4755 on balenaEtcher, but when I try to run it as root, I get an error message:
 

error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
 
So I installed ffmpeg, just to be sure. Same result, and I cannot find libffmpeg.so with an internet search.
 

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 10:43 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Ubuntu 24.04, just unzip it and run the file.

---Original---
From: @.>
Date: Fri, Aug 30, 2024 22:28 PM
To:
@.>;
Cc: @.**@.>;
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?
 

-----Original Message-----

From: 听话的便当 @.>
To: balena-io
@.>
Cc: littledog33 @.>; Author @.>
Date: Friday, 30 August 2024 6:04 AM EDT
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. —
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

littledog33 commented 2 weeks ago

Finally got it to work! When I tried running it as my own username and not root, I got an error message to make sure that   /home/mikeb/Downloads/balena-Etcher-linux-x64/chrome-sandbox

was owned by root and had permissions 4755. I did those changes in the terminal, and then it finally ran.    Thanks for your help!  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 7:08 PM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  You are welcome and just try run this without root permission!

---Original--- From: @.> Date: Sat, Aug 31, 2024 06:07 AM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

Thanks for responding!   I re-downloaded and extracted the zip file. I then ran chmod 4755 on balenaEtcher, but when I try to run it as root, I get an error message:  

error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory   So I installed ffmpeg, just to be sure. Same result, and I cannot find libffmpeg.so with an internet search.  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 10:43 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Ubuntu 24.04, just unzip it and run the file.

---Original--- From: @.> Date: Fri, Aug 30, 2024 22:28 PM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?  

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 6:04 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

wzk0 commented 2 weeks ago

I am very happy for singing this! You are welcome!

---Original--- From: @.> Date: Sun, Sep 1, 2024 02:09 AM To: @.>; Cc: @.**@.>; Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

Finally got it to work! When I tried running it as my own username and not root, I got an error message to make sure that
 
/home/mikeb/Downloads/balena-Etcher-linux-x64/chrome-sandbox

was owned by root and had permissions 4755. I did those changes in the terminal, and then it finally ran. 
 
Thanks for your help!
 

-----Original Message-----

From: 听话的便当 @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Friday, 30 August 2024 7:08 PM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  You are welcome and just try run this without root permission!

---Original---
From: @.>
Date: Sat, Aug 31, 2024 06:07 AM
To:
@.>;
Cc: @.**@.>;
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

Thanks for responding!
 
I re-downloaded and extracted the zip file. I then ran chmod 4755 on balenaEtcher, but when I try to run it as root, I get an error message:
 

error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
 
So I installed ffmpeg, just to be sure. Same result, and I cannot find libffmpeg.so with an internet search.
 

-----Original Message-----

From: 听话的便当 @.>
To: balena-io
@.>
Cc: littledog33 @.>; Author @.>
Date: Friday, 30 August 2024 10:43 AM EDT
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Ubuntu 24.04, just unzip it and run the file.

---Original---
From: @.>
Date: Fri, Aug 30, 2024 22:28 PM
To:
@.>;
Cc: @.**@.>;
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04(Issue #4305)

How did you install it? On what distribution?
 

-----Original Message-----

From: 听话的便当 @.>
To: balena-io
@.>
Cc: littledog33 @.>; Author @.>
Date: Friday, 30 August 2024 6:04 AM EDT
Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  I have tried balenaEtcher-linux-x64-1.19.21.zip and it can run very well. —
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.> —
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
@.>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

fili commented 2 weeks ago

Trying to install the .deb on 24.04.1 LTS using command line or software install leads to the following error:

$ sudo dpkg -i balena-etcher_1.19.22_amd64.deb 
Selecting previously unselected package balena-etcher.
(Reading database ... 431045 files and directories currently installed.)
Preparing to unpack balena-etcher_1.19.22_amd64.deb ...
Unpacking balena-etcher (1.19.22) ...
dpkg: dependency problems prevent configuration of balena-etcher:
 balena-etcher depends on gconf-service; however:
  Package gconf-service is not installed.
 balena-etcher depends on gconf2; however:
  Package gconf2 is not installed.
 balena-etcher depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.

dpkg: error processing package balena-etcher (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
 balena-etcher

Trying to install these packages leads to the following errors:

E: Package 'gconf-service' has no installation candidate
E: Package 'gconf2' has no installation candidate
E: Package 'libgconf-2-4' has no installation candidate
fili commented 2 weeks ago

Removing these packages from DEBIAN/control depends line seems to solve the problem (similar to this). gconf is deprecated, and Gnome does not use it anymore.

littledog33 commented 2 weeks ago

It took some scooting around, but a couple of us figured out that one could use the balena etcher Linux zip file to successfully install the program. Download the zip file to the folder of your choice, and then extract it there. There is an ownership and permissions issue with the file chrome-sandbox. So run   sudo chown root /path you downloaded to/balena-Etcher-linux-x64/chrome-sandbox sudo chmod 4755 /pathyoudownloaded to/balena-Etcher-linux-x64/chrome-sandbox /path you downloaded to/balena-Etcher-linux-x64/balena-etcher   When I did this, the software installed and ran.  

-----Original Message-----

From: Fili @.> To: balena-io @.> Cc: littledog33 @.>; Author @.> Date: Tuesday, 3 September 2024 4:29 AM EDT Subject: Re: [balena-io/etcher] Cannot Install Balena Etcher on Ubuntu 24.04 (Issue #4305)

  Trying to install the .deb on 24.04.1 LTS using command line or software install leads to the following error: $ sudo dpkg -i balena-etcher_1.19.22_amd64.deb Selecting previously unselected package balena-etcher. (Reading database ... 431045 files and directories currently installed.) Preparing to unpack balena-etcher_1.19.22_amd64.deb ... Unpacking balena-etcher (1.19.22) ... dpkg: dependency problems prevent configuration of balena-etcher: balena-etcher depends on gconf-service; however: Package gconf-service is not installed. balena-etcher depends on gconf2; however: Package gconf2 is not installed. balena-etcher depends on libgconf-2-4; however: Package libgconf-2-4 is not installed. dpkg: error processing package balena-etcher (--install): dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ... Processing triggers for desktop-file-utils (0.27-2build1) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Errors were encountered while processing: balena-etcher Trying to install these packages leads to the following errors: E: Package 'gconf-service' has no installation candidate E: Package 'gconf2' has no installation candidate E: Package 'libgconf-2-4' has no installation candidate — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

fili commented 2 weeks ago

If you go with the updating the .deb file option:

Extract the .deb file, e.g. balena-etcher_1.19.22_amd64.deb, using the default decompress option in Nautilus.

Next, go into the folder, balena-etcher_1.19.22_amd64/DEBIAN and remove the following dependencies from the control file (you can use any editor for that):

gconf2
gconf-service
libgconf-2-4

Next repackage the folder as an installable .deb file again:

dpkg-deb --build balena-etcher_1.19.22_amd64/

And install it using:

sudo dpkg -i balena-etcher_1.19.22_amd64.deb

As @littledog33 mentioned, I also experienced chrome sandbox issues which I solved in this way:

sudo mkdir -p /opt/balenaEtcher/
sudo ln -s /usr/lib/balena-etcher/chrome-sandbox /opt/balenaEtcher/chrome-sandbox
sudo chown root:root /usr/lib/balena-etcher/chrome-sandbox
sudo chmod 4755 /usr/lib/balena-etcher/chrome-sandbox

Verify with

ls -l /usr/lib/balena-etcher/chrome-sandbox

I opted for the symlink option as I got an warning where it was unable to find /opt/balenaEtcher/chrome-sandbox.

luzan8 commented 1 week ago

Made what @fili suggested, but still getting some errors at application start. I don't know if it works fine, but installer worked and now app is starting.

alekhinexxx commented 1 week ago

thanks you @fili its work !!