<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">There is something odd going on with how Macport decides about upgrades. &nbsp;I am using a port that is not hosted on macports, but instead on another server (<em class=""><a href="http://build.openmodelica.org/macports/" class="">build.openmodelica.org/macports/</a></em>)<div class=""><br class="webkit-block-placeholder"></div><div class="">They recently made a change to the version names of their port. &nbsp;Now, when the port changes, it does show as outdated, but upgrade doesn’t seem to “know” that:</div><div class=""><br class=""></div><div class=""><div class="">Port outdated correctly shows that there is a new upgrade:</div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">port outdated</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">openmodelica-devel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.9.4~dev.beta1-13-g632349b_0 &lt; 1.9.4~dev.beta1-24-g38d8642_0</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class=""><div class="">But upgrade doesn’t do anything:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">sudo port upgrade&nbsp; openmodelica-devel&nbsp;</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Password:</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">---&gt;&nbsp; Scanning binaries for linking errors</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">---&gt;&nbsp; No broken files found.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div></div><div class=""><br class=""></div><div class="">The work around is easy:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">sudo port deactivate openmodelica-devel</div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">sudo port install openmodelica-devel +libraries +modelica3d&nbsp;</div><div class=""><br class=""></div></div></div></div></div><div class="">
<div class="">In other words, outdated sees that there is a new version, but upgrade doesn’t see it, so doesn’t do anything. &nbsp;But install does find the newest version. &nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">--Adam</div><div class=""><br class="khtml-block-placeholder"></div><div class=""><br class="khtml-block-placeholder"></div>

</div>
<br class=""></body></html>