Skip to content
The Chat Archive
sonar LMArena Search Arena 24K

in sailfishos want to do version --dup not authorised "this tool must be run from a…

  1. User

    in sailfishos want to do version --dup not authorised "this tool must be run from a privileged shell"

  2. Assistant

    The error message "not authorised 'this tool must be run from a privileged shell'" when running version --dup on Sailfish OS means you need to run the command with root (superuser) privileges.

    To do this, follow these steps:

    1. 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].
    2. Open the Terminal app on the device.

    3. Gain root privileges by running:

      devel-su
      

      You 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].

    4. Run the update command with root privileges:

      version --dup
      

      This will start the download and installation of the update. You will see progress percentages. Do not close the terminal during this process[1][3].

    5. 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].

    6. After the update completes, reboot the device:

      reboot
      

    If you try to run version --dup without root privileges, you get the "not authorised" error. Running it as devel-su version --dup or first entering devel-su and then running version --dup solves this[7].

    Summary

    StepCommand/Action
    Enable Developer ModeSettings > Developer tools > Developer mode ON
    Enable Remote ConnectionSettings > Developer tools > Remote connection ON, set password
    Open Terminal appLaunch Terminal on device
    Get root shelldevel-su (enter password)
    Set release version (optional)ssu release <version>
    Run updateversion --dup
    Reboot devicereboot

    This procedure ensures you have the necessary privileges to run version --dup and update Sailfish OS from the command line without the "not authorised" error[1][3][6][7].

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.