new-host-20 ~ # emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git pull
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/portage/util/_async/AsyncFunction.py", line 39, in _run
result = self.target(*(self.args or []), **(self.kwargs or {}))
File "/usr/lib64/python2.7/site-packages/portage/sync/controller.py", line 159, in sync
taskmaster.run_tasks(tasks, func, status, options=task_opts)
File "/usr/lib64/python2.7/site-packages/portage/sync/controller.py", line 66, in run_tasks
result = getattr(inst, func)(**kwargs)
File "/usr/lib64/python2.7/site-packages/portage/sync/syncbase.py", line 125, in sync
return self.update()
File "/usr/lib64/python2.7/site-packages/portage/sync/modules/git/git.py", line 91, in update
cwd=portage._unicode_encode(self.repo.location))
File "/usr/lib64/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['/usr/bin/git', 'rev-list', '--max-count=1', 'HEAD']' returned non-zero exit status 128
new-host-20 ~ # kate
Question
maleita
Good night,since today ,have trouble with sync
Link to comment
Share on other sites
3 answers to this question
Recommended Posts