Cannot install or remove any software: "Critical problem with the apps registry" / "Url scheme is a required component."

@olf now here the complete list by devel-su ssu lr

Enabled repositories (global):

Enabled repositories (user):

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

Disabled repositories (user):

@olf my directory /var/cache/zypp/ is empty.

Settings/Storage shows:
User data 8.0 GB Used/ 9.8 GB Availiable
System data 1.7 GB Used/ 687.6 MB Free
Memory card 12.4 GB Used/ 17.4 GB Free

df -h shows following:

Filesystem                Size      Used Available Use% Mounted on
rootfs                    2.4G      1.7G    687.6M  71% /
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /
devtmpfs                  1.3G     76.0K      1.3G   0% /dev
tmpfs                     1.4G         0      1.4G   0% /dev/shm
tmpfs                     1.4G      5.7M      1.4G   0% /run
tmpfs                     1.4G         0      1.4G   0% /sys/fs/cgroup
tmpfs                     1.4G      4.0K      1.4G   0% /tmp
tmpfs                     1.4G         0      1.4G   0% /mnt
/dev/mmcblk0p25          27.5M    232.0K     26.6M   1% /persist
/dev/mmcblk0p28         375.3M    164.2M    203.4M  45% /odm
/dev/mmcblk0p3           84.0M     61.3M     22.7M  73% /firmware
/dev/mmcblk0p13          11.7M      3.6M      7.8M  32% /dsp
/dev/mapper/luks-7af0a317-de16-4630-acdd-d48fdd044777
                         17.8G      8.0G      9.8G  45% /home
tmpfs                   279.5M    748.0K    278.8M   0% /run/user/100000
/dev/mmcblk1p1           29.8G     12.4G     17.4G  42% /run/media/defaultuser/9016-4EF8
tmpfs                     1.4G      5.7M      1.4G   0% /run/firejail/dbus
/dev/mapper/luks-7af0a317-de16-4630-acdd-d48fdd044777
                         17.8G      8.0G      9.8G  45% /opt/alien/data
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/bin
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/sbin
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/lib
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/usr
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/var
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/etc
tmpfs                     1.4G      4.0K      1.4G   0% /opt/alien/tmp
/dev/mapper/luks-7af0a317-de16-4630-acdd-d48fdd044777
                         17.8G      8.0G      9.8G  45% /opt/alien/home
devtmpfs                  1.3G     76.0K      1.3G   0% /opt/alien/dev
tmpfs                     1.4G         0      1.4G   0% /opt/alien/dev/shm
tmpfs                     1.4G         0      1.4G   0% /opt/alien/sys/fs/cgroup
tmpfs                     1.4G      5.7M      1.4G   0% /opt/alien/run
tmpfs                   279.5M    748.0K    278.8M   0% /opt/alien/run/user/100000
/dev/mmcblk1p1           29.8G     12.4G     17.4G  42% /opt/alien/run/media/defaultuser/9016-4EF8
tmpfs                     1.4G      5.7M      1.4G   0% /opt/alien/run/firejail/dbus
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/media
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/vendor
/dev/mmcblk0p28         375.3M    164.2M    203.4M  45% /opt/alien/odm
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/system_jolla
/dev/sailfish/root        2.4G      1.7G    687.6M  71% /opt/alien/data_jolla
  1. No, I have not installed zypper as far as I know.
    zypper from command line shows just:
    -bash: zypper: not found

  2. Yes, I have paid license from year 2018 continually updated the SFOS.

