mrclksr/linux-browser-installer

Ubuntu 22.10 Support

Sejoslaw opened this issue · 12 comments

Hi,

I've tried to install Ubuntu's "kinetic" version (22.10 technically) and I'd receive an error as shown below:

image

image

Is it possible to force script to install newer Ubuntu version ?

Hi @Sejoslaw,

check the version of the ld library under /compat/ubuntu/lib/x86_64-linux-gnu/, and adjust the content of the ld_version variable in linux-browser-installer accordingly. Then remove the chroot and try again.

Thanks for your advice ^^

I've checked the versions and configured it accordingly (checked on Ubuntu 22.10 VM)

image

Added the repo

image

deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ kinetic-security main restricted universe multiverse

Ran -> apt update && apt dist-upgrade
(everything updated as it should)

And still got the same error as shown below (ld version was ran from inside on Ubuntu)

image

I will try with removing everything

No luck

image

Alright, found the problem. Change the fix_ld_path() function to:

fix_ld_path()
{
        cp ${chroot_path}/lib/x86_64-linux-gnu/ld-* \
                ${chroot_path}/lib64/ld-linux-x86-64.so.2
}

Then:

# ./linux-browser-installer chroot delete
# ./linux-browser-installer chroot create

Did as you say (replaced code).
Everything "setup" properly meaning, chroot deletion worked, chroot creation worked, installing chrome worked but....

image

FYI
Chroot login worked

image

Sorry, the above code didn't work as expected if the target is a symbolic link. Fixed that.
The latest commit should do the job. I tested it with focal and kinetic.

Tested with combination like so:

chroot delete
chroot create
install chrome

And receive (menu-item is working as expected - thanks ^^) an error.
The below screen shows what is happening when I try to upgrade Ubuntu itself.
(This might be an issue with Ubuntu itself)

image

(This might be an issue with Ubuntu itself)

It seems to be the case.

Ok
Thank you for help and updates ^^
Great job!

Thank you for opening the issue. It made the script better :)