|
【Linux】
Repo synchronization on kernel failures
Posted at 10/16/2020 20:15:01
View:6383
|
Replies:1
Print
Only Author
[Copy Link]
1#
Dear All,
I tried the steps from your wiki page to download Linux sdk but i get this errors on kernel fetch:
- Receiving objects: 100% (287977/287977), 274.76 MiB | 3.08 MiB/s, done.
- Resolving deltas: 100% (197062/197062), done.20 MiB | 4.89 MiB/s
- remote: Total 4933138 (delta 0), reused 0 (delta 0), pack-reused 4933137 ), 93.03 MiB | 7.72 MiB/s
- Receiving objects: 100% (4933138/4933138), 1.27 GiB | 5.40 MiB/s, done.
- Resolving deltas: 100% (4069423/4069423), done.
- error: Cannot fetch kernel (GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- )
- Exception in thread Thread-39:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
- self.run()
- File "/usr/lib/python2.7/threading.py", line 754, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 305, in _FetchProjectList
- success = self._FetchHelper(opt, project, *args, **kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 351, in _FetchHelper
- clone_filter=clone_filter)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 1560, in Sync_NetworkHalf
- self._InitMRef()
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2944, in _InitMRef
- self._InitAnyMRef(base + self.manifest.branch, active_git)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2956, in _InitAnyMRef
- active_git.UpdateRef(ref, dst, message=msg, detach=True)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3345, in UpdateRef
- self.update_ref(*cmdv)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3411, in runner
- (self._project.name, name, p.stderr))
- GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- Fetching projects: 97% (39/40), done.
- error: Cannot fetch kernel (GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- )
- Exception in thread Thread-81:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
- self.run()
- File "/usr/lib/python2.7/threading.py", line 754, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 305, in _FetchProjectList
- success = self._FetchHelper(opt, project, *args, **kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 351, in _FetchHelper
- clone_filter=clone_filter)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 1560, in Sync_NetworkHalf
- self._InitMRef()
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2944, in _InitMRef
- self._InitAnyMRef(base + self.manifest.branch, active_git)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2956, in _InitAnyMRef
- active_git.UpdateRef(ref, dst, message=msg, detach=True)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3345, in UpdateRef
- self.update_ref(*cmdv)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3411, in runner
- (self._project.name, name, p.stderr))
- GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- Updating files: 100% (254/254), done.ildrootUpdating files: 22% (56/254)
- Updating files: 100% (579/579), done.Updating files: 78% (457/579)
- Updating files: 100% (136/136), done.istroUpdating files: 40% (55/136)
- Updating files: 100% (131/131), done.ibdrm-rockchipUpdating files: 55% (73/131)
- Updating files: 100% (11764/11764), done.ibtUpdating files: 53% (6284/11764)
- Checking out projects: 85% (34/40) tensorflowfatal: failed to unpack tree object HEAD
- error: Cannot checkout kernel: GitError: Cannot initialize work tree for kernel
- Traceback (most recent call last):
- File "/home/plobacz/rk3399/.repo/repo/main.py", line 628, in <module>
- _Main(sys.argv[1:])
- File "/home/plobacz/rk3399/.repo/repo/main.py", line 602, in _Main
- result = run()
- File "/home/plobacz/rk3399/.repo/repo/main.py", line 595, in <lambda>
- run = lambda: repo._Run(name, gopts, argv) or 0
- File "/home/plobacz/rk3399/.repo/repo/main.py", line 264, in _Run
- result = cmd.Execute(copts, cargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 982, in Execute
- self._Checkout(all_projects, opt, err_event, err_results)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 567, in _Checkout
- self._CheckoutWorker(**kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 447, in _CheckoutWorker
- return self._CheckoutOne(opt, project, *args, **kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 481, in _CheckoutOne
- project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 1623, in Sync_LocalHalf
- self._InitWorkTree(force_sync=force_sync, submodules=submodules)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3135, in _InitWorkTree
- raise GitError('Cannot initialize work tree for ' + self.name)
- error.GitError: Cannot initialize work tree for kernel
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ mc
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ mc
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ ls -l .repo/manifest.xml
- -rw-r--r-- 1 plobacz plobacz 520 Oct 16 13:13 .repo/manifest.xml
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ grep kernel .repo/manifest.xml
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ grep kernel .repo/manifest.xml
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ mc
- plobacz@DESKTOP-GH8CSLI:~/rk3399$ repo sync -c kernel
- repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
- ... A new version of repo (2.8) is available.
- ... New version is available at: /home/plobacz/rk3399/.repo/repo/repo
- ... The launcher is run from: /usr/bin/repo
- !!! The launcher is not writable. Please talk to your sysadmin or distro
- !!! to get an update installed.
- error: Cannot fetch kernel (GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- )
- Exception in thread Thread-1:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
- self.run()
- File "/usr/lib/python2.7/threading.py", line 754, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 305, in _FetchProjectList
- success = self._FetchHelper(opt, project, *args, **kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 351, in _FetchHelper
- clone_filter=clone_filter)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 1560, in Sync_NetworkHalf
- self._InitMRef()
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2944, in _InitMRef
- self._InitAnyMRef(base + self.manifest.branch, active_git)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2956, in _InitAnyMRef
- active_git.UpdateRef(ref, dst, message=msg, detach=True)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3345, in UpdateRef
- self.update_ref(*cmdv)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3411, in runner
- (self._project.name, name, p.stderr))
- GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- error: Cannot fetch kernel (GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- )
- Exception in thread Thread-3:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
- self.run()
- File "/usr/lib/python2.7/threading.py", line 754, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 305, in _FetchProjectList
- success = self._FetchHelper(opt, project, *args, **kwargs)
- File "/home/plobacz/rk3399/.repo/repo/subcmds/sync.py", line 351, in _FetchHelper
- clone_filter=clone_filter)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 1560, in Sync_NetworkHalf
- self._InitMRef()
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2944, in _InitMRef
- self._InitAnyMRef(base + self.manifest.branch, active_git)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 2956, in _InitAnyMRef
- active_git.UpdateRef(ref, dst, message=msg, detach=True)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3345, in UpdateRef
- self.update_ref(*cmdv)
- File "/home/plobacz/rk3399/.repo/repo/project.py", line 3411, in runner
- (self._project.name, name, p.stderr))
- GitError: kernel update-ref: fatal: a179e620b38958254c1f74d283a9cf853ae20813^0: not a valid SHA1
- error: Unable to fully sync the tree.
- error: Downloading network changes failed.
- error: Checking out local projects failed.
- Try re-running with "-j1 --fail-fast" to exit at the first error.
Copy the code
Could you please fix the manifests? |
|