[defaultuser@XperiaX zypp]$ ls -al /home/.zypp-cache/packages/
total 68
drwxr-xr-x   17 root     root          4096 Mar 24 06:53 .
drwxr-xr-x    5 root     root          4096 Feb 19 09:27 ..
drwxr-xr-x    3 root     root          4096 Feb 19 09:27 adaptation-common
drwxr-xr-x    5 root     root          4096 Feb 19 09:27 adaptation0
drwxr-xr-x    3 root     root          4096 Feb 19 09:27 aliendalvik
drwxr-xr-x    4 root     root          4096 Feb 19 09:27 apps
drwxr-xr-x    5 root     root          4096 Feb 19 09:27 customer-jolla
drwxr-xr-x    5 root     root          4096 Feb 19 09:27 jolla
drwxr-xr-x    3 root     root          4096 Feb 19 09:27 mentaljam-obs
drwxr-xr-x    3 root     root          4096 Mar 24 06:53 openrepos-ade
drwxr-xr-x    3 root     root          4096 Mar 24 06:38 openrepos-anenash
drwxr-xr-x    3 root     root          4096 Mar 24 06:20 openrepos-direc85
drwxr-xr-x    3 root     root          4096 Mar 19 10:04 openrepos-poetaster
drwxr-xr-x    3 root     root          4096 Mar 19 10:04 openrepos-szopin
drwxr-xr-x    5 root     root          4096 Feb 19 09:27 sailfish-eas
drwxr-xr-x    3 root     root          4096 Feb 26 00:05 store
drwxr-xr-x    4 root     root          4096 Feb 19 09:27 xt9

O.K, repo config (ssu lr) looks O.K., neither the root partition or the home partition is full (although 687 MB free is getting tight for SFOS upgrades), so two options remain:

Good luck!

1 Like

