We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Fix an "The upgrade could NOT be finished" problem BEFORE rebooting

asked 2017-05-11 23:20:35 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-05-16 21:22:45 +0300

SebM gravatar image

Hi,

My ssh connecting still works.

Can you help me fix this BEFORE rebooting, I have the following messages on my Jolla1 :

# ssu release 1.0.4.20
Changing release from 1.1.2.16 to 1.0.4.20
Your device is now in release mode!
# version --dup
REFRESHING CACHE
[W] QDBusConnectionPrivate::serviceOwnerChangedNoLock:1280 - QDBusConnection: name 'org.freedesktop.PackageKit' had owner '' but we thought it was ':1.438'
Finished transaction (status=1, runtime=74966ms)
UPGRADING SYSTEM
[7 %] [Install] nss-softokn-freebl 3.14.3-1.1.3: [100 %]
Error: Installation aborted by user

Finished transaction (status=2, runtime=653155ms)
UPGRADE NOT COMPLETE - Retry 1 of 3
Waiting 1 seconds before retry.
REFRESHING CACHE
Finished transaction (status=1, runtime=72952ms)
UPGRADING SYSTEM
Installing: 0%
Error: Installation aborted by user

Finished transaction (status=2, runtime=20421ms)
UPGRADE NOT COMPLETE - Retry 2 of 3
Waiting 3 seconds before retry.
REFRESHING CACHE
Finished transaction (status=1, runtime=67231ms)
UPGRADING SYSTEM
Installing: 0%
Error: Installation aborted by user

Finished transaction (status=2, runtime=19458ms)
UPGRADE NOT COMPLETE - Retry 3 of 3
Waiting 5 seconds before retry.
REFRESHING CACHE
Finished transaction (status=1, runtime=65151ms)
UPGRADING SYSTEM
Installing: 0%
Error: Installation aborted by user

Finished transaction (status=2, runtime=20982ms)
FINISHING

Remove (7 packages)
 - jolla-settings-accounts-extensions-facebook;0.2.30.1-10.60.3.jolla;armv7hl;installed
 - jolla-settings-accounts-extensions-google;0.2.30.1-10.60.3.jolla;armv7hl;installed
 - jolla-settings-accounts-extensions-jabber;0.2.30.1-10.60.3.jolla;armv7hl;installed
 - jolla-settings-accounts-extensions-jolla;0.2.30.1-10.60.3.jolla;armv7hl;installed
 - jolla-settings-accounts-extensions-twitter;0.2.30.1-10.60.3.jolla;armv7hl;installed
 - ohm-plugins-dbus;1.1.63-1.6.1;armv7hl;jolla
 - sociald-facebook-posts;0.1.7-10.2.2.jolla;armv7hl;installed

Download (580 packages)
 - PackageKit-Qt5;0.8.8+nemo4-1.3.1;armv7hl;jolla
...........................................................................
 - zypper;1.8.3-1.1.8;armv7hl;jolla

Install (42 packages)
 - all-translations-pack;0.0.20-10.1.4.jolla;noarch;jolla
.............................................................................
 - zlib;1.2.8+git1-1.2.1;armv7hl;jolla

The upgrade could NOT be finished. Make sure you have
a working Internet Connection and SSU is propertly set up. In
case the repos are changing rapidly (e.g. during development),
just restarting the upgrade might fix the issue.

REBOOT AT YOUR OWN RISK.

Edit : N.B. : I disabled my openrepos BEFORE downgrading :

$ ssu lr
Enabled repositories (global): 
 - adaptation0 ... https://store-repository.jolla.com/releases/1.0.4.20/jolla-hw/adaptation-android-common/armv7hl/
 - adaptation1 ... https://store-repository.jolla.com/releases/1.0.4.20/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik ... https://store-repository.jolla.com/releases/1.0.4.20/aliendalvik/SbJ/
 - apps        ... https://releases.jolla.com/jolla-apps/1.0.4.20/armv7hl/
 - eas         ... https://store-repository.jolla.com/features/1.0.4.20/eas/armv7hl/
 - hotfixes    ... https://releases.jolla.com/releases/1.0.4.20/hotfixes/armv7hl/
 - jolla       ... https://releases.jolla.com/releases/1.0.4.20/jolla/armv7hl/
 - xt9         ... https://store-repository.jolla.com/features/1.0.4.20/xt9/armv7hl/

