Interrupted update download fills root partition

asked 2019-04-25 14:13:29 +0200

martijntje gravatar image

I was trying to download the most recent update and due to me going out of range of the wifi the update hung. Now this unfinished download is preventing me from updating.

The update screen shows: "Update requires 500 MB of free space. 400 MB currently available."

I have been trying to find the location where sailfish downloads these files, but couldn't manage to do so. Where are those interrupted downloads? I have restarted the phone to prevent sailfish from keeping it open. Available space:

[nemo@Sailfish ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sailfish/root    2.4G  2.0G  408M  83% /
/dev/sailfish/home     47G  6.8G   39G  15% /home
devtmpfs              2.7G  536K  2.7G   1% /dev
tmpfs                 2.8G  224K  2.8G   1% /dev/shm
tmpfs                 2.8G   21M  2.8G   1% /run
tmpfs                 2.8G     0  2.8G   0% /sys/fs/cgroup
tmpfs                 2.8G  8.0K  2.8G   1% /tmp
tmpfs                 2.8G     0  2.8G   0% /mnt
/dev/mmcblk0p79       641M  552M   72M  89% /fimage
/dev/mmcblk0p71       821M  280M  518M  36% /opt
/dev/mmcblk0p44        12M  7.4M  4.2M  64% /dsp
/dev/mmcblk0p42       110M   96M   15M  87% /firmware
/dev/mmcblk0p68       372M  207M  153M  58% /odm
/dev/mmcblk0p40        64M  496K   64M   1% /bt_firmware
/dev/mmcblk0p2         28M  424K   27M   2% /persist
tmpfs                 565M  844K  564M   1% /run/user/100000
edit retag flag offensive close delete

Comments

I couldn't find out exactly where this is stored. I have managed to shrink my home partition and grow the root, which eliminates the problem. Problem is that now it's showing it has an update 'ready to install', even though it never executed a full download. Chances are I'll brick the thing if I try to install it.

martijntje ( 2019-04-25 17:39:34 +0200 )edit

Chances are I'll brick the thing if I try to install it.

If unsure, do the update on the command line (ssu re 3.0.3.8 and version --dup) it's a bit more reliable in my user's experience.

DrYak ( 2019-04-26 00:46:06 +0200 )edit