2
The only similar situation that has happened to me was when, for whatever reason, there were left few tables from a module in the DB, and therefore I couldn't install it again.
So check in extGallery exactly what tables it was installing, and check if they are still there, and if yes, delete them.
Otherwise I don't know - are there any other error messages coming up?