"sudo port -d selfupdate" command fails

Ryan Schmidt ryandesign at macports.org
Thu Jan 7 20:46:47 PST 2016


On Jan 7, 2016, at 10:44 PM, Debarati Roy <droy485 at gmail.com> wrote:

>    "sudo port -d self update" -this command does not work for me. Can you please suggest how to solve this ?
> 
> Thanks, Debarati.
> 
> 
> I am pasting here the corresponding 
> output : 
> 
> 
> debaratis-mbp:~ debaratiroy$ sudo port -d selfupdate
> DEBUG: Copying /Users/debaratiroy/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: read error: Operation timed out (60)
> rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/io.c(604) [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: 12
> DEBUG: Error synchronizing MacPorts sources: command execution failed
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed



Please see:

https://trac.macports.org/wiki/FAQ#selfupdatefails




More information about the macports-users mailing list