Using aptitude to check installed packages