This is probably caused by a bug in dh_nativejava where it adds the following snippet to postrm:
if [ -x "/usr/bin/rebuild-gcj-db" ]; then /usr/bin/rebuild-gcj-db
fi
rebuild-gcj-db can exist on the file system due to the package being unpacked (but not configured) without it being usable, so dh_nativejava should probably have an || true there.
This is probably caused by a bug in dh_nativejava where it adds the following snippet to postrm:
if [ -x "/usr/bin/ rebuild- gcj-db" ]; then
/usr/bin/ rebuild- gcj-db
fi
rebuild-gcj-db can exist on the file system due to the package being unpacked (but not configured) without it being usable, so dh_nativejava should probably have an || true there.
doko, can you please get this fixed?