Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can´t open balena etcher in Ubuntu 22.04 #3777

Closed
daxtas opened this issue Jun 18, 2022 · 23 comments
Closed

I can´t open balena etcher in Ubuntu 22.04 #3777

daxtas opened this issue Jun 18, 2022 · 23 comments

Comments

@daxtas
Copy link

daxtas commented Jun 18, 2022

  • 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
Copy link
Author

daxtas commented Jun 18, 2022

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

@pdiasgon
Copy link

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

@mcraa
Copy link
Contributor

mcraa commented Jun 20, 2022

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

@pdiasgon
Copy link

Thank's

@Erol444
Copy link

Erol444 commented Jun 20, 2022

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```

@lurch
Copy link
Contributor

lurch commented Jun 21, 2022

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

@Erol444
Copy link

Erol444 commented Jun 21, 2022

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

@faugustdev
Copy link

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

@wmthornton
Copy link

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

@jellyfish-bot jellyfish-bot changed the title I can´t open balena etcher in Ubuntu 22.04 I can´t open balena etcher in Ubuntu 22.04 Jul 1, 2022
@lidarbtc
Copy link

lidarbtc commented Jul 5, 2022

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

It works for me.

@ollinurb
Copy link

ollinurb commented Jul 23, 2022

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?

@lurch
Copy link
Contributor

lurch commented Jul 23, 2022

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?

@ollinurb
Copy link

ollinurb commented Jul 23, 2022

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

@wmthornton
Copy link

wmthornton commented Jul 25, 2022

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.

@ollinurb
Copy link

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 "$@"

@mcraa
Copy link
Contributor

mcraa commented Jul 25, 2022

for the last one check #3639

@ollinurb
Copy link

for the last one check #3639

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

@pablofl
Copy link

pablofl commented Aug 1, 2022

as workaround:

  • sudo nautilus
  • click the AppImage

@KamilGaribov
Copy link

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

@peliopoulos
Copy link

Possible workaround for gnome at least:
#3809 (comment)

@EnzoCamilo
Copy link

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

It works for me.

it's not working for me

@manuos1
Copy link

manuos1 commented Feb 16, 2023

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

@dfunckt
Copy link
Member

dfunckt commented Jul 12, 2023

Likely duplicate of #3761? Closing.

@dfunckt dfunckt closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests