ubports/docs.ubports.com

Function not implemented repo error

compromyse opened this issue · 0 comments

sudo ~/bin/repo init -u https://github.com/Halium/android -b halium-10.0 --depth=1

When i run this command, this is the error i get

╭─stagefright@Aspire ~/data 
╰─$ sudo ~/bin/repo init -u https://github.com/Halium/android -b halium-10.0 --depth=1                                                                                  1 ↵
Downloading manifest from https://github.com/Halium/android
Traceback (most recent call last):
  File "/home/stagefright/data/.repo/repo/main.py", line 651, in <module>
    _Main(sys.argv[1:])
  File "/home/stagefright/data/.repo/repo/main.py", line 627, in _Main
    result = run()
  File "/home/stagefright/data/.repo/repo/main.py", line 620, in <lambda>
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "/home/stagefright/data/.repo/repo/main.py", line 286, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/stagefright/data/.repo/repo/subcmds/init.py", line 530, in Execute
    self._SyncManifest(opt)
  File "/home/stagefright/data/.repo/repo/subcmds/init.py", line 166, in _SyncManifest
    m._InitGitDir(mirror_git=mirrored_manifest_git)
  File "/home/stagefright/data/.repo/repo/project.py", line 2529, in _InitGitDir
    self._UpdateHooks(quiet=quiet)
  File "/home/stagefright/data/.repo/repo/project.py", line 2547, in _UpdateHooks
    self._InitHooks(quiet=quiet)
  File "/home/stagefright/data/.repo/repo/project.py", line 2578, in _InitHooks
    platform_utils.symlink(
  File "/home/stagefright/data/.repo/repo/platform_utils.py", line 46, in symlink
    return os.symlink(source, link_name)
OSError: [Errno 38] Function not implemented: '../../repo/hooks/pre-auto-gc' -> '/home/stagefright/data/.repo/manifests.git/hooks/pre-auto-gc'