Title: Theory / Unimportant / CS / command line / admin / apt / cache

Instruction: apt-cache
Page: man
Effect: tool to query the APT cache

Fla: gencaches
Effect: creates APT's package cache (done implicitly by other command if cache is outdated)
Page: man
Prefix: apt-cache

Fla: showpkg package1 ... packagen
Effect: displays information about the packages listed on the command line
Page: man
Prefix: apt-cache

Fla: stats
Page: man apt-cache
Prefix: apt-cache
Print: displays some statistics about the cache

Fla: showsrc package
Page: man apt-cache
Prefix: apt-cache
Print: 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

Fla: dump
Page: man apt-cache
Prefix: apt-cache
Print: a short listing of every package in the cache
Intuition: debugging

Fla: dumpavail
Page: man apt-cache
Prefix: apt-cache
Print: prints out an available list to stdout

Fla: unmet
Page: man apt-cache
Prefix: apt-cache
Print: a summary of all unmet dependencies in the package cache

Fla: show package1
Page: man apt-cache
Prefix: apt-cache
Print: the package records for the named packages

Fla: search regexp
Effect: performs a full text search on all available package lists for the POSIX regex pattern given
Page: man apt-cache
Prefix: apt-cache

Fla: --full
Page: man apt-cache
Prefix: apt-cache search regexp
Print: output identical to show is produced for
each matched package

Fla: --names-only
Effect: the long description is not searched, only the package name and provided packages are
Page: man apt-cache
Prefix: apt-cache search regexp

Fla: depends package
Page: man apt-cache
Prefix: apt-cache
Print: shows a listing of each dependency a package has and all the possible other packages that can fulfill that
dependency.

Fla: rdepends package
Page: man apt-cache
Prefix: apt-cache
Print: a listing of each reverse dependency a package has

Fla: pkgnames
Page: man apt-cache
Prefix: apt-cache
Print: the name of each package APT knows

Fla: prefix
Effect: filter the output to package starting by prefix
Page: man apt-cache
Prefix: apt-cache pkgnames

Fla: dotty packages
Page: man apt-cache
Prefix: apt-cache
Print: graphviz showing the dependencies between backages

Fla: xcvg packages
Page: man apt-cache
Prefix: apt-cache
Print: xcvg showing the dependencies between backages

Fla: policy
Page: man apt-cache
Prefix: apt-cache
Print: the priorities of
each source

Fla: policy packages
Page: man apt-cache
Prefix: apt-cache
Print: detailed information about the priority selection of the named packages

Fla: madison package
Page: man apt-cache
Prefix: apt-cache
Print: displays available versions of a package in a tabular format similar to Debian archive management tool madison