mrclksr / linux-browser-installer

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

linux-browser update #36

Closed hakova closed 1 year ago

hakova commented 1 year ago

Hi,

I am sorry if this is a silly question. What is the best way to update the installed browser? I am worried that simply deinstalling and reinstalling the browser would remove the bookmarks and customized toolbar settings.

Thank you!

mrclksr commented 1 year ago

Hi @hakova,

run ./linux-browser-installer chroot upgrade. The script does not modify any files in the user's directory, so your settings and bookmarks are safe. If unsure, you can back them up, e.g.:

% cp -a ~/.config/google-chrome dot.config.google-chrome
% cp -a ~/.config/BraveSoftware dot.config.BraveSoftware
...
hakova commented 1 year ago

Thank you so very much @mrclksr, both for making this wonderful tool available and your quick reply! It works wonderful for me and is rock stable! Very much appreciated!

hakova commented 1 year ago

I am sorry I had to reopen this issue because upgrading the chroot totally broke everything. Chrome did not launch after the upgrade. I tried launching it from the terminal and got the following error: ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 Then I followed the recommendations on issue #27 and attempted to delete and create chroot as recommended there both with focal and kinetic settings in the script. chroot create results in the following error now: Error: debootstrap failed With a desperate attempt, I tried rm -rf /compat as root, which curiously also failed. I am totally lost now. I shouldn't have upgraded it, now I don't have a working system anymore and I am not sure how to fix it.

Edit: Not sure how this happened but deboostrap lost its executable attribute somehow. Once I chmod it to executable for root, I was able to chroot create and install chrome again. I am sorry for the repetitive posting.

mrclksr commented 1 year ago

Not sure how this happened but deboostrap lost its executable attribute somehow.

This is a problem of the debootstrap port. It's fixed in 1.0.128_1.