[MacPorts] #65189: selfupdate: rsync error: error in socket IO (code 10) (was: reinstall fail)
MacPorts
noreply at macports.org
Mon May 16 18:12:18 UTC 2022
#65189: selfupdate: rsync error: error in socket IO (code 10)
--------------------------+--------------------
Reporter: RobertNadot | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.2
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Changes (by ryandesign):
* component: ports => base
* milestone: MacPorts Future =>
Old description:
> 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
New description:
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
}}}
--
Comment:
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?
--
Ticket URL: <https://trac.macports.org/ticket/65189#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list