Enabled repositories (user): 
 - mer-tools ... https://releases.jolla.com/releases/1.0.4.20/mer-tools/builds/armv7hl/packages/
 - store     ... https://store-repository.jolla.com/SbJ/armv7hl/?version=1.0.4.20

Disabled repositories (global, might be overridden by user config): 

Disabled repositories (user): 
 - home                    ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
 - openrepos-BloodyFoxy    ... http://sailfish.openrepos.net/BloodyFoxy/personal/main
 - openrepos-Morpog        ... http://sailfish.openrepos.net/Morpog/personal/main
 - openrepos-NielDK        ... http://sailfish.openrepos.net/NielDK/personal/main
 - openrepos-Schturman     ... http://sailfish.openrepos.net/Schturman/personal/main
 - openrepos-SheepOnMeth   ... http://sailfish.openrepos.net/SheepOnMeth/personal/main
 - openrepos-V10lator      ... http://sailfish.openrepos.net/V10lator/personal/main
 - openrepos-ajalkane      ... http://sailfish.openrepos.net/ajalkane/personal/main
 - openrepos-basil         ... http://sailfish.openrepos.net/basil/personal/main
 - openrepos-edgley        ... http://sailfish.openrepos.net/edgley/personal/main
 - openrepos-equeim        ... http://sailfish.openrepos.net/equeim/personal/main
 - openrepos-halftux       ... http://sailfish.openrepos.net/halftux/personal/main
 - openrepos-inte          ... http://sailfish.openrepos.net/inte/personal/main
 - openrepos-jcoder        ... http://sailfish.openrepos.net/jcoder/personal/main
 - openrepos-llelectronics ... http://sailfish.openrepos.net/llelectronics/personal/main
 - openrepos-lourens       ... http://sailfish.openrepos.net/lourens/personal/main
 - openrepos-matolainen    ... http://sailfish.openrepos.net/matolainen/personal/main
 - openrepos-mikelima      ... http://sailfish.openrepos.net/mikelima/personal/main
 - openrepos-nodevel       ... http://sailfish.openrepos.net/nodevel/personal/main
 - openrepos-osetr         ... http://sailfish.openrepos.net/osetr/personal/main
 - openrepos-rcolistete    ... http://sailfish.openrepos.net/rcolistete/personal/main
 - openrepos-rzr           ... http://sailfish.openrepos.net/rzr/personal/main
 - openrepos-slava         ... http://sailfish.openrepos.net/slava/personal/main
 - openrepos-steffen_f     ... http://sailfish.openrepos.net/steffen_f/personal/main
 - openrepos-thesignal     ... http://sailfish.openrepos.net/thesignal/personal/main
 - openrepos-tuokar        ... http://sailfish.openrepos.net/tuokar/personal/main
 - openrepos-yoktobit      ... http://sailfish.openrepos.net/yoktobit/personal/main
$

Edit : I rebooted my Jolla1 today and now the screen is black but the device is still accessible with SSH :)

Edit : It seems my Jolla credential were lost during the downgrade process, how can I restore them from the command line :

$ pkcon refresh
Refreshing cache                                                                                                                                           
Waiting in queue                                                                                                                                           
Waiting for authentication                                                                                                                                  
Waiting in queue                                                                                                                                           
Starting                                                                                                                                                    
Refreshing software list                                                                                                                                   
Message: connection-refused: adaptation0: 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.
adaptation1: 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.
aliendalvik: 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.
eas: 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.
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.
xt9: 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.

Edit : I gave the same credential I use for https://account.jolla.com but it does not work (I am not sure if I have ever registered my Jolla device before) :

$ ssu register
Username: xyzt
Password: 
Last operation failed: 
Host requires authentication

Edit: Actually https://account.jolla.com says my device is activated since July 23, 2014 :

Model IMEI Serial number Activated

Jolla xxxxxxxxxxxxxxxx July 23, 2014

Edit : ssu status says :

$ ssu status
Device registration status: not registered
Device model: Jolla (SbJ / JP-1301)
Device UID: xxxxxxxxxxxxxx
Release: 1.0.4.20

and version --verify says :

