OS/Ubuntu

Ubuntu 24.04 balena-etcher debian package(.deb) install error

강서버 2024. 8. 13. 23:02
728x90
반응형

 

[ Error ]

gangserver@NT200B5C-A22R:~/Download$ sudo dpkg -i balena-etcher_1.19.21_amd64.deb 
[sudo] gangserver 암호: 
Selecting previously unselected package balena-etcher.
(데이터베이스 읽는중 ...현재 241454개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack balena-etcher_1.19.21_amd64.deb ...
Unpacking balena-etcher (1.19.21) ...
dpkg: 종속성 문제로 balena-etcher의 구성이 차단되었습니다:
 balena-etcher 패키지는 다음 패키지에 의존: gconf-service: 하지만:
  gconf-service 패키지는 설치하지 않았습니다.
 balena-etcher 패키지는 다음 패키지에 의존: gconf2: 하지만:
  gconf2 패키지는 설치하지 않았습니다.
 balena-etcher 패키지는 다음 패키지에 의존: libgconf-2-4: 하지만:
  libgconf-2-4 패키지는 설치하지 않았습니다.
 balena-etcher 패키지는 다음 패키지에 의존: libgdk-pixbuf2.0-0: 하지만:
  libgdk-pixbuf2.0-0 패키지는 설치하지 않았습니다.

dpkg: error processing package balena-etcher (--install):
 의존성 문제 - 설정하지 않고 남겨둠
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
처리하는데 오류가 발생했습니다:
 balena-etcher

 

 

[ Solution ]

1. Download the zip file(ex, balenaEtcher-darwin-x64-1.19.21.zip) and run it

 

1.1 Download the ᅟbalena-etcher zip file

https://github.com/balena-io/etcher/releases/

 

Releases · balena-io/etcher

Flash OS images to SD cards & USB drives, safely and easily. - balena-io/etcher

github.com

file name : balenaEtcher-linux-x64-x.xx.xx.zip (ex, balenaEtcher-linux-x64-1.19.21.zip)

 

1.2 Move to download directory and unzip zip file.

gangserver@NT200B5C-A22R:~$ cd Download

 

gangserver@NT200B5C-A22R:~/Download$ unzip balenaEtcher-linux-x64-1.19.21.zip 
Archive:  balenaEtcher-linux-x64-1.19.21.zip
   creating: balenaEtcher-linux-x64/
  inflating: balenaEtcher-linux-x64/chrome_100_percent.pak  
  inflating: balenaEtcher-linux-x64/vk_swiftshader_icd.json  
  inflating: balenaEtcher-linux-x64/chrome_crashpad_handler  
  inflating: balenaEtcher-linux-x64/icudtl.dat  
  inflating: balenaEtcher-linux-x64/LICENSES.chromium.html  
  inflating: balenaEtcher-linux-x64/libffmpeg.so  
  inflating: balenaEtcher-linux-x64/snapshot_blob.bin  
  inflating: balenaEtcher-linux-x64/libvk_swiftshader.so  
    linking: balenaEtcher-linux-x64/balenaEtcher  -> /home/runner/work/etcher/etcher/out/balenaEtcher-linux-x64/balena-etcher 
  inflating: balenaEtcher-linux-x64/resources.pak  
  inflating: balenaEtcher-linux-x64/chrome_200_percent.pak  
  inflating: balenaEtcher-linux-x64/libEGL.so  
   creating: balenaEtcher-linux-x64/resources/
  inflating: balenaEtcher-linux-x64/resources/app.asar  
  inflating: balenaEtcher-linux-x64/resources/sudo-askpass.osascript-en.js  
  inflating: balenaEtcher-linux-x64/resources/etcher-util  
  inflating: balenaEtcher-linux-x64/resources/sudo-askpass.osascript-zh.js  
 extracting: balenaEtcher-linux-x64/version  
  inflating: balenaEtcher-linux-x64/chrome-sandbox  
   creating: balenaEtcher-linux-x64/locales/
  inflating: balenaEtcher-linux-x64/locales/ms.pak  
  inflating: balenaEtcher-linux-x64/locales/en-US.pak  
  inflating: balenaEtcher-linux-x64/locales/nl.pak  
  inflating: balenaEtcher-linux-x64/locales/sk.pak  
  inflating: balenaEtcher-linux-x64/locales/tr.pak  
  inflating: balenaEtcher-linux-x64/locales/ru.pak  
  inflating: balenaEtcher-linux-x64/locales/hu.pak  
  inflating: balenaEtcher-linux-x64/locales/hi.pak  
  inflating: balenaEtcher-linux-x64/locales/he.pak  
  inflating: balenaEtcher-linux-x64/locales/zh-TW.pak  
  inflating: balenaEtcher-linux-x64/locales/pt-BR.pak  
  inflating: balenaEtcher-linux-x64/locales/da.pak  
  inflating: balenaEtcher-linux-x64/locales/bg.pak  
  inflating: balenaEtcher-linux-x64/locales/nb.pak  
  inflating: balenaEtcher-linux-x64/locales/bn.pak  
  inflating: balenaEtcher-linux-x64/locales/sw.pak  
  inflating: balenaEtcher-linux-x64/locales/fi.pak  
  inflating: balenaEtcher-linux-x64/locales/sl.pak  
  inflating: balenaEtcher-linux-x64/locales/et.pak  
  inflating: balenaEtcher-linux-x64/locales/fa.pak  
  inflating: balenaEtcher-linux-x64/locales/en-GB.pak  
  inflating: balenaEtcher-linux-x64/locales/af.pak  
  inflating: balenaEtcher-linux-x64/locales/de.pak  
  inflating: balenaEtcher-linux-x64/locales/es-419.pak  
  inflating: balenaEtcher-linux-x64/locales/sr.pak  
  inflating: balenaEtcher-linux-x64/locales/lt.pak  
  inflating: balenaEtcher-linux-x64/locales/zh-CN.pak  
  inflating: balenaEtcher-linux-x64/locales/el.pak  
  inflating: balenaEtcher-linux-x64/locales/gu.pak  
  inflating: balenaEtcher-linux-x64/locales/hr.pak  
  inflating: balenaEtcher-linux-x64/locales/id.pak  
  inflating: balenaEtcher-linux-x64/locales/ur.pak  
  inflating: balenaEtcher-linux-x64/locales/ko.pak  
  inflating: balenaEtcher-linux-x64/locales/fil.pak  
  inflating: balenaEtcher-linux-x64/locales/fr.pak  
  inflating: balenaEtcher-linux-x64/locales/ar.pak  
  inflating: balenaEtcher-linux-x64/locales/ta.pak  
  inflating: balenaEtcher-linux-x64/locales/pt-PT.pak  
  inflating: balenaEtcher-linux-x64/locales/uk.pak  
  inflating: balenaEtcher-linux-x64/locales/mr.pak  
  inflating: balenaEtcher-linux-x64/locales/th.pak  
  inflating: balenaEtcher-linux-x64/locales/ro.pak  
  inflating: balenaEtcher-linux-x64/locales/am.pak  
  inflating: balenaEtcher-linux-x64/locales/pl.pak  
  inflating: balenaEtcher-linux-x64/locales/kn.pak  
  inflating: balenaEtcher-linux-x64/locales/it.pak  
  inflating: balenaEtcher-linux-x64/locales/ja.pak  
  inflating: balenaEtcher-linux-x64/locales/vi.pak  
  inflating: balenaEtcher-linux-x64/locales/cs.pak  
  inflating: balenaEtcher-linux-x64/locales/ml.pak  
  inflating: balenaEtcher-linux-x64/locales/lv.pak  
  inflating: balenaEtcher-linux-x64/locales/es.pak  
  inflating: balenaEtcher-linux-x64/locales/te.pak  
  inflating: balenaEtcher-linux-x64/locales/ca.pak  
  inflating: balenaEtcher-linux-x64/locales/sv.pak  
  inflating: balenaEtcher-linux-x64/libGLESv2.so  
  inflating: balenaEtcher-linux-x64/LICENSE  
  inflating: balenaEtcher-linux-x64/libvulkan.so.1  
  inflating: balenaEtcher-linux-x64/v8_context_snapshot.bin  
  inflating: balenaEtcher-linux-x64/balena-etcher  
finishing deferred symbolic links:
  balenaEtcher-linux-x64/balenaEtcher -> /home/runner/work/etcher/etcher/out/balenaEtcher-linux-x64/balena-etcher

[ Move unzip directory ]

gangserver@NT200B5C-A22R:~/Download$ cd balenaEtcher-linux-x64

 

Error when running balena-etcher file ]

