[Official announcement] Important steps to do before updating [not relevant]

asked 2014-03-17 21:52:45 +0200

Aard gravatar image

updated 2015-07-25 21:32:08 +0200

eric gravatar image

Disabling openrepos before updating

If you are using OpenRepos, i.e. you have the Warehouse app installed, you need to follow those steps before updating, or you risk breaking your device:

  1. enable developer mode, if it's not enabled
  2. connect by SSH, or open the terminal
  3. list all repositories by typing ssu lr. Openrepos repositories are the ones starting with openrepos-
  4. disable all openrepos repositories by typing ssu dr repositoryname for each of them. Do not touch any non-openrepos repository
    • for example, if you have a repository "openrepos-NielDK" you'd type ssu dr openrepos-NielDK
  5. after disabling all openrepos repositories you can start the update

(there are instructions on how to disable repositories using the warehouse app instead of using a terminal in this post: https://together.jolla.com/question/33581/how-to-disable-openrepos-repositories/#post-id-33583)

Help! I didn't follow this, and now my device is broken!

  • do you have developer mode enabled, and can SSH in? Follow the above instructions to disable all openrepos repositories, and manually update your device with version --dup
  • if you don't have developer mode enabled, try if you can open settings. If you can open settings, do a factory reset on your device. Note that this will delete all your data!
  • if you can't open settings, boot your device into rescue mode, and select factory reset there.
    See https://together.jolla.com/question/22079/howto-all-pc-users-recover-or-reset-a-device-that-is-stuck-in-boot-loop/ for instructions to get to the recovery mode.
    This will delete all your data as well!
  • if unfortunately none of the above works, please contact jolla care at care@jolla.com.
edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by r0kk3rz
close date 2015-07-01 16:13:24.289675

Comments

1

Thanks for heads up!, however, some are reporting that their Jolla updated fine without openrepos being disabled. As I am halfway through the download of the update, I checked in my repos but it appears the download is updating as it goes and my connection is slow, so I'm loathe to stop now - I will see I guess!

Spam Hunter ( 2014-03-17 21:56:21 +0200 )edit
4

Also did some screenshots on my to device to make a "how to disable openrepos from warehouse app". https://together.jolla.com/question/33581/how-to-disable-openrepos-repositories/#post-id-33583

Sailor ( 2014-03-17 21:57:32 +0200 )edit
5

There are lot's of repositories in openrepos not breaking. However, if you happen to have the wrong ones you're screwed. As we're not testing with openrepos (and can't test with that) it's safer to disable all of them before updating.

Aard ( 2014-03-17 21:58:47 +0200 )edit

Feel free to also check this post: https://together.jolla.com/question/33581/how-to-disable-openrepos-repositories/

eric ( 2014-03-17 22:41:17 +0200 )edit
20

Disable all openrepos with this snippet as root

for i in $(ssu lr 2>&1 | grep openre | cut -d" "  -f3); do  ssu dr $i ; done

To Re-enable

for i in $(ssu lr 2>&1 | grep openre | cut -d" "  -f3); do  ssu er $i ; done
dr_gogeta86 ( 2014-03-17 22:46:26 +0200 )edit