$ version --verify                                    
error: rpmdbNextIterator: skipping h#    1234 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ droid-system-sbj-0.4.3-10.24.1.jolla.armv7hl
- package droid-system-sbj is not installed
error: rpmdbNextIterator: skipping h#    1365 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ factory-session-0.1.2-10.4.1.jolla.noarch
- package factory-session is not installed
error: rpmdbNextIterator: skipping h#    1364 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ fastdormancyd-0.0.3-10.2.1.jolla.armv7hl
- package fastdormancyd is not installed
error: rpmdbNextIterator: skipping h#    1372 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ geoclue-provider-here-0.0.9-10.6.5.jolla.armv7hl
- package geoclue-provider-here is not installed
error: rpmdbNextIterator: skipping h#    1367 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ geoclue-provider-hybris-0.0.27-10.13.5.jolla.armv7hl
- package geoclue-provider-hybris is not installed
error: rpmdbNextIterator: skipping h#    1043 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ gstreamer0.10-droidcamsrc-0.1.1-10.11.2.jolla.armv7hl
- package gstreamer0.10-droidcamsrc is not installed
error: rpmdbNextIterator: skipping h#    1041 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ gstreamer0.10-omx-0.1.0-10.9.3.jolla.armv7hl
- package gstreamer0.10-omx is not installed
error: rpmdbNextIterator: skipping h#    1368 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ hybris-libsensorfw-qt5-0.8.2-10.14.4.jolla.armv7hl
- package hybris-libsensorfw-qt5 is not installed
error: rpmdbNextIterator: skipping h#    1165 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ jolla-recovery-sbj-0.3.1-10.10.5.jolla.armv7hl
- package jolla-recovery-sbj is not installed
error: rpmdbNextIterator: skipping h#    1164 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ kernel-adaptation-sbj-3.4.98.20141219.1.1-10.32.3.jolla.armv7hl
- package kernel-adaptation-sbj is not installed
error: rpmdbNextIterator: skipping h#    1030 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ libhybris-sbj-0.0.0.38-10.11.1.jolla.armv7hl
- package libhybris-sbj is not installed
error: rpmdbNextIterator: skipping h#    1233 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ mce-plugin-libhybris-1.4.2-10.8.1.jolla.armv7hl
- package mce-plugin-libhybris is not installed
error: rpmdbNextIterator: skipping h#    1035 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ pulseaudio-modules-droid-sbj-5.0.26-10.15.1.jolla.armv7hl
- package pulseaudio-modules-droid-sbj is not installed
error: rpmdbNextIterator: skipping h#    1163 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ qt5-qpa-hwcomposer-plugin-sbj-5.1.0.1+sbj2-10.7.2.jolla.armv7hl
- package qt5-qpa-hwcomposer-plugin-sbj is not installed
error: rpmdbNextIterator: skipping h#    1248 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ sbj-configs-0.8.20.1-10.35.6.jolla.armv7hl
- package sbj-configs is not installed
error: rpmdbNextIterator: skipping h#    1236 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ sbj-platform-images-0.4.3-10.24.1.jolla.armv7hl
- package sbj-platform-images is not installed
error: rpmdbNextIterator: skipping h#    1235 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ sbj-wlan-0.2.3-10.18.4.jolla.armv7hl
- package sbj-wlan is not installed
error: rpmdbNextIterator: skipping h#    1034 Header V3 DSA/SHA1 Signature, key ID f2633ee0: BAD
+ tohd-plugin-nfc-nxp-1.2.5-10.4.2.jolla.armv7hl
- package tohd-plugin-nfc-nxp is not installed

One ore more packages are not at the expected version for SailfishOS 1.1.2.16 (Yliaavanlampi) (armv7hl)
(+ = expected version, - = installed version)

Edit : I ran rpm --rebuilddb twice to fix the error: rpmdbNextIterator error messages and now I have :

