pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

missing dependencies in ubuntu 20.04

Open cmatomic opened this issue 3 years ago • 9 comments

was trying to build an AppImage on the Ubuntu 20.04 livecd and gave an error for lack of dependencies

ubuntu@ubuntu:~$ mkdir buildGoogleChrome;cd buildGoogleChrome;wget https://raw.githubusercontent.com/AppImage/AppImages/master/pkg2appimage; mv pkg2appimage pkg2appimage.sh;chmod +x pkg2appimage.sh;wget https://raw.githubusercontent.com/AppImage/AppImages/master/recipes/Google_Chrome.yml;./pkg2appimage.sh Google_Chrome.yml
--2020-10-24 03:54:36--  https://raw.githubusercontent.com/AppImage/AppImages/master/pkg2appimage
A resolver raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.132.133
A ligar a raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443... ligado.
Pedido HTTP enviado, a aguardar resposta... 200 OK
Tamanho: 17230 (17K) [text/plain]
A gravar em: "pkg2appimage"

pkg2appimage        100%[===================>]  16,83K  --.-KB/s    em 0,03s   

2020-10-24 03:54:36 (587 KB/s) - "pkg2appimage" gravado [17230/17230]

--2020-10-24 03:54:36--  https://raw.githubusercontent.com/AppImage/AppImages/master/recipes/Google_Chrome.yml
A resolver raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.132.133
A ligar a raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443... ligado.
Pedido HTTP enviado, a aguardar resposta... 200 OK
Tamanho: 2868 (2,8K) [text/plain]
A gravar em: "Google_Chrome.yml"

Google_Chrome.yml   100%[===================>]   2,80K  --.-KB/s    em 0,001s  

2020-10-24 03:54:36 (3,42 MB/s) - "Google_Chrome.yml" gravado [2868/2868]

+ check_dependencies dpkg dpkg-deb convert wget grep sed cut file desktop-file-validate strings
+ for executable in $@
+ which dpkg
+ for executable in $@
+ which dpkg-deb
+ for executable in $@
+ which convert
+ echo 'convert missing'
convert missing
+ exit 1
ubuntu@ubuntu:~/buildGoogleChrome$ uname -a
Linux ubuntu 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~/buildGoogleChrome$ 

cmatomic avatar Oct 24 '20 04:10 cmatomic

Please run sudo apt-get -y install imagemagick.

probonopd avatar Oct 24 '20 07:10 probonopd

We could bundle ImageMagick inside the AppImage but it would increase its size considerably.

probonopd avatar Oct 24 '20 07:10 probonopd

Thanks

cmatomic avatar Oct 24 '20 15:10 cmatomic

Actually... aren't we already bundling convert inside the AppImage? Need to check...

probonopd avatar Oct 24 '20 15:10 probonopd

I'm not using AppImage "pkg2appimage-1794-x86_64.AppImage"

I'm just using pkg2appimage script "wget https://raw.githubusercontent.com/AppImage/AppImages/master/pkg2appimage"

cmatomic avatar Oct 24 '20 16:10 cmatomic

I have refactored this repository and turned pkg2appimage into an AppImage itself. Please use pkg2appimage-1794-x86_64.AppImage.

probonopd avatar Oct 24 '20 16:10 probonopd

the same problem in Debian 10 ( Buster ) even installing imagemagick

user@userdebian:~$ mkdir buildMicrosoftEdge;cd buildMicrosoftEdge;wget -q -c https://github.com/$(wget -q https://github.com/AppImage/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2);chmod +x pkg2appimage-*-x86_64.AppImage ;wget https://raw.githubusercontent.com/user/RecipesAppimage/master/MicrosoftEdgeAppImage/microsoft-edge-dev.yml;ARCH=x86_64 ./pkg2appimage-*-x86_64.AppImage microsoft-edge-dev.yml
--2020-10-25 03:27:24--  https://raw.githubusercontent.com/user/RecipesAppimage/master/MicrosoftEdgeAppImage/microsoft-edge-dev.yml
A resolver raw.githubusercontent.com (raw.githubusercontent.com)...151.101.132.133
A ligar a raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443... ligado.
Pedido HTTP enviado, a aguardar resposta...200 OK
Tamanho: 1531 (1,5K) [text/plain]
A gravar em: "microsoft-edge-dev.yml"

microsoft-edge-dev.yml            100%[============================================================>]   1,50K  --.-KB/s    em 0,001s  

2020-10-25 03:27:25 (2,26 MB/s) - "microsoft-edge-dev.yml" gravado [1531/1531]

+ check_dependencies dpkg dpkg-deb convert wget grep sed cut file desktop-file-validate strings
+ for executable in $@
+ which dpkg
+ for executable in $@
+ which dpkg-deb
+ for executable in $@
+ which convert
+ for executable in $@
+ which wget
+ for executable in $@
+ which grep
+ for executable in $@
+ which sed
+ for executable in $@
+ which cut
+ for executable in $@
+ which file
+ for executable in $@
+ which desktop-file-validate
+ for executable in $@
+ which strings
+ echo 'strings missing'
strings missing
+ exit 1
user@userdebian:~/buildMicrosoftEdge$ su
Senha: 
root@debian:/home/user/buildMicrosoftEdge# apt-get -y install imagemagick
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1+deb10u1).
0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados.
root@debian:/home/user/buildMicrosoftEdge# uname -a
Linux debian 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux
root@debian:/home/user/buildMicrosoftEdge# 

cmatomic avatar Oct 25 '20 03:10 cmatomic

Here it is missing the strings command, not ImageMagick...

probonopd avatar Oct 25 '20 09:10 probonopd

for anyone here. I needed this to fix the issue.

sudo apt install gcc g++ automake libtool pkg-config

tazihad avatar Nov 27 '22 12:11 tazihad