port fails to list installed ports
Hi erveryone, MacPorts 1.520 returns this error message: ========== port -d echo installed DEBUG: list must have an even number of elements while executing "array set receipt_$ref $receipt_contents" (procedure "receipt_flat::open_entry" line 84) invoked from within "${macports::registry.format}::open_entry $name $version $revision $variants" (procedure "open_entry" line 4) invoked from within "open_entry $iname $iversion $irevision $ivariants" (procedure "registry::installed" line 13) invoked from within "registry::installed" Error: /opt/local/bin/port: port installed failed: list must have an even number of elements ========== Thanks for a short reply. Eckhard.
On Sep 2, 2007, at 07:33, Eckhard Wiemann wrote:
MacPorts 1.520 returns this error message:
==========
port -d echo installed DEBUG: list must have an even number of elements while executing "array set receipt_$ref $receipt_contents" (procedure "receipt_flat::open_entry" line 84) invoked from within "${macports::registry.format}::open_entry $name $version $revision $variants" (procedure "open_entry" line 4) invoked from within "open_entry $iname $iversion $irevision $ivariants" (procedure "registry::installed" line 13) invoked from within "registry::installed" Error: /opt/local/bin/port: port installed failed: list must have an even number of elements
==========
Thanks for a short reply.
I do not get any error when running that command. Perhaps your PortIndex is corrupted. Try syncing. Note that you may want "port installed" instead of "port echo installed".
participants (2)
-
Eckhard Wiemann
-
Ryan Schmidt