Bingo! Thanks a lot!
Now I'll go through the process of deleting a package and re-installing it, which usually gives a lot of "violation of referential integrity" and "this-and-that already exists" problems, so you have to use psql manually for cleaning up the database before installation.
Seems there is no easy way (for the poor uneducated ones).