Sailfish on VollaOS

It’s now exactly this way as @piggz wrote in post #33 . All comments removed and phone rebooted. This is the result of the first command:

[root@VollaPhone features.d]# ssu ur
WARNING: DBus call failed, falling back to libssu: Message recipient disconnected from message bus without replying
terminate called after throwing an instance of ‘zypp::url::UrlBadComponentException’
what(): Unzulässige fragment-Komponente: ‘#’
Aborted (core dumped)
[root@VollaPhone features.d]#

if i do cat … i get this:

[defaultuser@VollaPhone features.d]$ cat adaptation-community.ini
[adaptation-community]
repos = adaptation-community
pattern = Feature community adaptation
description = Enable ssu for community ports

[repositories]
adaptation-community = https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/%(release)/sailfish_%(release)_%(arch)

no # in my file.

this is correct

I get this:

[root@VollaPhone features.d]# cat adaptation-community.ini
[adaptation-community]
repos = adaptation-community
pattern = Feature community adaptation
description = Enable ssu for community ports

[repositories]
adaptation-community = https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/%(release)/sailfish_%(release)_%(arch)
[root@VollaPhone features.d]#

edit: carefully checked, it’s the same, also no ‘#’ in the file

could it be that you did screw the definition of release or arch ?
can you check ssu release ?
i get
4.4.0.58

[root@VollaPhone features.d]# ssu re
Device release is currently: 4.4.0.58
[root@VollaPhone features.d]#

On my device it’s the same.

but when you execute command you get teh complain about the wrong url ?

ssu repos

[root@VollaPhone defaultuser]# ssu repos
Enabled repositories (global):

followed by user enabled

1 Like

Found something suspicious now - I did ‘ssu repos’ and got back:

[root@VollaPhone defaultuser]# ssu repos
Enabled repositories (global):
‘-’ ‘#’ adaptation-community … https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil/sailfishos_4.4.0.58/
‘-’ adaptation-common … https://releases.jolla.com/releases/4.4.0.58/jolla-hw/adaptation-common/aarch64/
‘-’ adaptation-community … https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/4.4.0.58/sailfish_4.4.0.58_aarch64

…and many more.

The first one has a ‘#’ at the beginning! Where is this? How can I remove it?

edit: sorry, this autoformatting changes completely what I want to post… so i now had to set some characters between ’ '.

i am by far no expert.

i did google: disable repos ssu and got this hit:

https://together.jolla.com/question/33581/how-to-disable-openrepos-repositories/

will be doable from the cmd line.
either it will be possible with ssu or zypper or package manager i assume

1 Like

There is an extra “#” somewhere that zypper and ssu don’t like.

Try
grep \# *


You probably haven’t installed the other package:

https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/4.4.0.58/sailfish_4.4.0.58_aarch64/aarch64/droid-config-yggdrasil-0.0.2-1.1.2.jolla.aarch64.rpm

(Edit: backslashes fixed)

1 Like

Yes, thats right. I didn’t install the other package yet. The ‘droid-config-yggdrasil’ is the second one in @piggz ’ post #30 . So I started with the first one.

to be honest, its easier to edit the file rather than install the packages imo

1 Like

@piggz I agree, but what files?

btw, could successfully download the ‘other’ package from @Ahtisilli 's post #50 and wanted to install, but result is:

[root@VollaPhone Install]# rpm -i -p --force droid-config-yggdrasil-0.0.2-1.1.2.jolla.aarch64.rpm
WARNING: DBus call failed, falling back to libssu: Message recipient disconnected from message bus without replying
terminate called after throwing an instance of ‘zypp::url::UrlBadComponentException’
what(): Unzulässige fragment-Komponente: ‘#’
Aborted (core dumped)
add-oneshot: /usr/lib/oneshot.d/ssu-update-repos - could not be run, save for later
add-oneshot: /etc/oneshot.d/0/ssu-update-repos - job saved OK
[root@VollaPhone Install]#

