Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'm trying to init repo of Android ROM, but it returns following error on Ubuntu 16.04:

$ repo init -u git://github.com/AOSiP/platform_manifest.git -b pie
    Get git://github.com/AOSiP/platform_manifest.git
    Traceback (most recent call last):
      File "/media/exthdd/AOSIP/.repo/repo/main.py", line 547, in <module>
        _Main(sys.argv[1:])
      File "/media/exthdd/AOSIP/.repo/repo/main.py", line 522, in _Main
        result = repo._Run(argv) or 0
      File "/media/exthdd/AOSIP/.repo/repo/main.py", line 184, in _Run
        result = cmd.Execute(copts, cargs)
      File "/media/exthdd/AOSIP/.repo/repo/subcmds/init.py", line 426, in Execute
        self._SyncManifest(opt)
      File "/media/exthdd/AOSIP/.repo/repo/subcmds/init.py", line 188, in _SyncManifest
        m._InitGitDir(mirror_git=mirrored_manifest_git)
      File "/media/exthdd/AOSIP/.repo/repo/project.py", line 2395, in _InitGitDir
        self._UpdateHooks()
      File "/media/exthdd/AOSIP/.repo/repo/project.py", line 2416, in _UpdateHooks
        self._InitHooks()
      File "/media/exthdd/AOSIP/.repo/repo/project.py", line 2446, in _InitHooks
        os.path.relpath(stock_hook, os.path.dirname(dst)), dst)
      File "/media/exthdd/AOSIP/.repo/repo/platform_utils.py", line 195, in symlink
        return os.symlink(source, link_name)
    OSError: [Errno 38] Function not implemented

It works when running on system drive, but I don't have enough space there.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.