X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3784e34677882fbea8538baa1c25b0d35abf429a..a530607f8ac4936402831d854f171fc8dc89ef4f:/doc/apt-get.8.xml
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml
index b98d58737..c63011b2a 100644
--- a/doc/apt-get.8.xml
+++ b/doc/apt-get.8.xml
@@ -15,7 +15,7 @@
&apt-email;
&apt-product;
- 29 February 2004
+ 30 October 2008
@@ -33,20 +33,67 @@
apt-get
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ target_release_name
+
+
+ target_release_number_expression
+
+
+
+
- update
- upgrade
- dselect-upgrade
- install pkg
- remove pkg
- source pkg
- build-dep pkg
- check
- clean
- autoclean
+ update
+ upgrade
+ dselect-upgrade
+ install
+ pkg
+
+
+
+ =pkg_version_number
+
+
+ /target_release_name
+
+
+
+
+
+ remove pkg
+ purge pkg
+ source
+ pkg
+
+ =pkg_version_number
+
+
+
+ build-dep pkg
+ check
+ clean
+ autoclean
+ autoremove
+
+
+ -h
+ --help
+
+
@@ -109,17 +156,25 @@
install
- install is followed by one or more packages desired for
- installation. Each package is a package name, not a fully qualified
- filename (for instance, in a Debian GNU/Linux system, libc6 would be the
- argument provided, not libc6_1.9.6-2.deb) All packages required
- by the package(s) specified for installation will also be retrieved and
- installed. The /etc/apt/sources.list file is used to locate
- the desired packages. If a hyphen is appended to the package name (with
- no intervening space), the identified package will be removed if it is
- installed. Similarly a plus sign can be used to designate a package to
- install. These latter features may be used to override decisions made by
- apt-get's conflict resolution system.
+
+
+ install is followed by one or more
+ packages desired for installation or upgrading.
+ Each package is a package name, not a fully qualified
+ filename (for instance, in a Debian GNU/Linux system,
+ libc6 would be the argument provided, not
+ libc6_1.9.6-2.deb). All packages required
+ by the package(s) specified for installation will also
+ be retrieved and installed.
+ The /etc/apt/sources.list file is
+ used to locate the desired packages. If a hyphen is
+ appended to the package name (with no intervening space),
+ the identified package will be removed if it is installed.
+ Similarly a plus sign can be used to designate a
+ package to install. These latter features may be used
+ to override decisions made by apt-get's conflict
+ resolution system.
+ A specific version of a package can be selected for installation by
following the package name with an equals and the version of the package
@@ -131,6 +186,17 @@
Both of the version selection mechanisms can downgrade packages and must
be used with care.
+ This is also the target to use if you want to upgrade one or
+ more already-installed packages without upgrading every package
+ you have on your system. Unlike the "upgrade" target, which
+ installs the newest version of all currently installed packages,
+ "install" will install the newest version of only the package(s)
+ specified. Simply provide the name of the package(s) you wish
+ to upgrade, and if a newer version is available, it (and its
+ dependencies, as described above) will be downloaded and
+ installed.
+
+
Finally, the &apt-preferences; mechanism allows you to
create an alternative installation policy for
individual packages.
@@ -151,6 +217,11 @@
installed instead of removed.
+ purge
+ purge is identical to remove except that packages are
+ removed and purged.
+
+
sourcesource causes apt-get to fetch source packages. APT
will examine the available packages to decide which source package to
@@ -203,6 +274,11 @@
APT::Clean-Installed will prevent installed packages from being
erased if it is set to off.
+
+ autoremove
+ autoremove is used to remove packages that were automatically
+ installed to satisfy dependencies for some package and that are no more needed.
+
@@ -210,6 +286,11 @@
&apt-cmdblurb;
+
+ Do not consider recommended packages as a dependency for installing.
+ Configuration Item: APT::Install-Recommends.
+
+
Download only; package files are only retrieved, not unpacked or installed.
Configuration Item: APT::Get::Download-Only.
@@ -359,8 +440,10 @@
This option controls the default input to the policy engine, it creates
- a default pin at priority 990 using the specified release string. The
- preferences file may further override this setting. In short, this option
+ a default pin at priority 990 using the specified release string.
+ This overrides the general settings in /etc/apt/preferences.
+ Specifically pinned packages are not affected by the value
+ of this option. In short, this option
lets you have simple control over which distribution packages will be
retrieved from. Some common examples might be
or .
@@ -382,6 +465,13 @@
Configuration Item: APT::Get::Remove.
+
+ If the command is either install or remove,
+ then this option acts like running autoremove command, removing the unused
+ dependency packages. Configuration Item: APT::Get::AutomaticRemove.
+
+
+
Only has meaning for the
source and build-dep
@@ -393,9 +483,9 @@
Item: APT::Get::Only-Source.
-
- Download only the diff or tar file of a source archive.
- Configuration Item: APT::Get::Diff-Only and
+
+ Download only the diff, dsc, or tar file of a source archive.
+ Configuration Item: APT::Get::Diff-Only, APT::Get::Dsc-Only, and
APT::Get::Tar-Only.
@@ -406,7 +496,7 @@
Ignore if packages can't be authenticated and don't prompt about it.
- This is usefull for tools like pbuilder.
+ This is useful for tools like pbuilder.
Configuration Item: APT::Get::AllowUnauthenticated.
@@ -429,7 +519,7 @@
/etc/apt/apt.conf.d/
- APT configuration file fragments
+ APT configuration file fragments.
Configuration Item: Dir::Etc::Parts.
@@ -467,14 +557,23 @@
See Also&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;,
- &apt-conf;, &apt-config;,
+ &apt-conf;, &apt-config;, &apt-secure;,
The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto.Diagnosticsapt-get returns zero on normal operation, decimal 100 on error.
-
+
+ ORIGINAL AUTHORS
+ &apt-author.jgunthorpe;
+
+
+ CURRENT AUTHORS
+
+ &apt-author.team;
+ &apt-qapage;
+
+
&manbugs;
-