From 7e2e2d5d4bf08549a535a484be9a258b7e9dcc61 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:54 +0000 Subject: apt-cache enhancments Author: jgg Date: 1999-02-19 08:57:41 GMT apt-cache enhancments --- doc/apt-cache.8.yo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc') diff --git a/doc/apt-cache.8.yo b/doc/apt-cache.8.yo index 1a6c5e3b4..1dc463325 100644 --- a/doc/apt-cache.8.yo +++ b/doc/apt-cache.8.yo @@ -20,6 +20,8 @@ itemize( it() dumpavail it() unmet it() check + it() search + it() show ) Unless the -h, or --help option is given one of the above commands @@ -135,6 +137,18 @@ dit(bf(check)) bf(check) is a random function for testing certain aspects of the cache. Do not use it. +dit(bf(show)) +bf(show) performs the same function as dpkg --print-avail, it displays +the package records for the named packages. + +dit(bf(search)) +bf(search) performs a full text search on all available package files for +the pattern given. It searchs the package names and the descriptions for +an occurance of the string and prints out the package name and the short +description. If --full is given then output identical to bf(show) is produced +for each matched package and if --names-only is given then the long +description is not searched, only the package name is. + enddit() manpageoptions() @@ -173,6 +187,13 @@ Print only important deps; for use with unmet causes only em(Depends) and em(Pre-Depends) relations to be printed. See bf(APT::Cache::Important). +dit(bf(-f --full)) +Print full package records when searching. See bf(APT::Cache::ShowFull). + +dit(bf(--names-only)) +Only search on the package names, not the long description. See +bf(APT::Cache::Names-Only). + dit(bf(-c, --config-file)) Configuration File; Specify a configuration file to use. bf(apt-get) will read the default configuration file and then this configuration file. See -- cgit v1.2.3-70-g09d2