Add debug message for repo upgrade sql.
Add debug message for repo upgrade sql.

skoef/pkg,Open343/pkg,skoef/pkg,en90/pkg,junovitch/pkg,khorben/pkg,khorben/pkg,khorben/pkg,Open343/pkg,junovitch/pkg,en90/pkg