devel-su
vi /usr/share/ssu/features.d/adaptation-community.ini
change repository line to:
adaptation-community = https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/%(release)/sailfish_%(release)%(arch)
exit vi
vi /usr/share/ssu/features.d/adaptation-community-commin.ini
change repository line to:
adaptation-community-common = https://repo.sailfishos.org/obs/nemo:/testing:/hw:/common/sailfishos
%(release)_%(arch)/
exit vi
ssu ur
zypper ref
zypper ls (confirm all repository types are rpm-md, not plaindir)
zypper dup

1 Like

The # is part of the name, so the command is
ssu dr \#\ adaptation-community
with or without \ until
ssu repos
shows it as disabled - then you can try to get rid of it permanently with
ssu rr \#\ adaptation-community
with or without the backslashes.

(special characters need to be escaped with a backslash)

1 Like

@piggz did the two vi edits just now, then the ‘ssu ur’ leads to this:

[root@VollaPhone features.d]# ssu ur
WARNING: DBus call failed, falling back to libssu: Message recipient disconnected from message bus without replying
terminate called after throwing an instance of ‘zypp::url::UrlBadComponentException’
what(): Unzulässige fragment-Komponente: ‘#’
Aborted (core dumped)
[root@VollaPhone features.d]#

Try moving /var/cache/ssu/features.ini to /root and try again

1 Like

[root@VollaPhone ssu]# mv /var/cache/ssu/features.ini /root
[root@VollaPhone ssu]# ssu ur
WARNING: DBus call failed, falling back to libssu: Message recipient disconnected from message bus without replying
terminate called after throwing an instance of ‘zypp::url::UrlBadComponentException’
what(): Unzulässige fragment-Komponente: ‘#’
Aborted (core dumped)
[root@VollaPhone ssu]#

show
zypper ls
ssu lr

1 Like

[root@VollaPhone ssu]# zypper ls
Unerwartete Ausnahme.
Unzulässige fragment-Komponente: ‘#’
Senden Sie einen Fehlerbericht zu diesem Problem.
Anweisungen finden Sie unter http://de.opensuse.org/Zypper/Fehlersuche.
[root@VollaPhone ssu]# ssu lr
Enabled repositories (global):
- # adaptation-community … https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil/sailfishos_4.4.0.58/
- adaptation-common … https://releases.jolla.com/releases/4.4.0.58/jolla-hw/adaptation-common/aarch64/
- adaptation-community … https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil:/4.4.0.58/sailfish_4.4.0.58_aarch64
- adaptation-community-common … https://repo.sailfishos.org/obs/nemo:/testing:/hw:/common/sailfishos4.4.0.58_aarch64/
- apps … https://releases.jolla.com/jolla-apps/4.4.0.58/aarch64/
- hotfixes … https://releases.jolla.com/releases/4.4.0.58/hotfixes/aarch64/
- jolla … https://releases.jolla.com/releases/4.4.0.58/jolla/aarch64/
- sailfishos-chum-yggdrasil … Index of /obs/sailfishos:/chum/4.4.0.58_aarch64

Enabled repositories (user):
- harbour-storeman-obs … Index of /obs/home:/olf:/harbour-storeman/4.4.0.58_aarch64
- openrepos-Juanro49 … https://sailfish.openrepos.net/Juanro49/personal/main
- openrepos-Patchmanager … https://sailfish.openrepos.net/Patchmanager/personal/main
- openrepos-Polleke … https://sailfish.openrepos.net/Polleke/personal/main
- openrepos-adel … https://sailfish.openrepos.net/adel/personal/main
- openrepos-aviarus … https://sailfish.openrepos.net/aviarus/personal/main
- openrepos-equeim … https://sailfish.openrepos.net/equeim/personal/main
- openrepos-ichthyosaurus … https://sailfish.openrepos.net/ichthyosaurus/personal/main
- openrepos-llelectronics … https://sailfish.openrepos.net/llelectronics/personal/main
- openrepos-rinigus … https://sailfish.openrepos.net/rinigus/personal/main
- sailfishos-chum … Index of /obs/sailfishos:/chum/4.4.0.58_aarch64
- store … https://store-repository.jolla.com/yggdrasil/aarch64/?version=4.4.0.58

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
[root@VollaPhone ssu]#