Opened 2 years ago
Closed 20 months ago
#65189 closed defect (worksforme)
selfupdate: rsync error: error in socket IO (code 10)
Reported by: | RobertNadot | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
macos Monterey 12.3.1
I suppress macports : https://guide.macports.org/#installing.macports.uninstalling
I reinstall : 2.2.1. macOS Package Install
The macOS package installer automatically installs MacPorts, sets the shell environment, and runs a selfupdate operation to update the ports tree and MacPorts base with the latest release.
Download the latest MacPorts-2.7.2-....pkg installer from the releases on GitHub. Here are direct links for the latest versions of macOS:
macOS 12 Monterey:
MacPorts-2.7.2-12-Monterey.pkg
install very slow
install ok
port version ok
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 /AppleInternal/Library/BuildRoots/66382bca-8bca-11ec-aade-6613bcf0e2ee/Library/Caches/com.apple.xbs/Sources/rsync/rsync/clientserver.c(106) [receiver=2.6.9] Command failed: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs Exit code: 10 Error: Error synchronizing MacPorts sources: command execution failed Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed port search wxwidgets Warning: Can't open index file for source: rsync://rsync.macports.org/macports/release/tarballs/ports.tar Error: search for name wxwidgets failed: No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'. No match for wxwidgets found
Change History (2)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Description: | modified (diff) |
Milestone: | MacPorts Future |
Summary: | reinstall fail → selfupdate: rsync error: error in socket IO (code 10) |
comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is almost certainly not a bug in MacPorts but a problem with your computer or the way that it connects to the Internet.
The error message says that it cannot connect to our rsync server at rsync.macports.org.
Has this ever worked for you?
Are you able to access this server via rsync outside of MacPorts? Are you able to access any other rsync server? Does your network block access to rsync servers?