Macport outdated but not upgrade

Adam Dershowitz dersh at alum.mit.edu
Wed Feb 3 14:44:45 PST 2016


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 (build.openmodelica.org/macports/)

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:

Port outdated correctly shows that there is a new upgrade:
port outdated
openmodelica-devel             1.9.4~dev.beta1-13-g632349b_0 < 1.9.4~dev.beta1-24-g38d8642_0

But upgrade doesn’t do anything:

sudo port upgrade  openmodelica-devel 
Password:
--->  Scanning binaries for linking errors
--->  No broken files found.                             

The work around is easy:

sudo port deactivate openmodelica-devel
sudo port install openmodelica-devel +libraries +modelica3d 

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.  


--Adam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160203/80fcff2f/attachment.html>


More information about the macports-users mailing list