<div dir="ltr">







<p class="gmail-p1"><span class="gmail-s1">Hi all,</span></p><p class="gmail-p1"><span class="gmail-s1">When I run the `migrate` action with only one port (expat) installed, I get the following:</span></p><p class="gmail-p1"><span class="gmail-s1">$ sudo ./bin/port migrate</span></p>
<p class="gmail-p1"><span class="gmail-s1">Taking a snapshot of the current state...</span></p>
<p class="gmail-p1"><span class="gmail-s1">Done: Snapshot '8':'snapshot created for migration' created at 2017-09-08 21:09:21</span></p>
<p class="gmail-p1"><span class="gmail-s1">Migration will first uninstall all the installed ports, upgrade MacPorts and then reinstall them again. Would you like to continue? [Y/n]: Y</span></p>
<p class="gmail-p1"><span class="gmail-s1">Uninstalling all ports...</span></p>
<p class="gmail-p1"><span class="gmail-s1">Uninstalling: expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Deactivating expat @2.2.4_0</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Cleaning expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Uninstalling expat @2.2.4_0</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Cleaning expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">Upgrading MacPorts...</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Updating MacPorts base sources using rsync</span></p>
<p class="gmail-p1"><span class="gmail-s1">MacPorts base version 2.4.99 installed,</span></p>
<p class="gmail-p1"><span class="gmail-s1">MacPorts base version 2.4.1 downloaded.</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>MacPorts base is outdated, installing new version 2.4.1</span></p>
<p class="gmail-p1"><span class="gmail-s1">Installing new MacPorts release in /GSoC17/macports-test as root:admin; permissions 0755</span></p>
<p class="gmail-p2"><span class="gmail-s1"></span><br></p>
<p class="gmail-p1"><span class="gmail-s1">Fetching ports to install...</span></p>
<p class="gmail-p1"><span class="gmail-s1">Restoring the original state...</span></p>
<p class="gmail-p1"><span class="gmail-s1">MacPorts Version: 2.4.99</span></p>
<p class="gmail-p1"><span class="gmail-s1">Installing (and activating): expat<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Fetching distfiles for expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Verifying checksums for expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Extracting expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Configuring expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Building expat</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Staging expat into destroot</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Installing expat @2.2.4_0</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Activating expat @2.2.4_0</span></p>
<p class="gmail-p1"><span class="gmail-s1">---><span class="gmail-Apple-converted-space">  </span>Cleaning expat</span></p>
<p class="gmail-p3"><span class="gmail-s5">$<span class="gmail-Apple-converted-space"> </span></span></p><p class="gmail-p3"><span class="gmail-s5"><span class="gmail-Apple-converted-space"><br></span></span></p><p class="gmail-p3">Since I have an updated version of registry db<font face="arial, helvetica, sans-serif"> (v1.203) as opposed to its current version (v1.202), I have a doubt if the above should have proceeded in the way it did. I was expecting it to break after MacPorts base gets upgraded complaining something of the sort, "<span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Version number in metadata table is higher than expected</span>".</font></p><p class="gmail-p3"><span style="font-family:arial,helvetica,sans-serif">Does it mean that new port command is not being used for the next step of installation? Or it's fine because mportinit didn't get initialized again?</span></p><p class="gmail-p3"><font face="arial, helvetica, sans-serif">- Umesh</font></p></div>