Error: Insufficient privileges to write to MacPorts install prefix.

Rainer Müller raimue at macports.org
Fri Aug 7 01:37:21 PDT 2015


On 2015-08-07 07:03, Jim Mattingly wrote:
> Getting the above-referenced error code when attempting command: port
> install pspp, Have even tried sudo, although it is only a single-user
> computer at home, then sudo scolds me and asks for a password I don’t
> have. Downloaded Xcode from app store and macports, according to
> macports guide, and env command worked just fine, but both install
> and selfupdate commands tell me I don’t have the necessary privileges
> to run them. Simply running commands on apple terminal with Xcode
> open. Any ideas what to do? I’m perhaps a relatively advance user,
> but not an IT pro, so perhaps there is something simple I’m
> overlooking.

You can't use sudo without setting a password for your user account.

https://support.apple.com/en-us/HT202035

Rainer


More information about the macports-users mailing list