registry with multiple portfiles

Rainer Müller raimue at macports.org
Tue Jul 11 17:25:54 UTC 2017


On 2017-07-11 18:40, db wrote:
> On 11 Jul 2017, at 16:16, Joshua Root <jmr at macports.org> wrote:
>> How do the files differ? Is one not referenced in the registry database?
> 
> port cat shows the right file. I think I might explain this case — but not others. While writing the portfile for py-ipaddr in vim I saved it and stopped the process, then installed/uninstalled the port and made some corrections in the portfile, repeat. Does it sound plausible?

'port cat' only works with the ports tree, it will not use Portfiles
from the registry.

'port uninstall' is supposed to remove the corresponding Portfile. Maybe
you interrupted it at a point where the Portfile was already copied, but
the SQLite transaction was rolled back...

Rainer


More information about the macports-dev mailing list