add where option for pkg, and use it in apt-required;