Reinstall command
[ntk/apt.git] / doc / apt-get.8.yo
index fb0a05f..cb71601 100644 (file)
@@ -78,6 +78,12 @@ hyphen is appended to the package name (with no intervening space), the
 identified package will be removed if it is installed. This latter feature 
 may be used to override decisions made by apt-get's conflict resolution system.
 
+If no package matches the given expression and the expression contains one
+of '.', '?' or '*' then it is assumed to be a POSIX regex and it is applied
+to all package names in the database. Any matches are then installed (or
+removed). Note that matching is done by substring so 'lo*' matches 'how-lo'
+and 'lowest'. If this is undesired prefix with a '^' character.
+
 dit(bf(remove))
 bf(remove) is identical to bf(install) except that packages are removed
 instead of installed. If a plus sign is appended to the package name (with no
@@ -88,7 +94,7 @@ bf(source) causes apt-get to fetch source packages. APT will examine the
 available packages to decide which source package to fetch. It will then
 find and download into the current directory the newest available version of
 that source package. Source packages are tracked separately from binary
-packages via df(deb-src) type lines in the bf(/etc/apt/sources.list) file.
+packages via bf(deb-src) type lines in the bf(/etc/apt/sources.list) file.
 This probably will mean that you will not get the same source as the package
 you have installed or as you could install. If the --compile options is
 specified then the package will be compiled to a binary .deb using
@@ -207,6 +213,22 @@ md5 hash. Note that the file name to write to will not always match
 the file name on the remote site! This also works with the bf(source)
 command See bf(APT::Get::Print-URIs).
 
+dit(bf(--purge))
+Use purge instead of remove for anything that would be removed.
+
+dit(bf(--reinstall))
+Re-Install packages that are already installed and at the newest version.
+
+dit(bf(--list-cleanup))
+This option defaults to on, use bf(--no-list-cleanup) to turn it off.
+When on apt-get will automatically manage the contents of 
+/var/state/apt/lists to ensure that obsolete files are erased. The only 
+reason to turn it off is if you frequently change your source list. See
+bf(APT::Get::List-Cleanup)
+
+dit(bf(--diff-only), bd(--tar-only))
+Download only the diff or tar file of a source archive.
+
 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