← Back to team overview

ubuntu-phone team mailing list archive

Re: Upgrading OTA-9 manually via local server

 

Hi Pat:

Thanks for your support! 

> Do you see the files download from your mirror?

Yes; I successfully downloaded them from my mirror via browser as test.
So, they are correctly  published in my local system. These are the
needed files for my nexus 4 (with their respective asc and json files). 
/pool/ubuntu-acf0e1b08967170ae7df469c1d1178a0202376759bd9c3b164ff782559d0abe7.tar.xz
/pool/device-d9a1f38a50139f3bd81a94d5f223ede533c376220120d0d984e70db9718cbcb6.tar.xz
/pool/custom-b2b049ed36a72f21d0b407da7f83280580a7966b02d963755aa0d976021ecd15.tar.xz
/ubuntu-touch/stable/ubuntu/mako/version-27.tar.xz
[...]


> Do you have developer mode enabled and hone unlocked, and can you see
> the device with "adb devices" What type of device is it? the MX4 has
> had issues with usb connections.


Yes, all files are downloaded from my mirror to my .cache/ubuntuimages
folder. These are the files a folder structure in this folder:
gpg/image-master.tar.xz
gpg/image-master.tar.xz.asc
gpg/image-signing.tar.xz
pgp/image-signing.tar.xz.asc
pool/custom-b2b049ed36a72f21d0b407da7f83280580a7966b02d963755aa0d976021ecd15.tar.xz
pool/custom-b2b049ed36a72f21d0b407da7f83280580a7966b02d963755aa0d976021ecd15.tar.xz.asc
pool/ubuntu-acf0e1b08967170ae7df469c1d1178a0202376759bd9c3b164ff782559d0abe7.tar.xz
pool/ubuntu-acf0e1b08967170ae7df469c1d1178a0202376759bd9c3b164ff782559d0abe7.tar.xz.asc
pool/device-d9a1f38a50139f3bd81a94d5f223ede533c376220120d0d984e70db9718cbcb6.tar.xz
pool/device-d9a1f38a50139f3bd81a94d5f223ede533c376220120d0d984e70db9718cbcb6.tar.xz.asc
ubuntu-touch/stable/ubuntu/mako/version-27.tar.xz
ubuntu-touch/stable/ubuntu/mako/version-27.tar.xz.asc

The ubuntu-device-flash begin the transfer and the process is
interrupted with the messages: error pushing . The attached picture show
two errors (with and without error description). In the real scenario
these errors are random.

I don't know why the process is interrupted. I installed all previous
versions from 16 until 26 via ubuntu-device-flash using my local mirror
(all using -bootstrap option and from bootloader). Really, I need a
upgrade (not a clean install) so I hope the upgrade via
ubuntu-device-flash can be accesible using my local mirror.


> Having said that, you should see the update. Do you have Wifi enabled?
> What does "sudo system-image-cli -n -v" run on the phone tell you?
> 


My upgrade path is 27 and the target phase is 73%. The problem is that
my phone is target to system-image.ubuntu.com (the real canonical site)
and I need upgrade from my local mirror (due to my slow connection). So,
the ideal solution is upgrade via ubuntu-device-flash from my PC using a
local mirror. 

Regards...




> 
> Having said that, you should see the update. Do you have Wifi enabled?
> What does "sudo system-image-cli -n -v" run on the phone tell you?
> 
> 
> Pat
> 
> On Fri, Jan 29, 2016 at 9:52 AM, Camilo Ernesto Blanco Peña
> <caerbp@xxxxxxxxx> wrote:
> 
>         Hi team:
>         
>         Thanks for your great work!
>         
>         I am running ubuntu phone version 26 (OTA 8.5?) in my Nexus 4.
>         The OTA-9 notification is not showing in settings/updates yet.
>         
>         I am trying to upgrade the new version manually using the
>         ubuntu-device-flash command; like this:
>         ubuntu-device-flash --server=http://localhost/my-touch-mirror
>         touch --channel=ubuntu-touch/stable/ubuntu
>         
>         However, the flashing process is reporting error pushing. 
>         
>         Once it is shown this message:
>         [...] error pushing: error: protocol fault (no status)
>         
>         Other it is shown the same error but without description. Like
>         this:
>         [...] error pushing:
>         
>         I am using a local server because my connection is
>         outrageously slow. So, I check the json files  from
>         system-image.ubuntu.com and detect the necessary files to
>         update or install. Then, I download these files using an
>         corporative connection (only needed files). Oh yes! it is a
>         complicate invention. :-) but it is the unique solution for
>         install ubuntu in my phone using a very slow connection.
>         
>         I always use the install process (using -bootstrap from
>         bootloader) and it was work successfully for me. It is my
>         first try to upgrade my system using the ubuntu-device-flash
>         command.
>         
>         Notes about my PC system:
>         1- Ubuntu 14.04 (recently updated).
>         2- adb version: Android Debug Bridge version 1.0.31.
>         3- ubuntu-device-flash: 0.19-0~142~ubuntu14.04.1
>         4- phablet-tools: 1.2+14.04.20151103-0ubuntu1
>         
>         Best regards...
>         
>         
>         
>         
>         

-- 
Lic. Camilo Ernesto Blanco Peña
Programador de equipos de cómputo
Computer System Programmer.

Móvil/Mobile: +5358135084

Calzada B. Unidad 117. #18.
Reparto Lenin, Ciudad Camagüey
Camagüey 5, Camagüey - Cuba CP: 70500

Registro en Cuba/Registered in Cuba: 478901

-- 
Lic. Camilo Ernesto Blanco Peña
Programador de equipos de cómputo
Computer System Programmer.

Móvil/Mobile: +5358135084

Calzada B. Unidad 117. #18.
Reparto Lenin, Ciudad Camagüey
Camagüey 5, Camagüey - Cuba CP: 70500

Registro en Cuba/Registered in Cuba: 478901

Attachment: ubuntu-device-flash_error-pushing.png
Description: PNG image


Follow ups

References