Ask / Submit

How to update Sailfish OS from command line

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

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 +0200

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 close delete


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 +0200 )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 +0200 )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 +0200 )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 +0200 )edit

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

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

2 Answers

Sort by » oldest newest most voted

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

Samonitari gravatar image

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

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 2017-07-15 20:26:24 +0200

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 +0200 )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 +0200 )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 +0200 )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 +0200 )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 +0200 )edit
Login/Signup to Answer

Question tools



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

Seen: 4,805 times

Last updated: Jul 09