install_packages -vL can check if a package name is unknown. It calls apt/apt-get with -s. That simulates (dry-run) the package installation and tries to resolv all package names.
If you search for lines strarting with ^E: you will see all wrong package names. --

