Update Mess....need help

OH WOW!!! The plot thickens!!

“Warning ssu.ini does not seem to be writable. Setting values might not work. Device release is currently : 4.5.0.16”

Now what??? LOL

At least I am updated!..maybe…

In Terminal enter ‘ssu re 4.4.0.72’ and then do a pkcon refresh. Maybe this helps.

What does “ssu re 4.4.0.72” do please?

pkcon refresh just hangs at “waiting in que”

It tells your phone that it is on SfOS version 4.4.0.72 or you want to update to this version and sets the necessary repositories. If the update crashes before installing rpms you are still geworden using the old release but the repos point to the new release.

Which OS version is shown in Settings → About SailfishOS?

You could also try to upgrade using the cli.
This can be done by using sfos-upgrade from openrepos or by using ssu re to set the desired os version.

In this case ‘ssu re 4.5.0.16’ .

Followed by ‘version --dup’ .

If you are able to install sfos-upgrade, you could use ‘sfos-upgrade --verify’ to check the installed packages. ‘ssu re 4.5.0.16’ is needed before exexuting thus command.

Thank you for explantion!

With both versions ssu re returned:
" warning:dbus call failed, falling back to libssu: message recipient disconnected from message bus wihtout replying
terminate called after throwing an instance of 'zypp::parser::ParseException: what() /etc/zypp/repos.d/ssu_openrepos-Karry_release.repo: Section [operepos-Karry]: Line 7 contains garbage (no “=” or “:/?|,” in key)
aborted"

Look like progress???

about shows 4.4
ssu re shows 4.5

Never downgrade; only try to install 4.5.0.16!

Move the file ssu_openrepos-Karry_release.repo to e.g. home directory and try again. That blocks the operations now.

If you can, please post the contents of the file here; I’ve had that happen once and I didn’t save the file…

Edit: There is something funny with handling repos, or openrepos, and I’d like to know what. A broken openrepos repo file should not stall package manager, because it’s both 3rd party, and non-critical repo.

4 Likes

I have read the downgrade warning before, thanks for the reminder.

Where do I find that file? I opened file manager, clicked root, went to etc and there is no zypp folder there.

Just checked, it is in /etc

Or just do

‘devel-su mv /etc/zypp/repos.d/ssu_openrepos-Karry_release.repo /home/nemo’

in Terminal if your user is nemo, if not exchange nemo with defaultuser.

Still couldn’t find it. Obviously looking in the wrong place because terminlal worked.

Typed ‘ssu re 4.5.0.16’ .

Followed by ‘version --dup’ .

got the error message and ran it a su, entered passwork and it says “REFRESHING CACHE AND DOWNLOADING PACKAGES
Waiting”

and has said that for the last 20 minutes with no movement or percentage showing.

I rebooted and went to settings-update and it is now downloading the update.

This time it gives me a list of about 80 pkgs it says I should remove.

Hey, at least it is doing something different!!

FIANLLY!! Updated and working.

Thanks everyone for your help.

2 Likes

Great! So it was the repo file! Could you share the broken file so I could see how messed up it was?

1 Like

I would be happy to if I could find it. I have never found the file.

I go to root-home-defaultuser and it just isn’t there. I have never been able to find it. The above command did the trick and got me to the point I could upgrade, but I still have no idea where this stupid file is.

I do have “show hidden files” turned on. Still can’t find it.

If your home directory is /home/defaultuser have you changed nemo in my command to defaultuser? If not then you should find the file in /home with the name nemo.

Changed nemo to defaultuser.

Thank you for solution! In my case it was ssu_store_release.rep…

1 Like

Thank you for these hints. I had problems to install the upgrade 4.6.0.15 on JollaC. The phone claimed to be 4.6.0.13 but insisted to re-install it. Removing ssu_store_release.repo helped

That repository is a system repository and shouldn’t be removed. I suggest you restore the file, especially if you find that Store doesn’t work properly. Generally speaking, only the user-added repos should be removed or disabled; see ssu lr output. store is listed on the user repositories, but it’s “built-in” and points to a Jolla domain.

Also, there has been some “stickyness” with the update notification in some cases - in this case manually checking for updates in Settings should fix the notification.

Currently the ssu_store_release.repo exists in the folder /etc/zypp/repos.d/ on my JollaC. Perhaps the update process fixed my removal automatically

1 Like