internal: use new dpkg_check_packages_installed everywhere