We have moved to a new Sailfish OS Forum. Please start new discussions there.
16

ssu status release: latest? (No.)

asked 2015-03-22 14:21:34 +0300

simosagi gravatar image

updated 2016-01-16 18:52:29 +0300

objectifnul gravatar image

I noticed that my Jolla has lost all the openrepos repositories (except openrepos-basil). That probably happened after I had to run some btrfs balancing.
While I was investigating the issue, I SSH'd to the device and checked the repo status.: pkcon refreshwas returning Fatal error: Authentication failed (is SSU set up correctly?)
Reading other similar cases here on TJC I noticed that my device SSU was set for Release: latest, and that apparently was incorrect. And indeed, after I switched to my current device version with: ssu re 1.1.2.16 the device notified that Your device is now in release mode!, and the following pkcon refreshcompleted successfully.

Question is: so, any Jolla device on the market (i.e. excluding perhaps the ones used by sailors for internal testing), should always have a version number as output or ssu recommand?
If that's correct, any idea how my ssu status got switched to latest release?

[Next step for me is to understand what happened to the device with the loss of the repositories, but that's out of the context for this TJC question]

edit retag flag offensive close delete

Comments

ssu re here: "device release is currently 1.1.."

tathhu ( 2015-03-22 21:12:08 +0300 )edit

I have exactly the same questions. This did _not_ happen to me right after a system upgrade. I've been running pkcon refresh a few times after the 1.1.4.29 release without issues, but recently the error message just showed up.

michan ( 2015-05-20 05:18:12 +0300 )edit
1

I also would very much like to know if "latest" is NEVER supposed to be there. I did not tinker around with anything regarding zypper/pkcon and have the same issue. Only thing is I signed up with jolla for early access releases.

Yo ( 2016-01-04 16:17:13 +0300 )edit
2

Check this thread, quite similar problem: https://together.jolla.com/question/125263/did-mce-tools-disappear/

lakutalo ( 2016-01-04 16:52:36 +0300 )edit

Another question: "I noticed that my Jolla has lost all the openrepos repositories (except openrepos-basil)." I have the same problem. I have some patches etc. installed but don't get any updates because of this. How can I find out which repos I have to enable, and how do I do that?

Yo ( 2016-01-04 17:02:02 +0300 )edit

3 Answers

Sort by » oldest newest most voted
13

answered 2016-01-14 20:15:54 +0300

Keto gravatar image

Yes, the release should always be set to the OS version currently on the device. And the system update changes it when the device is updated to a new release.

So far we have not been able to identify what changes the release to 'latest', so all information regarding this is welcome. Especially if there is someone who has experienced this and has not installed any packages from 3rd party sources like openrepos.

And why 'latest' can't be just linked to the latest release on server side? Because latest is not always what is installed on the device, latest might be different for different devices, etc. And using latest repositories could lead into inconsistent system state in these cases, for example when pulling in dependencies required by applications installed from store or 3rd party repositories.

edit flag offensive delete publish link more

Comments

Thanks for your advice, just for information my device was also in "latest" mode so I could not install packages (coherence problems). I don't know what put "latest" instead of release, switching in release with my current version 2.0.1.11 seams to solve the problem.

Emmanuel ( 2016-08-17 12:09:10 +0300 )edit
2

answered 2016-01-15 23:29:52 +0300

objectifnul gravatar image

updated 2016-01-15 23:33:22 +0300

Today I was 'ssued' again to 'latest'. Unwillingly, of course. Now I know the trick, so I fixed the issue immediately (ssu re 2.0.0.10).

Interestingly, the only thing I installed since previous occurrence of this uncontrolled ssu.ini modification was a patch (New message quick action). Perhaps this may help SFOS team in their investigation.

edit flag offensive delete publish link more

Comments

1

When it happens again, before fixing the file can you check the modification date of the file? With your knowledge of what you were doing at that time (plus perhaps looking at the device logfiles) it could help to find at least in which phase the ssu.ini file changes.

simosagi ( 2016-01-16 08:31:08 +0300 )edit

Just stumbled over this thread and checked immediately. My device also says 'latest', probably for some considerable amount of time (months). At this very moment, I don't experience any problems with this setting. ssu.ini seems to have the timestamp of the last check for OS updates as displayed by the Settings app.

Maus ( 2016-01-16 20:40:48 +0300 )edit

Interesting. Are you able, when 'release' is set to 'latest', to install something with pkcon? (From Jolla store and/or from Openrepos). In my experience, it fails in most cases. And yes, I confirm every OS upgrade check updates ssu.ini timestamp (not sure yet there is any change in content).

There is is one mysterious line in ssu.ini, just below release=2.0.0.10: rndRelease=latest

objectifnul ( 2016-01-16 21:37:06 +0300 )edit

Installing software either via Jolla Store app or Warehouse works well here with release=latest.

Maus ( 2016-01-16 23:26:39 +0300 )edit

Yes. But please try (in terminal) something like pkcon install mce-tools (if not already installed on your device).

You may also try pkcon update (should return an error)

objectifnul ( 2016-01-16 23:48:57 +0300 )edit
0

answered 2016-02-25 02:10:48 +0300

cemoi71 gravatar image

updated 2016-02-25 02:11:51 +0300

Hello @Keto just for info, I got the "released: latest" issue here: https://together.jolla.com/question/130318/solved-strange-behaviour-of-my-jolla-phone-part-1/
has for impact to lock the dev-mode.
I can't explain how my device comes to this stand. have no reproducibility...
My sfos version is the 2.0.0.10 as no early access.
the command ssu re 2.0.0.10 help me to solve my issue.

Never used the openrepos on my side... don't know what could i tell more...
If you or someone else have further questions to me, about my uses or config (i don't know what), feel free to ask it, i'll be glad to answer and help.

cheers

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2015-03-22 14:21:34 +0300

Seen: 2,569 times

Last updated: Feb 25 '16