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

                              @luksus i change stable channel to developer channel. and it knows 1 time now. some in stabile not working

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

                                Hello @007fred50
                                I don't fully understand what you're trying to do.
                                But using apt is not a good idea ; it is available in devel but for people that understand what they are doing.
                                I'd recommend to install stable from the UBports installer and then try using waydroid helper app...

                                When running apt commands you probably saturated the memory on the system partition or some other unintended side effect

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

                                  As far as I know @007fred50 broke is installation by doing some other system operations (like adduser) which has lead to the issues as he told me in private chat.

                                  So, I think this is solved now and it was no issue with UT or Waydroid itself.

                                  @007fred50 Please mark this as solved and maybe you want to add some further explanation what caused the issues for you.

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

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