port fails to list installed ports

Ranjan Bagchi ranjan.bagchi at frotz.com
Mon Sep 10 12:21:00 PDT 2007


I'm experiencing this as well:

$ port outdated
Error: port installed failed: list must have an even number of elements
No ports are installed.
ranjan-bagchis-computer-2:~ rbagchi$ port -d outdated
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: port installed failed: list must have an even number of elements
No ports are installed.

I've done a port sync, and a port selfupdate, and neither has cleared this 
up.  It began around the first of the month.

     eckhard wrote:
     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.
     _______________________________________________
     macports-users mailing list
     macports-users at lists.macosforge.org
     http://lists.macosforge.org/mailman/listinfo/macports-users




More information about the macports-users mailing list