{Disarmed} unpleasant surprises: no ports are installed
Jay Chandler
lists at sequestered.net
Tue Feb 19 09:32:34 PST 2008
paul beard wrote:
> Something has come undone in my efforts to get the MAMP stack
> re-installed.
>
> [/opt/local/var/macports/receipts]# port installed | more
> Error: port installed failed: Registry error: php5
> @5.2.5_1+apache2+darwin_8+macosx+mysql5 not registered as installed.
> No ports are installed.
>
> This looks worse than it is. It looked like a couple of malformed
> receipts in php5
> (5.2.5_1+apache2+darwin_8+macosx+mysql5, 5.2.5_1+apache2+macosx) had
> blocked things up. Once I removed them, the list of installed ports is
> available.
>
> Seems to me that either bad receipts (which I think is actually a case
> of a malformed installation/wrong variants) should not be written (the
> port request would exit before doing anything wrong) or the parsing
> process would ignore them rather than bombing out.
>
> The bits are all installed: it's now just a matter of getting them
> recognized by the infrastructure.
The FreeBSD ports tree has a tool to address such things-- pkgdb -F
tends to sort 'em out quickly. Is there a MacPorts equivalent to this?
--
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: because of network lag due to too many people playing deathmatch
More information about the macports-users
mailing list