<div dir="ltr">Sorry to ask these fundamental install questions but do I have to:<div>1.) Install MacPorts every Terminal session I run?</div><div>2.) After I have installed MacPorts (where the Terminal will accept </div><div>"port "-option"-type commands), do I have to re-install it every time I terminate my Terminal session? or my operating system session (running Mac OS X Sierra, 10.12.6)?</div><div>3.) Do I have to uninstall MacPorts at some particular time/phase when using MacPorts?</div><div>4.) After performing "Source install" using section 2.2.2's installation techniques I use 2.2.5's "MacPorts and the shell" and have entered:</div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">export PATH=/opt/local/bin:/opt/local/sbin:$PATH</span></div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"></span>followed by 'port search', & 'port edit and I get the following bash output:<br></div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Version number in metadata table is newer than expected.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    while executing</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">"registry::open $db_path"</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    (procedure "mportinit" line 642)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    invoked from within</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">"mportinit ui_options global_options global_variations"</span></p>
<div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">Error: /opt/local/bin/port: Failed to initialize MacPorts, Version number in metadata table is newer than expected.</span></div><div>Here, I am performing the "Source install" using section 2.2.2's installation techniques & section 2.2.5's "MacPorts and the shell" techniques - Is this Error just a product of me installing MacPorts more than once or does it justify me using other techniques, like uninstalling?<br></div><div>Sorry for the lengthy question.</div><div>Thank you for your time.</div><div>Patrick Hinkle</div></div>