Ask / Submit
1

Update from 2.1.2.3 to 2.1.3.7 fails on Jolla 1 - [<Status 18>] wireless-regdb 2016.06.10-1.3.6: [100 %]

asked 2017-11-21 07:24:50 +0200

cocof2001 gravatar image

updated 2017-12-07 11:23:53 +0200

Hi,

I am not able to update from 2.1.2.3 to 2.1.3.7. When I try with version --dup it is always restarting the update at this step:

[root@Sailfish nemo]# version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
Finished transaction (status=1, runtime=62300ms)
UPGRADING SYSTEM
[0 %] [<Status 18>] wireless-regdb 2016.06.10-1.3.6: [100 %]
Error: Installation aborted by user

Finished transaction (status=2, runtime=7207ms)
UPGRADE NOT COMPLETE - Retry 1 of 9
Waiting 1 seconds before retry.
REFRESHING CACHE AND DOWNLOADING PACKAGES
Refreshing: 0%^C
[root@Sailfish nemo]#

[root@Sailfish nemo]# ssu lr
Enabled repositories (global):
 - adaptation0    ... https://store-repository.jolla.com/releases/2.1.2.3/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik    ... https://store-repository.jolla.com/releases/2.1.2.3/aliendalvik/SbJ/
 - apps           ... https://releases.jolla.com/jolla-apps/2.1.2.3/armv7hl/
 - customer-jolla ... https://store-repository.jolla.com/features/2.1.2.3/customers/jolla/armv7hl/
 - eas            ... https://store-repository.jolla.com/features/2.1.2.3/eas/armv7hl/
 - hotfixes       ... https://releases.jolla.com/releases/2.1.2.3/hotfixes/armv7hl/
 - jolla          ... https://releases.jolla.com/releases/2.1.2.3/jolla/armv7hl/
 - xt9            ... https://store-repository.jolla.com/features/2.1.2.3/xt9/armv7hl/

Enabled repositories (user):
 - customer-jolla  ... https://store-repository.jolla.com/features/2.1.2.3/customers/jolla/armv7hl/
 - openrepos-basil ... http://sailfish.openrepos.net/basil/personal/main
 - store           ... https://store-repository.jolla.com/SbJ/armv7hl/?version=2.1.2.3

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

Disabled repositories (user):
 - home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
[root@Sailfish nemo]#

Any idea what is the WA in this case?

EDIT: 07/12/2017 How to fix "Stale file handle" errors? /usr/share/doc/wireless-regdb-2016.06.10: Stale file handle /usr/share/zypper/xml: Stale file handle /opt/alien/usr/share/doc/wireless-regdb-2016.06.10: Stale file handle /opt/alien/usr/share/zypper/xml: Stale file handle

edit retag flag offensive close delete

3 Answers

Sort by » oldest newest most voted
1

answered 2017-11-22 10:11:46 +0200

jovirkku gravatar image

We checked once more that updating Jolla1 from 2.1.2.3 to 2.1.3.7 and from 2.1.0.11 to 2.1.3.7 keeps working. Hence the release repository is ok. The initial versions here were either flashed or factory-reset to the device implying that the devices had a 'clean' Sailfish OS in them.
- What is causing the issue reported in this post is still unclear.

edit flag offensive delete publish link more

Comments

Ok, but what about these "Stale file handle" errors:

[root@Sailfish nemo]# ls -al /usr/share/doc/wireless-regdb-2016.06.10
ls: cannot access /usr/share/doc/wireless-regdb-2016.06.10: Stale file handle
[root@Sailfish nemo]# ls -al /usr/share/zypper/xml
ls: cannot access /usr/share/zypper/xml: Stale file handle
[root@Sailfish nemo]# ls -al /opt/alien/usr/share/doc/wireless-regdb-2016.06.10
ls: cannot access /opt/alien/usr/share/doc/wireless-regdb-2016.06.10: Stale file handle
[root@Sailfish nemo]# ls -al /opt/alien/usr/share/zypper/xml
ls: cannot access /opt/alien/usr/share/zypper/xml: Stale file handle
[root@Sailfish nemo]#

Don't know if it is because of the upgrade or of something else. Maybe this is the reason the update fails.

cocof2001 ( 2017-11-23 07:48:00 +0200 )edit
0

answered 2017-11-21 08:47:26 +0200

lakutalo gravatar image

updated 2017-11-21 08:58:26 +0200

