Can I get dpkg to ignore an error returned from a post-installation script?
Solution 1:
You can edit the post install script at /var/lib/dpkg/info/astah-community.postinst
to comment out a portion that is failing. Or you can just rename/remove that file to prevent dpkg from running it at all.
Once you've done one of those you can use dpkg --configure astah-community
to have dpkg retry the configuration process, and hopefully have that succeed.