Date
Dec. 21st, 2024
 
2024年 11月 21日

Post: Cannot Install Balena Etcher on Ubuntu 24.04

Cannot Install Balena Etcher on Ubuntu 24.04

Published 20:09 Sep 09, 2024.

Created by @ezra. Categorized in #UNIX/Linux, and tagged as #UNIX/Linux.

Source format: Markdown

Table of Content

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

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.

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

Then, 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.

Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
开发、设计与写作皆为所长。
热爱苹果、钟情色彩。
随时恭候 垂询