port selfupdate: “macPorts sources: command execution failed”

后端 未结 11 1901
梦毁少年i
梦毁少年i 2021-01-30 19:29

I am trying to selfupdate my Macports, but I am getting the following message:

Error: /opt/local/bin/port: port selfupdate failed: Error synchronizi         


        
11条回答
  •  星月不相逢
    2021-01-30 20:27

    If anybody else is having this issue and they've recently updated XCode, the root of my problem was that Command Line Tools had been omitted from the latest build.

    Opening XCode and installing Command Line Tools via the XCode preference panel fixed this error being thrown by MacPorts.

提交回复
热议问题