gangserver@NT200B5C-A22R:~/Download/balenaEtcher-linux-x64$ ./balena-etcher
[12754:0813/223957.799095: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 /home/gangserver/down/balenaEtcher-linux-x64/chrome-sandbox is owned by root and has mode 4755.
추적/중단점 함정 (코어 덤프됨)

 

gangserver@NT200B5C-A22R:~/Download/balenaEtcher-linux-x64$ ls -al
합계 225080
drwx------ 4 gangserver gangserver      4096  5월 30 23:42 ./
drwxrwxr-x 5 gangserver gangserver      4096  8월 13 22:32 ../
...
-rwxr-xr-x 1 gangserver gangserver     54248  5월 30 23:42 chrome-sandbox*
...

 

[ Change chrome-sandbox file permissions ]

$ sudo chown root:root chrome-sandbox

$ sudo chmod 4755 chrome-sandbox

 

gangserver@NT200B5C-A22R:~/Download/balenaEtcher-linux-x64$ ls -al
합계 225080
drwx------ 4 gangserver gangserver      4096  5월 30 23:42 ./
drwxrwxr-x 5 gangserver gangserver      4096  8월 13 22:32 ../
...
-rwsr-xr-x 1 root       root           54248  5월 30 23:42 chrome-sandbox*
...

 

[ Run the balena-etcher file ]

$ ./balena-etcher

 

[ Run chrome-sandbox file without changing permissions ]

gangserver@NT200B5C-A22R:~/down/balenaEtcher-linux-x64$ ls -al
합계 225080
drwx------ 4 gangserver gangserver      4096  5월 30 23:42 ./
drwxrwxr-x 5 gangserver gangserver      4096  8월 13 22:32 ../
...
-rwxr-xr-x 1 gangserver gangserver     54248  5월 30 23:42 chrome-sandbox*
...

 

- Add --no-sandbox option to run

$ ./balena-etcher --no-sandbox

 

 

2. Download the AppImage file(ex, balenaEtcher-1.19.21-x64.AppImage) and run it

2.1 Download the ᅟbalena-etcher AppImage file

https://github.com/balena-io/etcher/releases/

 

Releases · balena-io/etcher

Flash OS images to SD cards & USB drives, safely and easily. - balena-io/etcher

github.com

 

2.2 [ Run the balena-etcher AppImage file ]

$ ./balenaEtcher-1.19.21-x64.AppImage

 

728x90
반응형