Ask / Submit

How to update Sailfish OS from command line [not a question]

asked 2016-04-28 19:41:01 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2018-07-09 16:52:57 +0300

You know the feeling - you're really excited about the new version of Sailfish, but the official tool to update fails. Probably multiple times. It happened to me with the latest update. So here are steps to update to latest version anyway.

Step 1

Make sure you have developer mode enabled, it won't work without it.

If you never had developer mode enabled before, here are the steps, if you are familiar with developer mode, proceed to step 2.

Step 1.1

Go to Settings -> Developer tools and enable first two options (Developer mode and Remote connection). Then you need to input some password and click save. Don't forget the password.

Step 2

Open Terminal app (which is installed automatically when you enable developer mode) and type these commands, one followed by another (each one is confirmed via enter):

  • devel-su - after pressing enter a prompt will ask you for your password, it's the password you set up during enabling developer mode. Note: you won't see that you're typing your password
  • ssu release - replace by the version you want to install. You can see the newest version in the Sailfish update app in settings
  • version --dup - this will start the process of updating and will take several minutes to complete. You should never close the terminal when you're running this command. You will see some output and percents, it has three parts - refreshing repositories, downloading updates, installing updates, after these three parts are done, you will see message that advices you to reboot your phone, which you should do.

After rebooting your phone just check in Settings -> About product that you have the newest version.

Congratulations, you have the newest version.

I hope this little guide will help someone :)

edit retag flag offensive reopen delete

The question has been closed for the following reason "not a real question" by molan
close date 2019-10-30 15:36:58.937707


It's not just that you are not in the early access program? (yes is still early access)

attah ( 2016-04-28 20:17:00 +0300 )edit

The reason this works when the normal way of updating fails is because it doesn't do the exact same things. That's also why you should only use this method when absolutely necessary.

nthn ( 2016-04-28 21:52:03 +0300 )edit

I am in early access, I clicked the Start optimizing (or something like that, I use localized version), when optimizing was done, nothing changed and I could only click Start optimizing again. Tried at least ten timed.

Rikudou_Sennin ( 2016-04-29 01:36:11 +0300 )edit

Then your btrfs in a bad state, and it's amazing luck you did update without problems.

coderus ( 2016-04-29 06:43:04 +0300 )edit

My btrfs is in perfect state, checked it myself ;) the problem is somewhere else.

Rikudou_Sennin ( 2016-04-29 12:45:26 +0300 )edit

4 Answers

Sort by » oldest newest most voted

answered 2018-07-07 10:59:50 +0300

Samonitari gravatar image

updated 2018-07-07 11:01:33 +0300

This is mostly the same method as written by the "question": Manual update

However an important part is missing from "question", as displayed by the only "answer":

How to set back to normal updaye setting

To make the update check work again, and to clear to outdated notification about the already installed update, follow the Clean up instuctions:

Step 3.

  • Open Terminal
  • devel-su - root permissions again
  • rm -rf /home/nemo/.cache/store-client/os-info - as the command implies, clear the outdated version cache
  • pkill store-client - you can guess
  • Check for updates in "Settings/Sailfish OS Updates"
edit flag offensive delete publish link more

answered 2019-05-03 02:21:39 +0300

DrDweeb gravatar image

updated 2019-05-03 02:22:28 +0300

There is an app on OpenRepos that installs a script called sfos-upgrade that performs this task.

Disclaimer: I noticed this app today after having done yet another manual install, I haven't tried it yet

edit flag offensive delete publish link more



answered 2017-07-15 20:26:24 +0300

Twinklestar1792 gravatar image

How to set back to normal updaye setting

edit flag offensive delete publish link more



You don't have to. It works only one time, then updates work normal.

atlochowski ( 2017-07-15 20:44:53 +0300 )edit

Thank you for your reply. But after doing manual update(i have updated to automatic update check is not happening properly.

Twinklestar1792 ( 2017-07-17 04:28:58 +0300 )edit

What you mean "automatic update check is not happening properly"? Is it trying to downgrade OS to the last official OS version?

atlochowski ( 2017-07-17 09:40:20 +0300 )edit

Yes Atlochowski. A Sailfish update notification is showing for v2.1.0.11. If i try to check for new os version, its start downloading it and in the updates screen it shows

Twinklestar1792 ( 2017-07-22 04:40:52 +0300 )edit

Official jolla update failed for me with for no obvious reasons. Then decided to apply them manually as instructed here. Update worked but update notification to remained and settings insisted that I need to update to Also all new updates were no longer detected.

I installed again manually and worked. Setting was insisting to update to but a new update check worked, it tried to update to, rebooted and things look ok. Settings version matches the real version.

So this manual update does break settings app update checks!

mcfrisk ( 2017-11-26 14:21:47 +0300 )edit

answered 2019-04-08 12:15:03 +0300

Artemys gravatar image

does this manual update also work with gemini?

edit flag offensive delete publish link more


Don't know, don't use Jolla anymore.

Rikudou_Sennin ( 2019-04-08 13:52:46 +0300 )edit

It should. I had to do it like this to update my XA2 because of bug

Piotr ( 2019-04-09 12:29:58 +0300 )edit

It sure does.

olf ( 2019-05-03 14:50:44 +0300 )edit

Question tools



Asked: 2016-04-28 19:41:01 +0300

Seen: 8,697 times

Last updated: May 03 '19