UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Flashing from an Ubuntu live system

    Scheduled Pinned Locked Moved Support
    8 Posts 3 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      guru
      last edited by

      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 🙂

      advocatuxA 1 Reply Last reply Reply Quote 0
      • advocatuxA Offline
        advocatux @guru
        last edited by

        @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 🙂

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          guru @advocatux
          last edited by

          @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

          WLBIW advocatuxA 2 Replies Last reply Reply Quote 0
          • WLBIW Offline
            WLBI @guru
            last edited by WLBI

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

            Bq Aquaris E 4.5 & Bq M10 FHD
            My English YouTube eDrive channel: https://goo.gl/UFVh4S
            My German Linux channel:
            https://www.youtube.com/WarumLinuxBesserIst

            1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @guru
              last edited by

              @guru yes, exactly as @WLBI says 🙂

              1 Reply Last reply Reply Quote 0
              • G Offline
                guru
                last edited by

                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?

                advocatuxA 1 Reply Last reply Reply Quote 0
                • advocatuxA Offline
                  advocatux @guru
                  last edited by

                  @guru normal user 🙂

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    guru
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post