etcher icon indicating copy to clipboard operation
etcher copied to clipboard

I can´t open balena etcher in Ubuntu 22.04

Open daxtas opened this issue 2 years ago • 18 comments

  • Etcher version:
  • Operating system and architecture:
  • Image flashed:
  • What do you think should have happened:
  • What happened:
  • Do you see any meaningful error information in the DevTools?

daxtas avatar Jun 18 '22 15:06 daxtas

I downloaded Appimage. It does not open. It is not a permissions issue. I installed APT, it does not open. What I can do?

daxtas avatar Jun 18 '22 15:06 daxtas

Hello, Thank you for your great product.

Unfortunately, I've the same problem. Here is the result when i launch balena etcher from the terminal:

paul@p-desk:~/Applications$ ./balenaEtcher-1.7.9-x64.AppImage [Axios v1.7.9] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future [Axios v1.7.9] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future [Axios v1.7.9] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [3534187:0620/162602.217692:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye. /tmp/.mount_balenaFRNGw5/balena-etcher-electron : ligne 10 : 3534187 Trappe pour point d'arrêt et de trace (core dumped) "${script_dir}"/balena-etcher-electron.bin "$@"

Regards Paul

pdiasgon avatar Jun 20 '22 14:06 pdiasgon

thanks for the clarification @pdiasgon, your problem is described in #3647 and many duplicate issues.

mcraa avatar Jun 20 '22 14:06 mcraa

Thank's

pdiasgon avatar Jun 20 '22 14:06 pdiasgon

I tried running ./balenaEtcher-1.7.9-ia32.AppImage on Ubuntu 20.04. Error below. I already have fuse and libfuse2 installed.

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information```

Erol444 avatar Jun 20 '22 20:06 Erol444

@Erol444 You probably need to run the 64-bit AppImage rather than the 32-bit one.

lurch avatar Jun 21 '22 10:06 lurch

I went with the installation rather than AppImage and it works as expected:)

Erol444 avatar Jun 21 '22 10:06 Erol444

Buenos días comunidad! Saludos me pasa este error

augustbassfa@augustbassfa-desktop:~$ sudo apt install balena-etcher-electron
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete balena-etcher-electron

Ya intente instalar con la AppImage y tampoco funciona. ¿que debo hacer?

de ante mano gracias

faugustdev avatar Jun 21 '22 13:06 faugustdev

I tried running ./balenaEtcher-1.7.9-ia32.AppImage on Ubuntu 20.04. Error below. I already have fuse and libfuse2 installed.

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information```

If you install FUSE, make sure you install FUSE3 and not the standard FUSE. There is an issue with FUSE where it will remove your Gnome icons from the desktop and the option to manage them due to an incompatibility with Ubuntu 22.04 and the updated GNOME libraries. Just my $.02

wmthornton avatar Jul 01 '22 14:07 wmthornton

use ./balenaEtcher-1.7.9-x64.AppImage --no-sandbox

It works for me.

lidarbtc avatar Jul 05 '22 11:07 lidarbtc

Experiencing same issue as @Erol444.

./balenaEtcher-1.7.9-x64.AppImage
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

Any way to solve the issue without installing FUSE as it is not recommended for Ubuntu 22.4?

ollinurb avatar Jul 23 '22 03:07 ollinurb

Any way to solve the issue without installing FUSE as it is not recommended for Ubuntu 22.4?

You could use the deb package instead of the AppImage?

lurch avatar Jul 23 '22 11:07 lurch

Any way to solve the issue without installing FUSE as it is not recommended for Ubuntu 22.4?

You could use the deb package instead of the AppImage?

Following the steps provided at https://github.com/balena-io/etcher#packages (adding Etcher Debian repository and installing) I get an access Icon on the Applications window. But it doesn't open the program when clicked.

curl curl -1sLf \
   'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' \
   | sudo -E bash
[sudo] password for ollinurb: 
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=ubuntu  version=22.04  codename=jammy  arch=x86_64  
 >>>>:
 NOPE: Checking for apt dependency 'apt-transport-https' ...
   OK: Updating apt repository metadata cache ...
   OK: Attempting to install 'apt-transport-https' ...
   OK: Checking for apt dependency 'ca-certificates' ...
   OK: Checking for apt dependency 'gnupg' ...
  RUN: Importing 'balena/etcher' repository GPG key ...gpg: WARNING: unsafe ownership on homedir '/home/ollinurb/.gnupg'
   OK: Checking for apt signed-by key support ...
   OK: Importing 'balena/etcher' repository GPG key ...
   OK: Checking if upstream install config is OK ...
   OK: Installing 'balena/etcher' repository via apt ...
   OK: Updating apt repository metadata cache ...
   OK: The repository has been installed successfully - You're ready to rock!
sudo sudo apt-get update
sudo apt-get install balena-etcher-electron
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48,9 kB]
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                      
Hit:3 https://repo.steampowered.com/steam stable InRelease                                                                                                                         
Hit:4 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                    
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy InRelease                                        
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:8 https://dl.cloudsmith.io/public/balena/etcher/deb/ubuntu jammy InRelease [5.061 B]
Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Fetched 53,9 kB in 1s (37,2 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  balena-etcher-electron
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/86,8 MB of archives.
After this operation, 228 MB of additional disk space will be used.
Selecting previously unselected package balena-etcher-electron.
(Reading database ... 248325 files and directories currently installed.)
Preparing to unpack .../balena-etcher-electron_1.7.9_amd64.deb ...
Unpacking balena-etcher-electron (1.7.9) ...
Setting up balena-etcher-electron (1.7.9) ...
chmod: cannot access '/opt/balena-etcher-electron/chrome-sandbox': No such file or directory
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

Maybe there is an issue with line chmod: cannot access '/opt/balena-etcher-electron/chrome-sandbox': No such file or directory

ollinurb avatar Jul 23 '22 14:07 ollinurb

You can simply use 'apt' to install FUSE3. I had this issue on 22.04 and it fixed it.

Using FUSE on 22.04 is not recommended because it conflicts with some of the Ubuntu installations for things like desktop icons, etc. FUSE3 doesn't have this issue and everything works correctly with Ubuntu and Etcher appimages.

wmthornton avatar Jul 25 '22 14:07 wmthornton

FUSE3 comes installed onto 22.04. Running 'apt' to install it just confirms that the package is already there.

Checking the issues of AppImage I decided to install libfuse2.

sudo apt install libfuse2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gconf2 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libfuse2
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 90,3 kB of archives.
After this operation, 330 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 libfuse2 amd64 2.9.9-5ubuntu3 [90,3 kB]
Fetched 90,3 kB in 2s (43,9 kB/s)                      
Selecting previously unselected package libfuse2:amd64.
(Reading database ... 248325 files and directories currently installed.)
Preparing to unpack .../libfuse2_2.9.9-5ubuntu3_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.9-5ubuntu3) ...
Setting up libfuse2:amd64 (2.9.9-5ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...

Now after running the AppImage I get this error message:

./balenaEtcher-1.7.9-x64.AppImage
[Axios v1.7.9] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[130370:0725/120015.005621:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
/tmp/.mount_balenauOrebc/balena-etcher-electron: line 10: 130370 Trace/breakpoint trap   (core dumped) "${script_dir}"/balena-etcher-electron.bin "$@"

ollinurb avatar Jul 25 '22 15:07 ollinurb

for the last one check #3639

mcraa avatar Jul 25 '22 17:07 mcraa

for the last one check #3639

Thanks. Running ./balenaEtcher-1.7.9-x64.AppImage --disable-gpu-sandbox I can successfully open balenaEtcher.

ollinurb avatar Jul 25 '22 18:07 ollinurb

as workaround:

  • sudo nautilus
  • click the AppImage

pablofl avatar Aug 01 '22 02:08 pablofl

Enable "Execute" from properties/permissions of balenaEtcher.AppImage

KamilGaribov avatar Nov 26 '22 15:11 KamilGaribov

Possible workaround for gnome at least: https://github.com/balena-io/etcher/issues/3809#issuecomment-1350200863

peliopoulos avatar Dec 21 '22 20:12 peliopoulos

use ./balenaEtcher-1.7.9-x64.AppImage --no-sandbox

It works for me.

it's not working for me

EnzoCamilo avatar Jan 07 '23 23:01 EnzoCamilo

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

Using this version fixed my issue

source

But if you are trying to create bootable drive of Windows on Ubuntu use WoeUSB https://github.com/WoeUSB/WoeUSB/releases

manuos1 avatar Feb 16 '23 06:02 manuos1

Likely duplicate of #3761? Closing.

dfunckt avatar Jul 12 '23 09:07 dfunckt