How to clean registry

Wahlstedt Jyrki jwa at
Tue Jun 26 09:24:03 PDT 2012

to clean this up? I started to uninstall inactive ports, but interrupted that, and got an error message (I did not pick that up), some SQLite error, IIRC. Now, with some ports (some behave beautifully) I get the following:

an invalid entry was passed
    while executing
"$dependent name"
    (procedure "receipt_sqlite::list_dependents" line 18)
    invoked from within
"${macports::registry.format}::list_dependents $name $version $revision $variants"
    (procedure "registry::list_dependents" line 3)
    invoked from within
"registry::list_dependents $pvals(name)"
    (procedure "portlist_sortdependents" line 7)
    invoked from within
"portlist_sortdependents $portlist"
    (procedure "action_uninstall" line 17)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4784)

So, do I have to clean registry.db or receipts.db manually, or is there some cleaning operation already that I do not know of?

! Jyrki Wahlstedt
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780 6366 EFD9 139C C386

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list