$ version --verify                                                                                                                                                                                                                                                                             
+ droid-system-sbj-0.4.3-10.24.1.jolla.armv7hl
- package droid-system-sbj is not installed
+ factory-session-0.1.2-10.4.1.jolla.noarch
- package factory-session is not installed
+ fastdormancyd-0.0.3-10.2.1.jolla.armv7hl
- package fastdormancyd is not installed
+ geoclue-provider-here-0.0.9-10.6.5.jolla.armv7hl
- package geoclue-provider-here is not installed
+ geoclue-provider-hybris-0.0.27-10.13.5.jolla.armv7hl
- package geoclue-provider-hybris is not installed
+ gstreamer0.10-droidcamsrc-0.1.1-10.11.2.jolla.armv7hl
- package gstreamer0.10-droidcamsrc is not installed
+ gstreamer0.10-omx-0.1.0-10.9.3.jolla.armv7hl
- package gstreamer0.10-omx is not installed
+ hybris-libsensorfw-qt5-0.8.2-10.14.4.jolla.armv7hl
- package hybris-libsensorfw-qt5 is not installed
+ jolla-recovery-sbj-0.3.1-10.10.5.jolla.armv7hl
- package jolla-recovery-sbj is not installed
+ kernel-adaptation-sbj-3.4.98.20141219.1.1-10.32.3.jolla.armv7hl
- package kernel-adaptation-sbj is not installed
+ libhybris-sbj-0.0.0.38-10.11.1.jolla.armv7hl
- package libhybris-sbj is not installed
+ mce-plugin-libhybris-1.4.2-10.8.1.jolla.armv7hl
- package mce-plugin-libhybris is not installed
+ pulseaudio-modules-droid-sbj-5.0.26-10.15.1.jolla.armv7hl
- package pulseaudio-modules-droid-sbj is not installed
+ qt5-qpa-hwcomposer-plugin-sbj-5.1.0.1+sbj2-10.7.2.jolla.armv7hl
- package qt5-qpa-hwcomposer-plugin-sbj is not installed
+ sbj-configs-0.8.20.1-10.35.6.jolla.armv7hl
- package sbj-configs is not installed
+ sbj-platform-images-0.4.3-10.24.1.jolla.armv7hl
- package sbj-platform-images is not installed
+ sbj-wlan-0.2.3-10.18.4.jolla.armv7hl
- package sbj-wlan is not installed
+ tohd-plugin-nfc-nxp-1.2.5-10.4.2.jolla.armv7hl
- package tohd-plugin-nfc-nxp is not installed

One ore more packages are not at the expected version for SailfishOS 1.1.2.16 (Yliaavanlampi) (armv7hl)
(+ = expected version, - = installed version)

and

$ pkcon refresh                              
Refreshing cache                                                                                                       
Waiting in queue                                                                                                       
Waiting for authentication                                                                                              
Waiting in queue                                                                                                        
Starting                                                                                                                
Refreshing software list                                                 [============================        ] (80%)  v                                                                                                                       
Message: connection-refused: adaptation0: 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.
adaptation1: 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.
aliendalvik: 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.
eas: 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.
store: Store credentials not received. Activation of com.jolla.jollastore timed out
xt9: 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.

Can someone help me restore my Jolla credentials ?

edit retag flag offensive close delete

Comments

show us your repositories

ssu lr
atlochowski ( 2017-05-11 23:26:32 +0300 )edit

Can you tell me why you want to downgrade OS to such old version?

atlochowski ( 2017-05-11 23:28:19 +0300 )edit

@atlochowski You are absolutly right, I should never have done that.

I did it to try and install a previous application version that would work with SF 1.0.4.20 : The camera does not work with your application on SF 1.0.4.20 (Jolla1 SFOS factory version)

Now I feel kinda stupid :)

SebM ( 2017-05-11 23:35:57 +0300 )edit

disable openrepos repository and try again

atlochowski ( 2017-05-12 11:18:48 +0300 )edit

@atlochowski If you have a second look at my ssu lr, you will find that my openrepos repositories are ALREADY disabled (since BEFORE the downgrade actually) :)

SebM ( 2017-05-12 11:26:56 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2017-05-14 20:26:07 +0300

atlochowski gravatar image

looks like you have total mess in your system, maybe it's time to use Recovery mode https://jolla.zendesk.com/hc/en-us/articles/204709607-Jolla-Phone-How-to-use-Recovery-Mode

edit flag offensive delete publish link more

Comments

@atlochowski You mean to factory reset it ?

I was hoping for another solution :(

SebM ( 2017-05-14 20:31:45 +0300 )edit

Well if your ssh connection is still up you could setup sftp and at least back up everything right?

MoritzJT ( 2017-05-17 02:09:39 +0300 )edit
0

answered 2017-05-14 17:10:46 +0300

atlochowski gravatar image

Maybe you can restore your credentials like this:

[nemo@Jolla ~]$ ssu r 
username: [give your username]
password: [give your password]
Operation successful
edit flag offensive delete publish link more

Comments

SSU registration is only for Jolla internal development purposes and does not work with the normal Jolla account credentials. I'm afraid there isn't a way to restore the Jolla account from commandline.

Keto ( 2017-05-16 00:25:53 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2017-05-11 23:20:35 +0300

Seen: 536 times

Last updated: May 16 '17