[MacPorts] #44410: Can't self update with tarball
MacPorts
noreply at macports.org
Wed Jul 23 13:48:53 PDT 2014
#44410: Can't self update with tarball
----------------------+--------------------------------
Reporter: jnojr@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.1
Resolution: | Keywords:
Port: |
----------------------+--------------------------------
Changes (by ryandesign@…):
* cc: jnojr@… (removed)
* component: ports => base
Old description:
> Outbound 873 is blocked on my network, and there's nothing I can do about
> it. So I tried to use the tarball:
>
> flamingo:~ joliver.sa$ tail -2 /opt/local/etc/macports/sources.conf
> #rsync://rsync.macports.org/release/tarballs/ports.tar [default]
> https://distfiles.macports.org/ports.tar.gz [default]
>
> But:
>
> flamingo:~ joliver.sa$ sudo 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:
Outbound 873 is blocked on my network, and there's nothing I can do about
it. So I tried to use the tarball:
{{{
flamingo:~ joliver.sa$ tail -2 /opt/local/etc/macports/sources.conf
#rsync://rsync.macports.org/release/tarballs/ports.tar [default]
https://distfiles.macports.org/ports.tar.gz [default]
}}}
But:
{{{
flamingo:~ joliver.sa$ sudo 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:
You've configured MacPorts to fetch the ports tree via https, but
selfupdate always uses rsync to fetch the base code; it cannot be
configured to use https or another method. (See #38265.) You can use
"`sudo port sync`" to sync the ports tree (via https, now that you've
changed your sources.conf), and manually update MacPorts base when a new
version is released, e.g. by downloading and installing the package from
our web site. You can subscribe to the macports-announce [MailingLists
mailing list] if you'd like to be informed when new versions are released.
--
Ticket URL: <https://trac.macports.org/ticket/44410#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list