View Single Post
Posts: 127 | Thanked: 203 times | Joined on Sep 2010 @ Switzerland
#377
Originally Posted by minimec View Post
...At some point, the upgrade will stop and 'hang'. Probably at a package similar to 'sociald-onedrive-signon' or so. The upgrade should be more than 80% done (that is my experience). Remember that package name... (write it down somewhere) and abort the installation with 'CTRL+C'.

8. sync/reboot (2 commands). You may have to force shutdown with a 'long press' on the power button.
Code:
sync
reboot
9. reinstall last package
Code:
devel-su zypper in -f <last package>
10. continue with 'version --dup' / sync / reboot
Code:
version --dup
sync
reboot
The upgrade should now be complete. In case the store is not working, disable the 'adaptation0' repository and refresh the database...
Code:
devel-su dr adaptation0
devel-su zypper ref
Update: I changed the procedure to match the indications of the first post in this thread.
Very good guide to upgrade, you might want to emphasize that the upgrade really takes two hours to complete.

During the upgrade from 2.0.1.11 to 2.0.4.13 (I use the 2.0.4.13 version because of another phone and it's backup) I came across the 80% stall and had to CTRL-c and follow the procedures as explained above. After a forced shutdown and reboot I got this message while reconnecting via SSH
Code:
NOTICE: Env value ignored HYBRIS_LD_LIBRARY_PATH=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib
,---
| SailfishOS 2.0.4.13 (Fiskarsinjoki) (armv7hl)
'---
[nemo@Nexus5 ~]$ version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
[W] QDBusConnectionPrivate::serviceOwnerChangedNoLock:1280 - QDBusConnection: name 'org.freedesktop.PackageKit' had owner '' but we thought it was ':1.58'
Refreshing: 83%
Message: adaptation0: Store credentials not received. Connection was disconnected before a reply was received
store: Store credentials not received. Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Finished transaction (status=1, runtime=53501ms)
UPGRADING SYSTEM
[95 %] [Install] ohm-plugins-misc 1.2.1-1.14.1: [100 %]^C
Not sure what the "Env value ignored" message means at the start of the SSH connection but I had to CTRL-c again as the "version --dup" stopped again at 95% this time. Same procedure "sync/reboot/SSHlogin" but now the "version --dup" will fail with the following error
Code:
[nemo@Nexus5 ~]$ version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
[W] QDBusConnectionPrivate::serviceOwnerChangedNoLock:1280 - QDBusConnection: name 'org.freedesktop.PackageKit' had owner '' but we thought it was ':1.91'
Refreshing: 0%
Error: File '/repodata/repomd.xml' not found on medium 'https://store-repository.jolla.com/releases/2.0.4.13/jolla-hw/adaptation-lge-hammerhead/armv7hl/?credentials=store'

Finished transaction (status=2, runtime=3187ms)
UPGRADE NOT COMPLETE - Retry 1 of 9
Do I have a broken upgrade that stopped at 95%?
 

The Following User Says Thank You to maximilian1st For This Useful Post: