in sailfishos want to do version --dup not authorised "this tool must be run from a…
- User
in sailfishos want to do version --dup not authorised "this tool must be run from a privileged shell"
- Assistant
The error message "not authorised 'this tool must be run from a privileged shell'" when running
version --dupon Sailfish OS means you need to run the command with root (superuser) privileges.To do this, follow these steps:
-
Enable Developer Mode and Remote Connection
- Go to Settings > Developer tools.
- Enable Developer mode and accept the security prompt.
- Enable Remote connection and set a password. This also installs the Terminal app if not already installed[1][3][6][8].
-
Open the Terminal app on the device.
-
Gain root privileges by running:
devel-suYou will be prompted for the password you set in Remote connection. Enter it (note: the password will not be shown while typing)[1][3][6].
-
Run the update command with root privileges:
version --dupThis will start the download and installation of the update. You will see progress percentages. Do not close the terminal during this process[1][3].
-
Optionally, before running
version --dup, set the target release version if needed:ssu release <version>Replace
<version>with the desired Sailfish OS release version. You may need to upgrade through intermediate stop releases sequentially to avoid breaking the device[1]. -
After the update completes, reboot the device:
reboot
If you try to run
version --dupwithout root privileges, you get the "not authorised" error. Running it asdevel-su version --dupor first enteringdevel-suand then runningversion --dupsolves this[7].Summary
Step Command/Action Enable Developer Mode Settings > Developer tools > Developer mode ON Enable Remote Connection Settings > Developer tools > Remote connection ON, set password Open Terminal app Launch Terminal on device Get root shell devel-su(enter password)Set release version (optional) ssu release <version>Run update version --dupReboot device rebootThis procedure ensures you have the necessary privileges to run
version --dupand update Sailfish OS from the command line without the "not authorised" error[1][3][6][7]. -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.