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 @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 Offline
                            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 Offline
                                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
                                  • 0 Offline
                                    007fred50
                                    last edited by

                                    Hello,

                                    I cant run commands (sudo apt update) it says like it says before i added a screen shot later.

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

                                      I can ping google.dk and 8.8.8.8

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

                                        @007fred50 apt update will give you some errors but won't brick anything.

                                        But NEVER run sudo apt-upgrade on Ubuntu Touch as it may render the system completely unusable.

                                        If you already did run some apt commands, please reinstall Ubuntu Touch using the installer, don't check the "wipe" option and your user data partition won't be erased,
                                        Then use the WayDroid Helper app in the open store to install WayDroid, or follow this guide:

                                        https://forums.ubports.com/topic/5907/open-ubuntu-touch-to-all-android-applications/114

                                        Redmi Note 9S Stable
                                        If God has a computer, it must be a GNU/Linux

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

                                          I cant Even install waydroid in terminal or Waydroid Helper from app store (and install from there)

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

                                            @007fred50 said in Cant install in terminal:

                                            I cant Even install waydroid in terminal or Waydroid Helper from app store

                                            Then you seem to have some networking issue, but I don't think the issue is the device itself... maybe your WiFi, maybe some blocking firewall in your network or whatever. Did you already try to use another network (WiFi from a friend for example)?

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

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

                                              @luksus Hello, i have try to change wifi. home + mobile wifi. Still nothing in (sudo apt update)

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