Support for addons on the browser

Change defaultuser to nemo in the last line, and that should be it.

I’m sorry, but it didn’t work. Here my terminal-output:
[defaultuser@Xperia10III ~]$ curl -L git.io/hosty | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:03 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:03 --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- 0:00:04 --:–:-- 0
100 2398 100 2398 0 0 496 0 0:00:04 0:00:04 --:–:-- 0

======== Welcome to hosty installer ========
========    astrolince.com/hosty    ========

Checking if user has root access...

Requesting sudo...

Do you want to always run the latest version of hosty? (recommended) y/n
y

Installing hosty...
>>> /etc/sudoers: syntax error near line 98 <<<
sudo: parse error in /etc/sudoers near line 98
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

Fixing permissions...
>>> /etc/sudoers: syntax error near line 98 <<<
sudo: parse error in /etc/sudoers near line 98
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

Checking optional dependencies...

Do you want to automatically update your hosts file with latest ads list? (recommended) y/n
n

Done.

If I’m running out of topic, should I start a new issue for that?

There must be something wrong with your sudoers file, did you checked line 98?

My sudoers file only contains 2 uncommented lines

defaultuser ALL=(ALL) ALL
nemo ALL=(ALL) ALL

On Linux distributions you really should not edit the /etc/sudoers file directly, but use sudo visudo.
I do not know how to add visudo or sudo to the phone.

‘pkcon install sudo’

Hi JacekJagosz,
my fault was the second last line, which i ment as a “comment”. After removing the installation worked.
Just one more question:

[defaultuser@Xperia10III ~]$ sudo hosty
There is a problem with the signature, probably hosty repository was compromised, no changes were made to your system.

How could I solve this?

Did you install the dependencies, including cron from openrepos, run curl -L git.io/hosty | sh twice and rebooted your phone? I never got this error, so not sure how I can help.

Hi, I run it twice, but on github there is actual no hint, that I should do a reboot. I rebooted the phone, now I get another message:

[defaultuser@Xperia10III ~]$ sudo hosty
Passwort: 
======== hosty v1.7.6 (10/Mar/21) ========
========   astrolince.com/hosty   ========

/tmp/tmp.lfuYhX: line 22: syntax error: unexpected "("

What if busybox ash does not support some commands in the script? Install full bash and try again…

1 Like

I tried the following:

[defaultuser@Xperia10III ~]$ devel-su pkcon install gnu-bash
Password: 
Auflösen                                                                                  
Fertig                                                                                    
Schwerwiegender Fehler: das installierte busybox-symlinks-bash-1.33.1+git3-1.7.11.jolla.aarch64 steht im Konflikt mit 'gnu-bash', das von dem zu installierenden gnu-bash-5.0.18+git2-1.7.1.jolla.aarch64 bereitgestellt wird
[defaultuser@Xperia10III ~]$ bash -version
bash: illegal option -r

How can I install “full bash” or run “sudo hosty” to finalize the installation astrolince/hosty

Pkcon install zypper
devel-su zypper install gnu-bash and let it remove busybox

1 Like

devel-su pkcon remove busybox-symlinks-bash

It will automaticly install gnu-bash

1 Like

Thanks, now it worked! I discovered further that advertising on www.heise.de was not blocked directly but after a reboot.