On Aug 17, 2025, at 14:42, Dave Horsfall wrote:

On Mon, 11 Aug 2025, Ryan Carsten Schmidt wrote:

 Error: process_cmd failed: an invalid entry was passed
If you ran out of disk space while installing/upgrading a port, the
macports registry database could have become corrupted.

Possibly; I was out at the time the carnage happened, so I am unsure of
the exact timeline.

Notwithstanding that though, how may this problem be remedied?

The only way I can think of is uninstalling all ports, deleting the registry, 
and installing ports again, but even uninstalling the ports will probably not 
work with a corrupted registry. Does anybody else have a better idea?

I would try restoring /opt/local, /Applications/MacPorts and /Library/Launch{Agents,Daemons}/org.macports.* from a backup. Depending on what has been changed since the backup, there could be some stray files elsewhere that the registry then doesn't know about and need to be cleaned up manually, but those paths should cover most ports' files.

- Josh

Reply via email to