mrclksr / linux-browser-installer

Script to install Linux browsers under a Linux chroot on FreeBSD
174 stars 25 forks source link

running the script when /compat/ubuntu is already installed : curl & gnupg #45

Open chimay opened 1 year ago

chimay commented 1 year ago

In this case, you need to install curl first in the /compat/ubuntu chroot:

E: Unable to locate package curl

Same thing for gnupg:

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

With this two packages, linux-browser-installer installs brave, but when you run it with /usr/local/bin/linux-brave, there is another error :

ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2

If I let the script reinstall the ubuntu system :

doas ./linux-browser-installer chroot delete doas ./linux-browser-installer chroot create doas ./linux-browser-installer install brave

it runs fine.

I guess the script doesn't check all the needed packages when it sees that /compat/ubuntu is alreay installed ?

vermaden commented 1 year ago

My fix proposal:

https://vermaden.wordpress.com/2023/10/11/fix-linux-browser-installer8-on-freebsd/

chimay commented 1 year ago

Hey! I saw your post on the bsd café, thanks! :+1: