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

UBports installer under ubuntu 16.04 desktop

Scheduled Pinned Locked Moved Support
snapubports installinstallation16.04
12 Posts 2 Posters 2.0k 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.
    • B Offline
      Bastos
      last edited by 27 Jun 2018, 08:56

      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

      A 1 Reply Last reply 27 Jun 2018, 09:05 Reply Quote 0
      • A Offline
        advocatux @Bastos
        last edited by 27 Jun 2018, 09:05

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

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bastos
          last edited by 27 Jun 2018, 09:35

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

          A 1 Reply Last reply 27 Jun 2018, 11:38 Reply Quote 0
          • A Offline
            advocatux @Bastos
            last edited by advocatux 27 Jun 2018, 11:38

            @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
            • B Offline
              Bastos
              last edited by 27 Jun 2018, 11:49

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

              A 1 Reply Last reply 27 Jun 2018, 11:50 Reply Quote 0
              • A Offline
                advocatux @Bastos
                last edited by 27 Jun 2018, 11:50

                @bastos good luck!

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Bastos
                  last edited by 27 Jun 2018, 11:55

                  Reboot failed. Same error 😞

                  A 1 Reply Last reply 27 Jun 2018, 11:57 Reply Quote 0
                  • A Offline
                    advocatux @Bastos
                    last edited by 27 Jun 2018, 11:57

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

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bastos
                      last edited by 27 Jun 2018, 12:03

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

                      A 1 Reply Last reply 27 Jun 2018, 12:04 Reply Quote 0
                      • A Offline
                        advocatux @Bastos
                        last edited by 27 Jun 2018, 12:04

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

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          advocatux
                          last edited by 27 Jun 2018, 12:14

                          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

                          B 1 Reply Last reply 27 Jun 2018, 12:27 Reply Quote 1
                          • B Offline
                            Bastos @advocatux
                            last edited by 27 Jun 2018, 12:27

                            @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
                            2 out of 12
                            • First post
                              2/12
                              Last post