A newbie question about installing ports

Leung, John C.H. johnleung at ea.com
Thu Sep 13 13:20:10 PDT 2012


> Hmm, was that the only message? If it can't find things that makes it 
> sound like it doesn't have an index of the ports available and should say something.
> 
? `sudo port selfupdate` and then try the install command again?

I have problem with 'sudo port selfupdate' as well.  Here's what I have if I used the -d to get more info:

For 'sudo port -d install openssl', I have:

DEBUG: Copying /Users/JohnLeung/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
Error: Port openssl not found


For 'sudo port -d selfupdate', I have:
DEBUG: Copying /Users/JohnLeung/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
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base/tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
    While executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed







More information about the macports-users mailing list