<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. 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. 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 1.9.4~dev.beta1-13-g632349b_0 < 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 openmodelica-devel </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;">---> Scanning binaries for linking errors</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">---> No broken files found. </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 </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. But install does find the newest version. </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>