X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3d8fd17432ef64ca260e5bd8469b0f636119a8e8..67db871e3a0a0c207d4675ca046f2d2b796cfb6d:/doc/apt-cache.8.yo diff --git a/doc/apt-cache.8.yo b/doc/apt-cache.8.yo index 2bd4ab031..c75af9313 100644 --- a/doc/apt-cache.8.yo +++ b/doc/apt-cache.8.yo @@ -15,11 +15,14 @@ itemize( it() add file1 [file2] [...] it() gencaches it() showpkg package1 [package2] [...] - it() stats + it() stats it() dump it() dumpavail it() unmet it() check + it() search + it() show + it() showpkg ) Unless the -h, or --help option is given one of the above commands @@ -135,6 +138,26 @@ dit(bf(check)) bf(check) is a random function for testing certain aspects of the cache. Do not use it. +dit(bf(showpkg)) +bf(showpkg) displays a listing of the given package cache structure and some +related information about it. The list is ment primarily for debugging. + +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. + +dit(bf(depends)) +bf(depends) shows a listing of each dependency a package has and all +the possible other packages that can fullfill that dependency. + enddit() manpageoptions() @@ -147,6 +170,9 @@ startdit() dit(bf(-h, --help)) Show a short usage summary. +dit(bf(-v, --version)) +Show the program verison. + dit(bf(-p --pkg-cache)) Select the file to store the package cache. The package cache is the primary cache used by all operations. @@ -170,6 +196,21 @@ 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(-a --all-versions)) +Print full records for all available versions, this is only applicable to the +show command. See bf(APT::Cache::AllVersions) + +dit(bf(-g --no-generate)) +Do not perform automatic package cache regeneration, use the cache as it is. +See bf(APT::Cache::NoGenerate). + +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 @@ -202,7 +243,7 @@ manpagediagnostics() apt-cache returns zero on normal operation, decimal 100 on error. manpagebugs() -See http://www.debian.org/Bugs/db/pa/lapt.html. If you wish to report a +See http://bugs.debian.org/apt. If you wish to report a bug in bf(apt-cache), please see bf(/usr/doc/debian/bug-reporting.txt) or the bf(bug(1)) command.