Comment 3 for bug 1454457

Revision history for this message
Ondrej Kubik (ondrak) wrote : Re: [Bug 1454457] Re: Update fails on lack of space, after factory reset still won't update

Can you please check on which channel you phone is at the moment?
$ grep channel /etc/system-image/channel.ini
Checking channel, version 22 became available 12th of May.
Now fact that there is still /android/cache/recovery/version-22.tar.xz means
that recovery failed to complete update process. Normally it should apply
all the changes and then delete all the packages it successfully applied,
it obviously failed in the process and did not get to cleaning stage...

Can you please list here what is content of your /android/cache/recovery?
Also is possible attach any log files from /cache/recovery/ like "log"
"last_install" and "last_log*"
From that we should be able to see what went wrong during OTA update.

Now reason you cannot factory restore using ubuntu-device-flas is simple
I guess your old OTA packages are still in your cache/recovery, occupying
space there. And when ubuntu-device-flash is trying to push there full
factory packages, it eventually fails, since there is not enough space in
cache partition to hold OTA + factory images at the same time.
you can check free space in cache partition with $ df | grep cache

To restore to factory state, simply clean /android/cache/recovery and run
it again, it should succeed.

On Wed, May 13, 2015 at 2:04 AM, Quentin Quaadgras <email address hidden>
wrote:

> Alright thankyou for the information, I'll wait for the update to appear
> again :)
>
> --
> You received this bug notification because you are a member of Ubuntu
> System Image team, which is subscribed to Ubuntu system image.
> https://bugs.launchpad.net/bugs/1454457
>
> Title:
> Update fails on lack of space, after factory reset still won't update
>
> Status in Ubuntu system image (server/client/updater):
> New
>
> Bug description:
> I tried to update my Ubuntu Bq Aquarius today to r22 but when it
> restarted to install updates a picture of a chip came up saying that my
> phone needs to be restored from a PC or supplier, I assume this is because
> of a lack of space because I was playing around with apt-get not too long
> ago.
> The phone automatically restarted after that and was back to normal but
> I decided to factory reset it so I could try installing the update again,
> never the less, after I had done that, my phone says that there are no
> updates available.
> System image CLI on a sry run report:
>
> Device phased percentage: 67%
> WeightedScorer path scores:
> [ 330] -> 22 (42%)
> [ 0] -> 22 (42%)
> Already up-to-date
>
> I have version-22.tar.xz in my /android/cache/recovery folder.
> What should I do to fix this?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-system-image/+bug/1454457/+subscriptions
>