There is a highly related post here https://together.jolla.com/question/174075/update-from-2123-to-2137-fails-on-jolla-1/ :)

Have you tried to update your phone the usual way?

edit flag offensive delete publish link more

Comments

Nope, not same issue. I tried normal way like 10 times. It fails soon after it starts to display the white bar. When I try with version --dup it fails at this package wireless-regdb 2016.06.10-1.3.6. I searched and read already the first similar threads.If additional logs are needed just tell me.

cocof2001 ( 2017-11-21 08:56:53 +0200 )edit

I replaced the nasty word duplicate then. I recall a lot of other issues that might be involved. Have you disabled repositories, started a btrfs balance lately, got enough space left on the device?

lakutalo ( 2017-11-21 09:02:30 +0200 )edit

Balance apparently is not needed:

[root@Sailfish nemo]# btrfs-balancer allocation
Total:     14763950080 bytes
Used:      7559142440 bytes
Allocated: 51 %
[root@Sailfish nemo]# btrfs-balancer balance
No balancing required. 51 % allocated.
[root@Sailfish nemo]#


[root@Sailfish nemo]# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
rootfs                   14078      3210      9035  27% /
/dev/mmcblk0p28          14078      3210      9035  27% /
devtmpfs                   404         1       404   1% /dev
tmpfs                      405         1       405   1% /dev/shm
tmpfs                      405        22       384   6% /run
tmpfs                      405         0       405   0% /sys/fs/cgroup
tmpfs                      405         1       405   1% /tmp
/dev/mmcblk0p9              48        11        37  22% /var/systemlog
/dev/mmcblk0p25              8         5         4  53% /persist
/dev/mmcblk0p28          14078      3210      9035  27% /home
/dev/mmcblk0p18             64        45        20  70% /firmware
/dev/mmcblk0p19              8         5         4  52% /drm
tmpfs                      405         0       405   0% /mnt/asec
tmpfs                      405         0       405   0% /mnt/obb
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/data
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/bin
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/sbin
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/lib
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/usr
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/var
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/etc
tmpfs                      405         1       405   1% /opt/alien/tmp
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/home
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/vendor
devtmpfs                   404         1       404   1% /opt/alien/dev
tmpfs                      405         1       405   1% /opt/alien/dev/shm
tmpfs                      405         0       405   0% /opt/alien/sys/fs/cgroup
tmpfs                      405        22       384   6% /opt/alien/run
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/media
/dev/mmcblk0p28          14078      3210      9035  27% /opt/alien/system_jolla
tmpfs                       81         1        81   1% /run/user/100000
tmpfs                       81         1        81   1% /opt/alien/run/user/1000                                  00
/dev/fuse                14078      3210      9035  27% /opt/alien/home/nemo/and                                  roid_storage
/dev/fuse                14078      3210      9035  27% /home/nemo/android_stora                                  ge
/dev/mmcblk1p1           59934     22468     34423  40% /media/sdcard/fd16951e-f                                  196-4e2a-9a9d-3390180cadc9
/dev/mmcblk1p1           59934     22468     34423  40% /opt/alien/media/sdcard/                                  fd16951e-f196-4e2a-9a9d-3390180cadc9
[root@Sailfish nemo]#

What repositories do I have to disable?

cocof2001 ( 2017-11-21 09:14:24 +0200 )edit

Here is an excerpt of mine, hope it helps. My phone is still pristine in regard to repositories.

[nemo@Sailfish ~]$ ssu repos
Enabled repositories (global):
 - adaptation0    ... https://store-repository.jolla.com/releases/2.1.3.7/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik    ... https://store-repository.jolla.com/releases/2.1.3.7/aliendalvik/SbJ/
 - apps           ... https://releases.jolla.com/jolla-apps/2.1.3.7/armv7hl/
 - customer-jolla ... https://store-repository.jolla.com/features/2.1.3.7/customers/jolla/armv7hl/
 - eas            ... https://store-repository.jolla.com/features/2.1.3.7/eas/armv7hl/
 - hotfixes       ... https://releases.jolla.com/releases/2.1.3.7/hotfixes/armv7hl/
 - jolla          ... https://releases.jolla.com/releases/2.1.3.7/jolla/armv7hl/
 - xt9            ... https://store-repository.jolla.com/features/2.1.3.7/xt9/armv7hl/

Enabled repositories (user):
 - store ... https://store-repository.jolla.com/SbJ/armv7hl/?version=2.1.3.7

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

