Port reclaim unexpectedly wants to uninstall a subport, when the top level port is installed

Joshua Root jmr at macports.org
Wed Feb 7 03:01:53 UTC 2024


> I'm puzzling over some weird "port reclaim" behaviour on one machine.  On the problematic machine, I installed py-matplotlib, which correctly installed py312-matplotlib.  But, if I run "port reclaim", it wants to uninstall py312-matplotlib as a "Unrequested ports without requested dependents found".
>
> Then the script that I have that needs py-matplotlib fails.  I know I could request py312-matplotlib, but that then leads to a bit more work cleaning things up when I move to python313.
>
> On the second machine, everthing works as expected.
>
> Is there something I can do to rebuild the registry, assuming this is the problem?

Possibly you had previously installed py-matplotlib when an older python 
version was the default? In any case, running 'sudo port upgrade 
py-matplotlib' will refresh its registry data.

- Josh


More information about the macports-users mailing list