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

    Cant install in terminal

    Scheduled Pinned Locked Moved Waydroid
    29 Posts 9 Posters 4.8k Views 3 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.
      • 0 Offline
        007fred50
        last edited by

        Hello All,

        can someone help me with some commands?

        i trying to run command "sudo mount -o rw,remount /"

        i trying to run command "sudo apt update"
        but it says:

        failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease temporary failure resolving
        

        i trying to install "sudo apt-get isntall waydroid"
        but it says:

        (Err:1 http://ports.ubuntu.com/ubuntu-ports xenil inRelease) (temporary failure resolving ports.ubuntu.com)
        

        How can i install waydroid??? does i have to install in terminal or?

        Thanks for your time !

        Best Regards
        007fred

        LakotaubpL M 2 Replies Last reply Reply Quote 0
        • CiberSheepC CiberSheep moved this topic from General on
        • L Offline
          Lundrin17
          last edited by Lundrin17

          Hi!
          I've managed to see back my terminal commands, when i downloaded.
          The first command should be

          sudo mount -o remount,rw /
          

          (you wrote this in the wrong order)
          The second

          apt update
          

          And the third

          apt install waydroid -y
          

          This worked for me, but you can also try the waydroid helper app in the openstore, that has an install feature.
          But carefull, don't brick your phone with either solutions
          Regards, Lundrin

          1 Reply Last reply Reply Quote 0
          • LakotaubpL Offline
            Lakotaubp @007fred50
            last edited by

            @007fred50 Along with the above it helps to set the screen shut off to never in system settings, battery while doing this.

            1 Reply Last reply Reply Quote 0
            • M Offline
              mschmids @007fred50
              last edited by

              @007fred50 looking at the actual return messages of your commands, could it rather be a networking, then an installation issue? Can you ping ports.ubuntu.com from the command line of your device?

              0 1 Reply Last reply Reply Quote 0
              • 0 Offline
                007fred50
                last edited by

                Hello,

                Some screen short
                1:

                screenshot20220611_114627006[1].png

                3:

                screenshot20220611_114728661[1].png

                Thanks for your time.

                Best Reagrds
                007fred

                LakotaubpL 1 Reply Last reply Reply Quote 0
                • LakotaubpL Offline
                  Lakotaubp @007fred50
                  last edited by

                  @007fred50 These are the commands and order to run them

                  sudo -s
                  sudo mount -o remount,rw /
                  apt update
                  apt install waydroid -y
                  waydroid init

                  Which device are you trying? Also you should get help from here https://t.me/waydroidonut

                  0 2 Replies Last reply Reply Quote 0
                  • 0 Offline
                    007fred50 @Lakotaubp
                    last edited by

                    @lakotaubp but i cant install Any software. Try Aldo to do (sudo apt install vim) still same error

                    LakotaubpL 1 Reply Last reply Reply Quote 0
                    • 0 Offline
                      007fred50 @Lakotaubp
                      last edited by

                      @lakotaubp im in fairphone 3+

                      LakotaubpL 1 Reply Last reply Reply Quote 0
                      • LakotaubpL Offline
                        Lakotaubp @007fred50
                        last edited by

                        @007fred50 Please read here https://forums.ubports.com/topic/5907/open-ubuntu-touch-to-all-android-applications/115 and don't use sudo-apt it's can break the system/changes get over written. If your device can run Waydroid please consider using the WayDroid helper app from te OpenStore it works well. Device details either in the link above or Telegram group can help.

                        1 Reply Last reply Reply Quote 0
                        • 0 Offline
                          007fred50 @mschmids
                          last edited by

                          @mschmids hello, yes i can ping ports.ubuntu.com

                          1 Reply Last reply Reply Quote 0
                          • LakotaubpL Offline
                            Lakotaubp @007fred50
                            last edited by

                            @007fred50 Then that should work with the WayDroid Helper app https://open-store.io/app/waydroidhelper.aaronhafer. If that works you could remove WayDroid and try the terminal again. At least you would know WayDroid installs using the app.

                            1 Reply Last reply Reply Quote 0
                            • 0 Offline
                              007fred50
                              last edited by

                              Hello, I cant intsall Any software in apt

                              MoemM 1 Reply Last reply Reply Quote 0
                              • MoemM Offline
                                Moem @007fred50
                                last edited by

                                @007fred50 said in Cant install in terminal:

                                Hello, I cant intsall Any software in apt

                                That's normal, apt is not supported on UT. Try the Waydroid Helper app from the Open Store instead.

                                Is currently using an Op5t
                                Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                1 Reply Last reply Reply Quote 0
                                • LuksusL Offline
                                  Luksus
                                  last edited by

                                  I think it looks like some networking issue...are you able to open a website with morph-browser?

                                  Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                  0 1 Reply Last reply Reply Quote 0
                                  • 0 Offline
                                    007fred50 @Luksus
                                    last edited by

                                    @luksus it works now

                                    Commands:
                                    sudo mount -o remount,rw /
                                    sudo apt update
                                    sudo apt install waydroid -y
                                    waydroid init

                                    I try thst many times but no Lucky. So really dno what problem it is.

                                    Best regards
                                    007fred50

                                    LakotaubpL 1 Reply Last reply Reply Quote 0
                                    • LakotaubpL Offline
                                      Lakotaubp @007fred50
                                      last edited by

                                      @007fred50 PLease see

                                      sudo -s
                                      sudo mount -o remount,rw /
                                      apt update
                                      apt install waydroid -y
                                      waydroid init

                                      There is no sudo apt. Sudo yes and apt yes but not together, and why not try the app the result is the same. At least try the commands without sudo apt.

                                      arubislanderA 1 Reply Last reply Reply Quote 0
                                      • arubislanderA Online
                                        arubislander @Lakotaubp
                                        last edited by arubislander

                                        @lakotaubp Fred's way works as well as yours. The difference is that the sequence of commands you posted first logs in as root, then you do not need sudo for any of the following commands, but it doesn't hurt either (see the second command in your sequence)
                                        @007fred50's sequence of commands does not login as root first, so sudo is required throughout.

                                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                        Happily running Ubuntu Touch
                                        Google Pixel 3a (20.04 DEV)
                                        JingPad (24.04 preview)
                                        Meizu Pro 5 (16.04 DEV)

                                        LakotaubpL 1 Reply Last reply Reply Quote 0
                                        • LakotaubpL Offline
                                          Lakotaubp @arubislander
                                          last edited by

                                          @arubislander I thought going rw avoided the need to use sudo-apt as that was not advised. Or is my brain failing again.

                                          arubislanderA 1 Reply Last reply Reply Quote 0
                                          • arubislanderA Online
                                            arubislander @Lakotaubp
                                            last edited by

                                            @lakotaubp apt in general is not advised. sudo in front of a command generally just means 'execute as root'.
                                            sudo -s just 'logs you in as root` beforehand.

                                            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                            Happily running Ubuntu Touch
                                            Google Pixel 3a (20.04 DEV)
                                            JingPad (24.04 preview)
                                            Meizu Pro 5 (16.04 DEV)

                                            LakotaubpL 1 Reply Last reply Reply Quote 0
                                            • LakotaubpL Offline
                                              Lakotaubp @arubislander
                                              last edited by

                                              @arubislander Got it.

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post