Closed Sejoslaw closed 1 year ago
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)
Added the repo
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)
I will try with removing everything
No luck
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....
FYI Chroot login worked
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)
(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 :)
Hi,
I've tried to install Ubuntu's "kinetic" version (22.10 technically) and I'd receive an error as shown below:
Is it possible to force script to install newer Ubuntu version ?