mrclksr / linux-browser-installer

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

Vivaldi doesn't set up correctly on 14.1-RELEASE-p2 #56

Closed piotrek1453 closed 3 months ago

piotrek1453 commented 3 months ago

As in title. Running the script as root (./linux-browser-installer install vivaldi) yields this result:

/compat/ubuntu/linux_signing_key.pub                  3175  B   10 MBps    00s
OK
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Ign:2 https://repo.vivaldi.com/archive/deb stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 https://repo.vivaldi.com/archive/deb stable Release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  vivaldi-stable
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 108 MB of archives.
After this operation, 386 MB of additional disk space will be used.
Get:1 https://repo.vivaldi.com/archive/deb stable/main amd64 vivaldi-stable amd64 6.8.3381.53-1 [108 MB]
Fetched 108 MB in 40s (2694 kB/s)                                                                                                                          
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_TIME = "pl_PL.UTF-8",
        LC_MONETARY = "pl_PL.UTF-8",
        LC_MEASUREMENT = "pl_PL.UTF-8",
        LC_NUMERIC = "pl_PL.UTF-8",
        LC_PAPER = "pl_PL.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package vivaldi-stable.
(Reading database ... 31471 files and directories currently installed.)
Preparing to unpack .../vivaldi-stable_6.8.3381.53-1_amd64.deb ...
Unpacking vivaldi-stable (6.8.3381.53-1) ...
Setting up vivaldi-stable (6.8.3381.53-1) ...
update-alternatives: using /usr/bin/vivaldi-stable to provide /usr/bin/vivaldi (vivaldi) in auto mode
Processing triggers for mime-support (3.64ubuntu1) ...
./linux-browser-installer: cannot create /compat/ubuntu/bin/vivaldi: No such file or directory
chmod: /compat/ubuntu/bin/vivaldi: No such file or directory
chmod: /compat/ubuntu/bin/vivaldi: No such file or directory
rmdir: /compat/ubuntu//usr/local/share/fonts: Directory not empty

Executing as user doas ./usr/local/bin/linux-vivaldi reports:

No matching processes were found
./usr/local/bin/linux-vivaldi: /compat/ubuntu/bin/vivaldi: not found

Any ideas?

mrclksr commented 3 months ago

Hi @piotrek1453,

are you using the latest commit?

piotrek1453 commented 3 months ago

Yes, it's a freshly cloned repo

mrclksr commented 3 months ago

Pull the latest commit, then run ./linux-browser-installer deinstall vivaldi; ./linux-browser-installer install vivaldi as root.