Flashing from an Ubuntu live system



  • As I do not have any Linux installed (only FreeBSD) I fetched an Ubuntu 17.10 ISO image, copied this onto an USB stick and booted this. Then I fetched the UBports installer ubports-installer_0.1.21-beta_amd64.deb and try to install this into the booted live system with:

    # apt-get install `pwd`/ubports-installer_0.1.21-beta_amd64.deb 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'ubports-installer' instead of '/home/ubuntu/Downloads/ubports-installer_0.1.21-beta_amd64.deb'
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     ubports-installer : Depends: gconf2 but it is not installable
                         Depends: gconf-service but it is not installable
                         Depends: android-tools-adb but it is not installable
                         Depends: android-tools-fastboot but it is not installable
    E: Unable to correct problems, you have held broken packages.
    
    # apt-get install android-tools-fastboot
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package android-tools-fastboot
    

    How could I solve this? Please be patient with me, as I know less or nothing about Linux :-)



  • @guru hi, you need to add the universe repo to your sources.list

    A handy place to search for Ubuntu packages and see in which repo they are, and for which distros they're available, is https://packages.ubuntu.com/

    I think it's better to install Ubuntu 16.04 in a usb stick because you'll have access to even the phablet-tools in that way but 17.10 is good enough to do the UT installation work :)



  • @advocatux said in Flashing from an Ubuntu live system:

    @guru hi, you need to add the universe repo to your sources.list
    ...

    How do I do this exactly? Thanks



  • @guru
    I think this can do:
    sudo add-apt-repository universe
    sudo apt update



  • @guru yes, exactly as @WLBI says :)



  • I installed the Ubuntu 17.10 from the ISO copied to an USB stick into some other USB stick. This boots fine, I fetche the ubports-installer and I could run

    $ sudo su
    # apt-get install `pwd`/ubports-installer_0.1.21-beta_amd64.deb
    

    This fetched on the fly all other packages. The installer GUI starts fine.

    Should it be run with sudo ubports-installer or just as normal user?



  • @guru normal user :)



  • I flashed with the tool 16.04 into my BQ E4.5. Two observations:

    • Against what is shown in the video, I was not asked to press any buttons on the device.

    • After detecting the device correctly as BQ E4.5 and already downloaded some parts, it raised an error, something "like device not detected"; luckily I marked "ignore" and it seems that OTA-15 is installed fine.


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.