Eg. I need to to know which package owns file A.
a) If the package is already installed, what command (Eg.dpkg, apt-get, apt-cache, etc) can I use?
b) If the package is not yet installed, what command can I use?
PS. Google search is another way, but just trying to know if there is a neater way in Debian