pkg2appimage
pkg2appimage copied to clipboard
Error recipes Brave | Signal | Anydesk
Hello!
I am trying to run these recipes without success, each of them presents an error, in searching for a solution on a forum in my country they commented that it might be a pkg2toappimage error.
PS: I'm sorry, did I post in the right place?
Hello, yes, this is the right place to ask.
Can you please post the command that you are using, the last few lines of the exact error message, and the system (distribution and version) you are using?
Hello, yes, this is the right place to ask.
Can you please post the command that you are using, the last few lines of the exact error message, and the system (distribution and version) you are using?
Environment Fedora 33 (Workstation Edition)
First I did this wget "https://raw.githubusercontent.com/AppImage/pkg2appimage/master/pkg2appimage" chmod +x "pkg2appimage" sudo mv "pkg2appimage" /usr/bin/
command: pkg2appimage Signal Message console:
- sed -ne 's|^([[:blank:]])([a-zA-Z0-9_])[[:blank:]]:[[:blank:]]"(.)"[[:blank:]]$|\1\2\3|p' -e 's|^([[:blank:]])([a-zA-Z0-9_])[[:blank:]][:-][[:blank:]](.)[[:blank:]]$|\1\2\3|p' /tmp/_recipe.yml
- awk $'-F\034' '{ indent = length($1)/2; vname[indent] = $2; for (i in vname) {if (i > indent) {delete vname[i]}} if (length($3) > 0) { vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("")} printf("%s%s%s=("%s")\n", "",vn, $2, $3); } }'
- sed s/_=/+=/g
- sed -i -e 's|^_script+=("||g' /tmp/recipe_script
- sed -i -e 's|")$||g' /tmp/recipe_script
- bash -ex /tmp/recipe_script
- mv 'opt/Signal/' usr/bin/ mv: cannot stat 'opt/Signal/': No such file or directory
command: pkg2appimage Brave Message console:
It just worked now, but another one I tried was Vivaldi
command: pkg2appimage Vivaldi Message console:
- awk $'-F\034' '{ indent = length($1)/2; vname[indent] = $2; for (i in vname) {if (i > indent) {delete vname[i]}} if (length($3) > 0) { vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("")} printf("%s%s%s=("%s")\n", "",vn, $2, $3); } }'
- sed s/_=/+=/g
- sed -i -e 's|^_script+=("||g' /tmp/recipe_script
- sed -i -e 's|")$||g' /tmp/recipe_script
- bash -ex /tmp/recipe_script
- sed -i -e 's|/usr/bin||g' vivaldi-stable.desktop sed: can't read vivaldi-stable.desktop: No such file or directory
command: pkg2appimage Anydesk Message console:
*$|\1\2\3|p' /tmp/_recipe.yml
- sed -i -e 's|^_ingredients_script+=("||g' /tmp/recipe_script
- sed -i -e 's|")$||g' /tmp/recipe_script
- bash -ex /tmp/recipe_script ++ wget -q https://download.anydesk.com/linux/ -O - ++ grep -E 'anydesk.*amd64.deb' ++ cut '-d"' -f2 ++ head -n1 ++ cut -d/ -f2
- DLD=anydesk_6.0.0-1_amd64.deb
- wget -c https://download.anydesk.com/linux/anydesk_6.0.0-1_amd64.deb --2021-03-15 15:26:03-- https://download.anydesk.com/linux/anydesk_6.0.0-1_amd64.deb Resolving download.anydesk.com (download.anydesk.com)... 159.69.19.197, 2a01:4f8:221:2841::2 Connecting to download.anydesk.com (download.anydesk.com)|159.69.19.197|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-03-15 15:26:04 ERROR 404: Not Found.
Thank you....
Brave generated the image but it doesn't run, below is the output
[osiel@localhost Signal]$ ./brave-browser-1.21.76.glibc2.18-x86_64.AppImage /usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so) QSocketNotifier: Can only be used with threads started with QThread "/proc/50448/root" "/proc/50448/root" /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1) /tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [50539:50539:0315/152923.131142:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. /proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0) /proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1) /proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0) [50503:50554:0315/152923.640426:ERROR:nss_util.cc(169)] Error initializing NSS with a persistent database (sql:/home/osiel/.pki/nssdb): /lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure [50503:50554:0315/152923.640481:ERROR:nss_util.cc(127)] Error initializing NSS without a persistent database: NSS error code: -5925 [50503:50554:0315/152923.640488:FATAL:nss_util.cc(129)] nss_error=-5925, os_error=0 /tmp/.mount_brave-wCLYd4/usr/bin//brave-browser: line 48: 50503 Trace/breakpoint trap (core dumped) "$HERE/brave" "$@"
/lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
seems to be the culprit.
Also see
- https://github.com/saiarcot895/chromium-ubuntu-build/issues/12
- https://github.com/probonopd/linuxdeployqt/issues/34
Just for fun, can you try to run these AppImages on an Ubuntu xenial Live medium?
/lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
seems to be the culprit.Also see
Just for fun, can you try to run these AppImages on an Ubuntu xenial Live medium?
I performed the following test of what I had on hand. This same appImage generated in Fedora I ran in a notebook with Elementary OS 5.1.7 and the error was this
tati@dell:~/Teste$ ./brave-browser-1.21.76.glibc2.18-x86_64.AppImage [6891:6891:0315/160752.828142:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. [6864:6876:0315/160753.409573:ERROR:nss_util.cc(169)] Error initializing NSS with a persistent database (sql:/home/tati/.pki/nssdb): libsoftokn3.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente [6864:6876:0315/160753.409635:ERROR:nss_util.cc(127)] Error initializing NSS without a persistent database: NSS error code: -5925 [6864:6876:0315/160753.409649:FATAL:nss_util.cc(129)] nss_error=-5925, os_error=0 [6895:6923:0315/160753.432271:ERROR:ssl_client_socket_impl.cc(924)] handshake failed; returned -1, SSL error code 1, net_error -3 /tmp/.mount_brave-BPLwhx/usr/bin//brave-browser, linha 48: 6864 Trace/breakpoint trap "$HERE/brave" "$@"
- https://github.com/probonopd/linuxdeployqt/issues/35
- https://github.com/saiarcot895/chromium-ubuntu-build/issues/12
Excuse my ignorance, but I read the links and it is still not clear what the solution would be on Signal Brave and Anydesk. I figured the problem would be the recipe or something because they are old I thought the link changed or whatever.
Ps I'm using a translator... Sorry for any mistakes or anything out of context (rsrs)
Please contact the authors of Brave | Signal | Anydesk for officially supported AppImages. Thanks.
Ok. Thanks