cannot sync - pulling is not possible because you have unmerged files

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Oct 10 12:48:24 UTC 2017


Hi,

This is git, nothing to do with macports.

Looks like you have made some modifications to the ports in your local 
git checkout which conflict with what is being pulled in during the 
sync. You need to go into your git checkout and fix the conflicts, 
whatever they are, by hand before trying again.

Chris

On 10/10/17 13:10, db wrote:
> I cannot synchronize the ports tree. Four days ago I installed master from same day, October 16th. I now get this error
> 
> $ sudo port -v sync
> --->  Updating the ports tree
> Synchronizing local ports tree from file:///opt/local/myports
> Creating port index in /opt/local/myports
> 
> Total number of ports parsed:	0
> Ports successfully parsed:	0
> Ports failed:			0
> Up-to-date ports skipped:	69
> 
> Synchronizing local ports tree from file:///opt/local/var/macports/sources/github.com/macports/macports-ports/
> error: Pulling is not possible because you have unmerged files.
> hint: Fix them up in the work tree, and then use 'git add/rm <file>'
> hint: as appropriate to mark resolution and make a commit.
> fatal: Exiting because of an unresolved conflict.
> Command failed: /opt/local/bin/git pull --rebase --autostash
> Exit code: 128
> Syncing local Git ports tree failed
> port sync failed: Synchronization of 1 source failed
> 


More information about the macports-users mailing list