Port Selfupdate failed - Mountain Lion OS X

Ryan Schmidt ryandesign at macports.org
Tue Aug 26 21:51:01 PDT 2014


On Aug 26, 2014, at 2:03 PM, vignesh babu wrote:
> 
> I installed macports and ran it on my Mountain Lion OS X. But the self update threw the below error. I thought it could be rsync blocked by firewall and ran the rsync on the terminal. Rsync worked fine but still self update wouldn't. Could you please look into the debug & let me know what I could be doing wrong. I'm running macports 2.3.1. All the directories mentioned in the debug exist and the base.tar & ports.tar was downloaded properly when I ran the rsync directly on the terminal.
> 
> DEBUG: Copying /Users/apple/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
> DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> --->  Updating MacPorts base sources using rsync
> sh: error: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs: No such file or directory

You are certain that the directory /opt/local/var/macports/sources/rsync.macports.org/release/tarballs exists? What do you get if you run:

ls -ld /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

Have you checked the permissions of every directory leading up to that directory?



More information about the macports-users mailing list