<div dir="ltr"><div dir="ltr"><div dir="ltr">I've followed the steps on the macports page <a href="https://trac.macports.org/wiki/Migration">https://trac.macports.org/wiki/Migration</a> under Reinstall Ports.  When I execute <span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px">sudo ./restore_ports.tcl myports.txt after a few seconds I get the output:</span></div><div dir="ltr"><span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px"><br></span></div><div dir="ltr"><span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px"><div dir="ltr">ComerMacProRetina:~ comerduncan$ sudo ./restore_ports.tcl myports.txt</div><div dir="ltr">Password:</div><div dir="ltr">Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default</div><div dir="ltr">Error: we appear to be stuck, exiting...</div><div dir="ltr">infinite loop</div><div dir="ltr">    while executing</div><div dir="ltr">"sort_ports $portList"</div><div dir="ltr">    invoked from within</div><div dir="ltr">"set operationList [sort_ports $portList]"</div><div dir="ltr">    (file "./restore_ports.tcl" line 285)</div><div dir="ltr"><br></div><div>Can someone please advise on what to do next to find out what is wrong?  I'm migrating to Mohave from High Sierra.</div><div><br></div><div>Thanks very much!</div><div><br></div><div>Comer</div></span></div></div></div>