port selfupdate error

Ryan Schmidt ryandesign at macports.org
Sat Jul 20 19:57:51 PDT 2013

Some ports do need the license to be accepted as root. Most don't. Therefore, users should do both.

On Jul 20, 2013, at 13:52, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:

> MacPorts will copy the agreement into place provided the user runs the agreement as the same person running `sudo port ...`: it uses $env(HOME).
> http://trac.macports.org/browser/tags/release_2_1_3/base/src/macports1.0/macports.tcl#L1188
> macports::copy_xcode_plist
> On Jul 20, 2013, at 2:35 PM, Harald Hanche-Olsen wrote:
>> Or possibly, agree to the license by running xcodebuild -license
>> and typing "agree" when prompted. It may also be necessary to do this
>> as root, if I recall correctly.

More information about the macports-users mailing list