<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Ah, perfect, thanks (& to Ryan).
<div class=""><br class="">
</div>
<div class="">This now works:</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nickel% sudo port version</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>[long delay while bsdtar runs]</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Version: 2.4.2</div>
<div class=""><br class="">
</div>
<div class="">This, however, is a bust:</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nickel% sudo port echo gawk\*<br class="">
<div class="">
<div style="text-align: start; text-indent: 0px;"><span class="Apple-tab-span" style="color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: pre; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></span>Warning:
Can't open index file for source: <a href="file:///Users/chrjep2/share/macports/ports.tar" class="">
file:///Users/chrjep2/share/macports/ports.tar</a><br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>Error: /opt/local/bin/port: search for portname gawk* failed: No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'.</div>
<div style="text-align: start; text-indent: 0px;"><br class="">
</div>
<div style="text-align: start; text-indent: 0px;">And, of course, "port selfupdate" wants to phone home to
<a href="http://rsync.macports.org" class="">rsync.macports.org</a>, which my "banned from the internet" MacBook can't do.</div>
<div style="text-align: start; text-indent: 0px;"><br class="">
</div>
<div style="text-align: start; text-indent: 0px;">Is there something I can do with "port index" that'll clear this up? There seem to be indexes in the extracted ports dir:</div>
<div style="text-align: start; text-indent: 0px;"><br class="">
</div>
<div style="text-align: start; text-indent: 0px;"><span class="Apple-tab-span" style="white-space:pre"></span>nickel% ls -ltrd /opt/local/var/macports/portdirs/ports/*dex*17*<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>drwxr-xr-x 4 500 505 128 Jan 30 15:17 /opt/local/var/macports/portdirs/ports/PortIndex_darwin_17_i386/<br class="">
<br class="">
Chris.</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 30, 2018, at 11:23 AM, Rainer Müller <<a href="mailto:raimue@macports.org" class="">raimue@macports.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 2018-01-30 01:15, Jepeway, Chris wrote:<br class="">
<blockquote type="cite" class="">This is the last line of sources.conf:<br class="">
<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span><a href="file:///Users/chrjep2/share/macports/ports.tar" class="">file:///Users/chrjep2/share/macports/ports.tar</a> [default] [nosync]<br class="">
</blockquote>
<br class="">
The correct syntax would be to put the flags into the same brackets:<br class="">
<br class="">
<a href="file:///Users/chrjep2/share/macports/ports.tar" class="">file:///Users/chrjep2/share/macports/ports.tar</a> [default,nosync]<br class="">
<br class="">
Rainer<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>