When upgrading from 5.1.x to 5.2.x I'm seeing quite a few error messages like this:
Each of above SQL errors were also accompanies with 10 or more warnings like this one:
This is attempt to import module language pack during upgrade before table was actually renamed. That's fine, because language pack would be imported at the end anyway.
Mediate problem by preventing queries, that would fail anyway during installation.