Remove useless variable assignment, print DBMS.
Fix typo.
Use "dpkg-query" to check package installation status.

refs #97