port selfupdate not working Yosemite 10.10.5

Ryan Schmidt ryandesign at macports.org
Mon Dec 21 20:08:40 PST 2015


> On Dec 17, 2015, at 6:08 PM, Mr. Michael Wilson <mtwilson.1200 at gmail.com> wrote:
> 
> I had not updated my ports in a while and when I tried I got this with sudo port -v selfupdate...
> 
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
> 
> sent 36 bytes  received 69 bytes  19.09 bytes/sec
> total size is 27013120  speedup is 257267.81
> receiving file list ... done
> 
> sent 36 bytes  received 76 bytes  24.89 bytes/sec
> total size is 512  speedup is 4.57
> Error: can't create directory "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp": permission denied
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: can't create directory "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp": permission denied

1. Make sure you have opened the Xcode application once and agreed to the license agreement.
2. Make sure you are using "sudo port selfupdate" and not "port selfupdate".




More information about the macports-users mailing list