当我执行时

repo sync -c -j32, repo sync -l, repo sync -f -j32

,我收到以下错误消息:

Skipped fetching project platform/external/libnl (already have persistent ref) Fetching projects: 99% (973/982) Fetching projects: 100% (982/982) Fetching projects: 100% (982/982), done. Syncing work tree: 69% (678/982)error: unable to read sha1 file of poky-glibc-x86_64-meta-toolchain-corei7-64-toolchain-2.4.1.sh (ee2a73e64b173391521a4497c01d2883f398a762) error: unable to read sha1 file of poky-glibc-x86_64-meta-toolchain-corei7-64-toolchain-2.4.2.sh (613f2c165509644875e261fcb853644a5f11702c) Traceback (most recent call last): File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 547, in

_Main(sys.argv[1:]) File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 522, in

_Main

result = repo._Run(argv) or 0 File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 184, in

_Run

result = cmd.Execute(copts, cargs) File "/data/home/shared/codebase/titan_q/.repo/repo/subcmds/sync.py", line 863, in Execute

project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync) File "/data/home/shared/codebase/titan_q/.repo/repo/project.py", line 1379, in Sync_LocalHalf

self._InitWorkTree(force_sync=force_sync, submodules=submodules) File "/data/home/shared/codebase/titan_q/.repo/repo/project.py", line 2587, in _InitWorkTree

raise GitError("cannot initialize work tree") error.GitError: cannot initialize work tree

那是什么意思?我该怎么解决?

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