On Sun, 2004-04-18 at 13:57, users@linuxforums.org wrote:
What arguement should I use with 'apt-cache search' and 'apt-file
search' to specific the distribution?
Eg. If I want to search for source packages (or normal packages) in
unstable distribution, what would the complete command for 'apt-cache
search' and 'apt-file search'?
AFAIK, you cant restrict your apt-cache search by branch. I think it
just searches all package lists fetched from the sources in your
/etc/apt/sources.list. However, if you know the package name, you can
use apt-cache policy <package name> to see a list of all available
packages (from all branches) with the specified name along with their
versions, apt-get sources, and installation status.