mrclksr/linux-browser-installer

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

Opened this issue · 2 comments

chimay commented

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 ?

chimay commented

Hey! I saw your post on the bsd café, thanks! 👍