Checking your installed packages match the repository versions is easy on Ubuntu with the debsums utility:

$ debsums --silent