Ah, perfect, thanks (& to Ryan).

This now works:

nickel% sudo port version
[long delay while bsdtar runs]
Version: 2.4.2

This, however, is a bust:

nickel% sudo port echo gawk\*
Warning: Can't open index file for source: 
file:///Users/chrjep2/share/macports/ports.tar
Error: /opt/local/bin/port: search for portname gawk* failed: No index(es) 
found! Have you synced your port definitions? Try running 'port selfupdate'.

And, of course, "port selfupdate" wants to phone home to 
rsync.macports.org<http://rsync.macports.org>, which my "banned from the 
internet" MacBook can't do.

Is there something I can do with "port index" that'll clear this up?  There 
seem to be indexes in the extracted ports dir:

nickel% ls -ltrd /opt/local/var/macports/portdirs/ports/*dex*17*
drwxr-xr-x  4 500  505  128 Jan 30 15:17 
/opt/local/var/macports/portdirs/ports/PortIndex_darwin_17_i386/

Chris.

On Jan 30, 2018, at 11:23 AM, Rainer Müller 
<[email protected]<mailto:[email protected]>> wrote:

On 2018-01-30 01:15, Jepeway, Chris wrote:
This is the last line of sources.conf:

file:///Users/chrjep2/share/macports/ports.tar [default] [nosync]

The correct syntax would be to put the flags into the same brackets:

   file:///Users/chrjep2/share/macports/ports.tar [default,nosync]

Rainer

Reply via email to