X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/dd5978bff4d0bea85b3adbf52a194afd25a655b3..d1bdb73a96d01896ec8e213a0f14abc38d19a929:/doc/apt-cache.8.xml diff --git a/doc/apt-cache.8.xml b/doc/apt-cache.8.xml index a8f1b4586..66f608b13 100644 --- a/doc/apt-cache.8.xml +++ b/doc/apt-cache.8.xml @@ -14,7 +14,7 @@ &apt-email; &apt-product; - 2012-06-09T00:00:00Z + 2015-10-27T00:00:00Z @@ -32,10 +32,16 @@ &synopsis-command-apt-cache; Description - apt-cache performs a variety of operations on APT's package - cache. apt-cache does not manipulate the state of the system - but does provide operations to search and generate interesting output - from the package metadata. + + apt-cache performs a variety of operations on APT's + package cache. apt-cache does not manipulate the + state of the system but does provide operations to search and generate + interesting output from the package metadata. The metadata is acquired + and updated via the 'update' command of e.g. apt-get, + so that it can be outdated if the last update is too long ago, but in + exchange apt-cache works independently of the + availability of the configured sources (e.g. offline). + Unless the , or option is given, one of the commands below must be present. @@ -135,9 +141,12 @@ Reverse Provides: - showsrc displays all the source package records that match - the given package names. All versions are shown, as well as all - records that declare the name to be a binary package. + showsrc displays all the + source package records that match the given package names. All + versions are shown, as well as all records that declare the name + to be a binary package. Use to + display only source package names. + @@ -290,8 +299,8 @@ Reverse Provides: Per default depends and rdepends print only dependencies explicitly expressed in the metadata. With this flag - it will also show dependencies implicitely added based on the encountered data. - A Conflicts: foo e.g. expresses implicitely that this package + it will also show dependencies implicitly added based on the encountered data. + A Conflicts: foo e.g. expresses implicitly that this package also conflicts with the package foo from any other architecture. Configuration Item: APT::Cache::ShowImplicit. @@ -341,6 +350,21 @@ Reverse Provides: Configuration Item: APT::Cache::Installed. + + + Adds the given file as a source for metadata. Can be repeated to add multiple files. + Supported are currently *.deb, *.dsc, + *.changes, Sources and + Packages files as well as source package directories. + Files are matched based on their name only, not their content! + Sources and Packages can be compressed in any + format apt supports as long as they have the correct extension. If you need to store + multiple of these files in one directory you can prefix a name of your choice with the + last character being an underscore ("_"). Example: my.example_Packages.xz + Note that these sources are treated as trusted (see &apt-secure;). + Configuration Item: APT::Sources::With. + + &apt-commonoptions;