diff options
author | Daniel Burrows <dburrows@debian.org> | 2007-12-01 13:08:10 -0800 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2007-12-01 13:08:10 -0800 |
commit | 1a6a7a9baa20492812044021273f8675ef40dffa (patch) | |
tree | 54df1bb4506028456b3cf2e937c3e25cdd9db3bd /doc/en/manpage.xml | |
parent | 9389a886f8e4fbfaee186665d811497015304c02 (diff) | |
download | aptitude-1a6a7a9baa20492812044021273f8675ef40dffa.tar.gz |
Document the new behavior of safe-upgrade and the --no-new-installs option.
Diffstat (limited to 'doc/en/manpage.xml')
-rw-r--r-- | doc/en/manpage.xml | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/doc/en/manpage.xml b/doc/en/manpage.xml index f590b776..8a886ee7 100644 --- a/doc/en/manpage.xml +++ b/doc/en/manpage.xml @@ -407,20 +407,21 @@ <listitem> <para> - Upgrades installed packages to their most recent - version. Installed packages will not be removed - unless they are unused (see the section <quote><link - linkend='secAutoInstall'>Managing Automatically - Installed Packages</link></quote> in the &aptitude; - reference manual); packages which are not currently - installed will not be installed. + Upgrades installed packages to their most recent version. + Installed packages will not be removed unless they are + unused (see the section <quote><link + linkend='secAutoInstall'>Managing Automatically Installed + Packages</link></quote> in the &aptitude; reference + manual). Packages which are not currently installed may + be installed to resolve dependencies unless the <link + linkend='cmdlineOptionSafeUpgradeNoNewInstalls'><literal>--no-new-installs</literal></link> + command-line option is supplied. </para> <para> - It is sometimes necessary to remove or install one - package in order to upgrade another; this command is not - able to upgrade packages in such situations. Use the - <link + It is sometimes necessary to remove one package in order + to upgrade another; this command is not able to upgrade + packages in such situations. Use the <link linkend='manpageFullUpgrade'><literal>full-upgrade</literal></link> command to upgrade as many packages as possible. </para> @@ -873,6 +874,26 @@ i A texlive-latex-extra Conflicts textopo</screen> </listitem> </varlistentry> + <varlistentry id='cmdlineOptionSafeUpgradeNoNewInstalls'> + <term> + <literal>--no-new-installs</literal> + </term> + + <listitem> + <para> + If present, causes <literal>safe-upgrade</literal> to not + install any new packages. This mimics the historical + behavior of <command>apt-get upgrade</command>. + </para> + + <para> + This corresponds to the configuration option + <literal><link + linkend='configCmdLine-Safe-Upgrade-No-New-Installs'>Aptitude::CmdLine::Safe-Upgrade::No-New-Installs</link></literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><literal>--purge-unused</literal></term> |