[MacPorts] #42620: sudo port -d selfupdate: command failed.
MacPorts
noreply at macports.org
Wed Feb 26 01:13:55 PST 2014
#42620: sudo port -d selfupdate: command failed.
------------------------------+--------------------------------
Reporter: kingle.zhuang@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.2.1
Resolution: | Keywords:
Port: |
------------------------------+--------------------------------
Changes (by ryandesign@…):
* component: ports => base
Old description:
> port -d selfupdate
> 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: 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:
{{{
port -d selfupdate
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: 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:
Looks like the connection to our rsync server failed.
Has this worked for you before? Or are you perhaps on a network that
restricts rsync traffic? Try again in a little while, or on a different
network, if this is a laptop and can be easily moved to another network.
selfupdate requires the rsync protocol. If you cannot use rsync on your
network, then you cannot use the selfupdate command and must use alternate
methods for updating MacPorts base, such as downloading new installers
from our web site. To sync your ports, use "sudo port sync". "sync" by
default uses rsync, but unlike "selfupdate" can be configured to use other
protocols.
When writing in Trac, remember to use WikiFormatting and to preview before
submitting.
--
Ticket URL: <https://trac.macports.org/ticket/42620#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list