[MacPorts] #51884: sudo port -v selfupdate not working

MacPorts noreply at macports.org
Thu Jul 21 06:12:31 PDT 2016


#51884: sudo port -v selfupdate not working
-----------------------------------+--------------------------------
  Reporter:  vidyapriyadarshini@…  |      Owner:  macports-tickets@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  base                  |    Version:  2.3.4
Resolution:                        |   Keywords:
      Port:                        |
-----------------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> Steps :
>
> 1. After downloading and building port and setting the PATH and MANPATH
> variables as per instrcutions :  run sudo port -v selfupdate
>
> Actual Error :
>
> flipkarts-MacBook-Pro-10:fk-ekl-jarvis vidya.priyadarshini$ sudo port -v
> selfupdate
> --->  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
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/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
> 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

New description:

 Steps :

 1. After downloading and building port and setting the PATH and MANPATH
 variables as per instrcutions :  run sudo port -v selfupdate

 Actual Error :

 {{{
 flipkarts-MacBook-Pro-10:fk-ekl-jarvis vidya.priyadarshini$ sudo port -v
 selfupdate
 --->  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
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/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
 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
 }}}

--

Comment:

 Usually this happens when your network blocks rsync traffic. Ask your
 network administrator. Sometimes, antivirus or security software can block
 rsync connections; if you use any such software, try disabling it. If you
 cannot make rsync traffic work on your network, there are alternatives,
 documented in our wiki, for updating the ports collection using a tarball
 via http, or using svn.

-- 
Ticket URL: <https://trac.macports.org/ticket/51884#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list