MacPorts throws errors on everything (include uninstall) since selfupdate

Aba-Sah Dadzie a.dadzie at
Fri Feb 18 04:41:36 PST 2011

On 18/02/2011 12:31, Andrea D'Amore wrote:
> On Fri, Feb 18, 2011 at 1:14 PM, Aba-Sah Dadzie<a.dadzie at>  wrote:
>> mostly because I don't even
>> know where to start posting what the bug is.
> You should use '-d' option in order to have a detailed output.
> Your database is corrupted and maybe repairfilemap script can't help
> but if you are willing to wipe out and start from zero I don't see why
> you shouldn't have a working system, other faults like memory or
> motherboard issues apart.
> As first thing you should start choosing if you want to recover your
> current installation or start from fresh, if the latter follow [1].

This is the last thing I tried. Which also failed. The output I copied 
into my mail from the terminal are the results from the uninstall. I've 
given up trying to fix it, and agree a full uninstall/reinstall is the 
way to go, but I can't even uninstall!

So I've just tried again, with -fd, and it still fails, with this extra 

ap-lin-09-246:/ aba-sah$ sudo port -fd uninstall installed
DEBUG: gimp2 depends on this port
--->  Unable to uninstall aalib 1.4rc5_4, the following ports depend on it:
--->      gimp2
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating aalib @1.4rc5_4
DEBUG: unknown node kind in database (database is corrupted?)
     while executing
"filemap open file_map ${map_file}.db"
     (procedure "receipt_flat::open_file_map" line 54)
     invoked from within
"${macports::registry.format}::open_file_map $args"
     (procedure "registry::open_file_map" line 3)
     invoked from within
     (procedure "portimage::deactivate" line 88)
     invoked from within
"portimage::deactivate $portname ${version}_${revision}${variants} 
     (procedure "registry_uninstall::uninstall" line 170)
     invoked from within
"registry_uninstall::uninstall $portname $composite_version [array get 
Error: port uninstall failed: unknown node kind in database (database is 
lap-lin-09-246:/ aba-sah$

More information about the macports-users mailing list