Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    UBports installer under ubuntu 16.04 desktop

    Support
    16.04 installation snap ubports install
    2
    12
    1177
    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.
    • Bastos
      Bastos last edited by

      Hi together,
      I followed the install instruction here: https://github.com/ubports/ubports-installer

      And this was the permission error even with sudo ubports-installer:

      sebastian@sebastian-N551JK:/hdd/home/sebastian$ ubports-installer
      2018/06/27 10:50:22.377302 cmd_run.go:442: WARNING: XAUTHORITY environment value is not a clean path: "/hdd/home/sebastian/.Xauthority"
      cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied

      advocatux 1 Reply Last reply Reply Quote 0
      • advocatux
        advocatux @Bastos last edited by

        @bastos what OS is running on your computer? what ubports-installer version are you using?

        1 Reply Last reply Reply Quote 0
        • Bastos
          Bastos last edited by

          Os: Ubuntu 16.04
          Snap latest from github. I have installed the ubports-installer the first time

          advocatux 1 Reply Last reply Reply Quote 0
          • advocatux
            advocatux @Bastos last edited by advocatux

            @bastos I assume you have checked you have adb and fastboot installed on your computer. Have you tried to run the installer with sudo?

            If you have any problem with .Xauthority reboot your computer and hope that fixes it 🙂

            1 Reply Last reply Reply Quote 0
            • Bastos
              Bastos last edited by

              adb and fastboot is installed. I try the restart. Thanks, @advocatux

              advocatux 1 Reply Last reply Reply Quote 0
              • advocatux
                advocatux @Bastos last edited by

                @bastos good luck!

                1 Reply Last reply Reply Quote 0
                • Bastos
                  Bastos last edited by

                  Reboot failed. Same error 😞

                  advocatux 1 Reply Last reply Reply Quote 0
                  • advocatux
                    advocatux @Bastos last edited by

                    @bastos that's a weird error for sure. Is your computer set in any non-usual way?

                    1 Reply Last reply Reply Quote 0
                    • Bastos
                      Bastos last edited by

                      I dont think so. But I am on ubuntu since 07.04 so maybe some weired things have evolved

                      advocatux 1 Reply Last reply Reply Quote 0
                      • advocatux
                        advocatux @Bastos last edited by

                        @bastos can you paste here your /etc/sudoers config?

                        1 Reply Last reply Reply Quote 0
                        • advocatux
                          advocatux last edited by

                          First time I read this /hdd/home/sebastian/ it got my attention too. How is your /home mounted exactly?

                          It seems there's a bug with Snap and non-usual ways to mount that directory.

                          https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1758449
                          https://forum.snapcraft.io/t/how-can-i-use-snap-when-i-dont-use-home-user/3352

                          Bastos 1 Reply Last reply Reply Quote 1
                          • Bastos
                            Bastos @advocatux last edited by

                            @advocatux said in UBports installer under ubuntu 16.04 desktop:

                            First time I read this /hdd/home/sebastian/ it got my attention too. How is your /home mounted exactly?

                            Ah yes. This could be. Have to check with my Admin. Thanks.

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