Thanks for support! I will try it. Just for being sure, I am asking:
devel-su rm -rf /home/.zypp-cache/*
deletes a lot of data.
What exactly will happen after this rm command?
What is the .zypp-cache directory for?

Thanks

Nothing will “happen”, just because you delete the cached data for libzypp.

What is the .zypp-cache directory for?

Caching repo-data for libzypp. You might look at its entries and RTFM.

But actually I makes sense to try this first (see ssu --help):
devel-su
rm -f /var/cache/ssu/features.ini
ssu ur

1 Like

I did all these commands:
devel-su rm -f /var/cache/ssu/features.ini
devel-su rm -rf /home/.zypp-cache/*
devel-su ssu ur

with result:

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():  Url scheme is a required component
Aborted (core dumped)

devel-su pkcon refresh
Refreshing cache
Finished
Fatal error: Url scheme is a required component

Sorry for the pointess remark, but: what the hell!

Ah I think I got it. this is wrong:

* mentaljam-obs … [Index of /obs/home:/mentaljam/4.3.0.15_armv7hl](http://repo.merproject.org/obs/home:/mentaljam/4.3.0.15_armv7hl/)

Anyway you should be able to

devel-su ssu rr mentaljam-obs
pkcon refresh

and things should start to work again.

Later you can do

    ssu ar mentaljam-obs http://repo.merproject.org/obs/home:/mentaljam/4.3.0.15_armv7hl/

taking care that it’s a proper URL.

But it would be interesting how this ended up in your repo list. Did you ever add that repo manually? It looks like it can be caused by copy-pasting from this forum or another place which silently replaces URLs by markdown syntax.

2 Likes

After command: “devel-su ssu rr mentaljam-obs”
I have obtained the same message as before:

You could try to edit that repo out (or fix the url) in /etc/ssu.ini maybe?

Actually, it might be it’s just the forum formatting/preview thing which makes the entry look wrong in the post above.
Because I just added that ‘illegal’ value to my local ssu.ini and it does not cause breakage.

@neo75 please look at the /etc/ssu/ssu.ini file itself and see if any of the lines in there look like they might have an illegal/unusual value.

I also found this:

https://together.jolla.com/question/226649/updating-to-33016-fails-via-ui-and-terminal/

where the suggestion is to move away all the files in /etc/zypp/repos.d/ and try again.

1 Like

Or (going back to the start), do really …

1 Like

@olf, @nephros I’m sorry, here it is again with three backticks:
devel-su ssu lr

 - adaptation-common ... https://releases.jolla.com/releases/4.3.0.15/jolla-hw/adaptation-common/armv7hl/
 - adaptation0       ... https://store-repository.jolla.com/releases/4.3.0.15/jolla-hw/adaptation-qualcomm-f5121/armv7hl/
 - aliendalvik       ... https://store-repository.jolla.com/releases/4.3.0.15/aliendalvik/f5121/
 - apps              ... https://releases.jolla.com/jolla-apps/4.3.0.15/armv7hl/
 - customer-jolla    ... https://releases.jolla.com/features/4.3.0.15/customers/jolla/armv7hl/
 - hotfixes          ... https://releases.jolla.com/releases/4.3.0.15/hotfixes/armv7hl/
 - jolla             ... https://releases.jolla.com/releases/4.3.0.15/jolla/armv7hl/
 - mentaljam-obs     ... http://repo.merproject.org/obs/home:/mentaljam/4.3.0.15_armv7hl/
 - sailfish-eas      ... https://store-repository.jolla.com/features/4.3.0.15/sailfish-eas/armv7hl/
 - xt9               ... https://store-repository.jolla.com/features/4.3.0.15/xt9/armv7hl/

Enabled repositories (user): 
 - dr                       ... 
 - openrepos-Karry          ... https://sailfish.openrepos.net/Karry/personal/main
 - openrepos-Morc           ... https://sailfish.openrepos.net/Morc/personal/main
 - openrepos-ade            ... https://sailfish.openrepos.net/ade/personal/main
 - openrepos-anenash        ... https://sailfish.openrepos.net/anenash/personal/main
 - openrepos-aviarus        ... https://sailfish.openrepos.net/aviarus/personal/main
 - openrepos-cfr34k         ... https://sailfish.openrepos.net/cfr34k/personal/main
 - openrepos-direc85        ... https://sailfish.openrepos.net/direc85/personal/main
 - openrepos-fooxl          ... https://sailfish.openrepos.net/fooxl/personal/main
 - openrepos-kuba77         ... https://sailfish.openrepos.net/kuba77/personal/main
 - openrepos-magnunor       ... https://sailfish.openrepos.net/magnunor/personal/main
 - openrepos-planetos_store ... https://sailfish.openrepos.net/planetos_store/personal/main
 - openrepos-poetaster      ... https://sailfish.openrepos.net/poetaster/personal/main
 - openrepos-rinigus        ... https://sailfish.openrepos.net/rinigus/personal/main
 - openrepos-szopin         ... https://sailfish.openrepos.net/szopin/personal/main
 - openrepos-vasvlad        ... https://sailfish.openrepos.net/vasvlad/personal/main
 - store                    ... https://store-repository.jolla.com/f5121/armv7hl/?version=4.3.0.15

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

Disabled repositories (user): 
 - home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/```

that repo ‘dr’ with no url seems weird, try to remove it with ‘devel-su ssu rr dr’, if that fails try to edit /etc/ssu/ssu.ini and remove that line (make a backup first just in case ‘cp /etc/ssu/ssu.ini ~/’)
doesn’t look like it’s been there before Cannot install or remove any software: "Critical problem with the apps registry" / "Url scheme is a required component." - #10 by neo75 so probably still not it

2 Likes

@nephros
I have moved all files in /etc/zypp/repos.d/ away and now it seems everything works.
cd /etc/zypp/repos.d/
mkdir temp
mv *.repo ./temp
devel-su pkcon refresh

Refreshing cache                                                                                  
Starting                                                                                          
Refreshing software list                                                                         
Finished 

That looks good! Without any error!
Now I was also able to uninstall Storeman correctly and it seems also Jolla Store works correctly without any error.

Now I was able to update to SFOS 4.4.0.58 without any troubles!
@olf, @nephros, @throwaway69 thank you very much!!!

1 Like

@throwaway69 Thanks, I did it!