How to manually download file that selfupdate retrieves?

Edward Sutton edward.sutton at subsite.com
Wed Jul 30 13:20:09 PDT 2014


Solved, thank you Ryan!

FAQ: https://trac.macports.org/wiki/FAQ#selfupdatefails

See how to edit :
Note: replace "$prefix" with the location of your MacPorts install, which defaults to /opt/local.

https://trac.macports.org/wiki/howto/PortTreeTarball

sudo port –d sync

-Ed

From: Ryan Schmidt [mailto:ryandesign at macports.org]
Sent: Wednesday, July 30, 2014 2:53 PM
To: Edward Sutton
Cc: macports-users at lists.macosforge.org
Subject: Re: How to manually download file that selfupdate retrieves?

On Jul 30, 2014, at 14:45, Edward Sutton wrote:

When I install macports at work selfupdate fails.  I work for a manufacturing company that aspires to have their own private “Great Firewall of China”.

Can someone please describe the manual equivalent of performing a “sudo port selfupdate”?

"selfupdate" is two commands in one.

First it updates MacPorts base. You can do this manually whenever a new version of MacPorts base is released, either by downloading the installer from our web site and running it, or downloading he source and building it. You can subscribe to the macports-announce list to be informed when new versions are available.

Second, it updates your ports. You can do this via svn or http instead to avoid rsync issues on your network. These alternatives are mentioned in the FAQ: https://trac.macports.org/wiki/FAQ#selfupdatefails
This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


More information about the macports-users mailing list