Yes, I think the receipt directories were removed entirely.

I had something like this after doing all the uninstalls on these ports:

[ m...@xxx ~/src/kitware/VTK_build ]$ port installed | grep vtk
  vtk @5.2.1_0+darwin_9+examples+tclSys+testing
  vtk5 @5.2.0_0+darwin_9+examples+shared+tclSys+testing
  vtk5 @5.2.0_0+darwin_9+examples+tclSys+testing
  vtk52 @5.2.1_0+darwin_9+examples+tclSys+testing
  vtk54 @5.4.0_0+darwin_9+examples+tclSys+testing

I don't recall the details on how I removed the receipts exactly.  I do have
two systems with very similar installs.  On the system with untouched
receipts, there are the following receipt directories:

[ m...@xxx ~/src/kitware/VTK_build ]$ ls /opt/local/var/macports/receipts/vtk*
/opt/local/var/macports/receipts/vtk:
5.2.1_0+darwin_9+examples+tclSys+testing/

/opt/local/var/macports/receipts/vtk5:
5.2.0_0+darwin_9+examples+shared+tclSys+testing/
5.2.0_0+darwin_9+examples+tclSys+testing/

/opt/local/var/macports/receipts/vtk52:
5.2.1_0+darwin_9+examples+tclSys+testing/

/opt/local/var/macports/receipts/vtk54:
5.4.0_0+darwin_9+examples+tclSys+testing/


On the system where receipt files were removed, all those directories are
missing.  So it might have been

sudo rm -rf /opt/local/var/macports/receipts/vtk*





On Fri, Apr 17, 2009 at 12:16 PM, Joshua Root <[email protected]> wrote:

> Darren Weber wrote:
> >
> > I made the stupid mistake of removing some registry (ie, receipt) files,
> > so now I get
> >
> > [ m...@xxx ~/ports ]$ port installed
> > Error: port installed failed: list must have an even number of elements
> > No ports are installed.
> >
> > I ran a few port uninstall commands and then checked that the ports were
> > not installed, but
> >
> > port installed | grep <portname>
> >
> > continued to indicate that the ports were installed (see my other list
> > post on that topic).
>
> Did you also delete the receipt's enclosing directories?
>
> - Josh
>
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to