Disabled repositories (user):
 - home ...
lakutalo ( 2017-11-21 09:23:47 +0200 )edit

Here is what I have now for repositories:

[root@Sailfish nemo]# ssu lr
Enabled repositories (global):
 - adaptation0 ... https://store-repository.jolla.com/releases/2.1.2.3/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik ... https://store-repository.jolla.com/releases/2.1.2.3/aliendalvik/SbJ/
 - apps        ... https://releases.jolla.com/jolla-apps/2.1.2.3/armv7hl/
 - eas         ... https://store-repository.jolla.com/features/2.1.2.3/eas/armv7hl/
 - hotfixes    ... https://releases.jolla.com/releases/2.1.2.3/hotfixes/armv7hl/
 - jolla       ... https://releases.jolla.com/releases/2.1.2.3/jolla/armv7hl/
 - xt9         ... https://store-repository.jolla.com/features/2.1.2.3/xt9/armv7hl/

Enabled repositories (user):
 - store ... https://store-repository.jolla.com/SbJ/armv7hl/?version=2.1.2.3

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

Disabled repositories (user):
 - home            ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
 - customer-jolla  ... https://store-repository.jolla.com/features/2.1.2.3/customers/jolla/armv7hl/
 - openrepos-basil ... http://sailfish.openrepos.net/basil/personal/main
[root@Sailfish nemo]#

And this is the error message when updating the normal way:

Nov 21 09:49:54 Sailfish packagekitd[4327]: Install progress update: 40 of 377
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - void Package::DistUpgradeTransactionPkgKit::slotPackage(PackageKit::Transaction::Info, const QString&, const QString&) 12 "wireless-regdb;2016.06.10-1.3.6;noarch;jolla" "802.11 wireless networking regulatory database"
Nov 21 09:49:54 Sailfish packagekitd[4327]: Install progress update: 41 of 377
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - void Package::DistUpgradeTransactionPkgKit::slotTransactionError(PackageKit::Transaction::Error, const QString&) 4 "Installation aborted by user\n"
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - void Package::DistUpgradeTransactionPkgKit::slotTransactionFinished(PackageKit::Transaction::Exit, uint) 2 53442
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - void PackageHandler::slotUpgradeFailure(const QString&) "Installation aborted by user\n"
Nov 21 09:49:54 Sailfish store-client[4498]: [D] expression for onOsUpdateResult:55 - System upgrade failed!
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - Wrapped transaction failed: "Installation aborted by user\n"
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - Resetting ssu version
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - void Package::RepositoryTransactionPkgKit::setSsuVersion(const QString&) new version "2.1.3.7" current version "2.1.3.7"
Nov 21 09:49:54 Sailfish store-client[4498]: [D] unknown:0 - virtual Package::DistUpgradeTransactionPkgKit::~DistUpgradeTransactionPkgKit()
cocof2001 ( 2017-11-21 10:07:55 +0200 )edit
0

answered 2017-11-22 07:58:24 +0200

Vesart gravatar image

I have a same kind of problem. I downloaded the new OS version Kymijoki and started the installation. After pressing OK to request of restarting the phone, it started to reboot but after a while it stopped, screen went black and it rebooted again. This seems to continue forever. What shall I do? I'm just an ordinary Jolla user without 'hacking' skills. The phone is dead e.g. I cannot use it because it won't start up.

edit flag offensive delete publish link more

Comments

You mean you are in a bootloop or you are able to start the phone but not able to make the upgrade?

cocof2001 ( 2017-11-22 08:11:27 +0200 )edit

Yes, that is the link that must be read for bootloops and also this one: https://together.jolla.com/question/22079/howto-all-computer-users-recover-or-reset-a-device-that-is-stuck-in-boot-loop/?sort=votes&page=1

cocof2001 ( 2017-11-22 08:51:14 +0200 )edit

I had no other choice than restore the factory settings; other options didn't work. So a long way back to the old days of Sailfish OS.

Vesart ( 2017-11-22 10:57:12 +0200 )edit

Good to know it worked. If you have time look at this thread to understand how you can make a full backup with dd. This can save your phone even when restore to factory settings will not work.

https://together.jolla.com/question/81832/full-phone-backup-guide/

cocof2001 ( 2017-11-23 07:53:30 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2017-11-21 07:24:50 +0200

Seen: 289 times

Last updated: Dec 07