Error while performing repo sync to install oe-core in my system

I try to install oe-core in my system but when I perform repo sync it gives following error.

error: Cannot fetch meta-lxde.git from Index of /meta-lxde.git
Fetching projects: 64% (11/17) meta-lxde.gitmeta-toradex-tegra.git:

error: Cannot fetch meta-toradex-bsp-common.git from Index of /meta-toradex-bsp-common.git
remote: Enumerating objects: 405, done. p-common.gitremote: Enumerating objects: 382951
remote: Counting objects: 100% (405/405), done.
remote: Compressing objects: 100% (201/201), done.
error: Cannot fetch meta-toradex-nxp.git from Index of /meta-toradex-nxp.git
remote: Enumerating objects: 49, done. MiB | 8.04 MiB/sbjects: 29% (111174/383356), 49.05 MiB | 7.92 MiB/s
remote: Counting objects: 100% (49/49), done. 8.04 MiB/s
remote: Compressing objects: 100% (30/30), done.
error: Cannot fetch meta-toradex-demos.git from Index of /meta-toradex-demos.git
remote: Total 55528 (delta 31), reused 30 (delta 19), pack-reused 55479 11106/55528), 5.40 MiB | 1.79 MiB/s
Receiving objects: 100% (55528/55528), 19.93 MiB | 2.53 MiB/s, done.
Resolving deltas: 100% (39037/39037), done.9.87 MiB | 5.44 MiB/s
remote: Total 383356 (delta 248), reused 292 (delta 199), pack-reused 382951 123.62 MiB | 5.67 MiB/s
Receiving objects: 100% (383356/383356), 142.75 MiB | 6.79 MiB/s, done.
Resolving deltas: 100% (265294/265294), done.
Fetching projects: 94% (16/17) openembedded-core.gitmeta-toradex-tegra.git:

error: Cannot fetch meta-toradex-tegra.git from Index of /meta-toradex-tegra.git
Fetching projects: 100% (17/17), done.
fatal: failed to unpack tree object HEAD
error: Cannot checkout meta-lxde.git: GitError: Cannot initialize work tree for meta-lxde.git
Traceback (most recent call last):
File “/home/embadmin/bin/oe-core/.repo/repo/main.py”, line 628, in
_Main(sys.argv[1:])
File “/home/embadmin/bin/oe-core/.repo/repo/main.py”, line 602, in _Main
result = run()
File “/home/embadmin/bin/oe-core/.repo/repo/main.py”, line 595, in
run = lambda: repo._Run(name, gopts, argv) or 0
File “/home/embadmin/bin/oe-core/.repo/repo/main.py”, line 264, in _Run
result = cmd.Execute(copts, cargs)
File “/home/embadmin/bin/oe-core/.repo/repo/subcmds/sync.py”, line 982, in Execute
self._Checkout(all_projects, opt, err_event, err_results)
File “/home/embadmin/bin/oe-core/.repo/repo/subcmds/sync.py”, line 567, in _Checkout
self._CheckoutWorker(**kwargs)
File “/home/embadmin/bin/oe-core/.repo/repo/subcmds/sync.py”, line 447, in _CheckoutWorker
return self._CheckoutOne(opt, project, *args, **kwargs)
File “/home/embadmin/bin/oe-core/.repo/repo/subcmds/sync.py”, line 481, in _CheckoutOne
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File “/home/embadmin/bin/oe-core/.repo/repo/project.py”, line 1623, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync, submodules=submodules)
File “/home/embadmin/bin/oe-core/.repo/repo/project.py”, line 3135, in _InitWorkTree
raise GitError('Cannot initialize work tree for ’ + self.name)
error.GitError: Cannot initialize work tree for meta-lxde.git

Hi Nitish,

Can you please provide all steps you have followed in the exact order. We quickly tested our article and it working for me fine.

Also what BSP version you are using?

Which host are you using for the build?

Are you able to clone the affected layer manually using git?

Best Regards
Ritesh Kumar