Simplify the section on upgrading with pkg.

This commit is contained in:
Brad Davis 2015-05-12 15:07:26 +00:00
parent ae8cd216b0
commit b5e167d902
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46684

View file

@ -807,19 +807,14 @@ Proceed with deleting packages [y/N]: <userinput>y</userinput>
<sect2 xml:id="pkgng-upgrading">
<title>Upgrading Installed Packages</title>
<para>Packages that are outdated can be found with
<command>pkg version</command>. If a local ports tree
does not exist, pkg-version(8) will use the remote
repository catalogue. Otherwise, the local ports tree will
be used to identify package versions.</para>
<para>Installed packages can be upgraded to their latest
versions by typing <command>pkg upgrade</command>. This
command will compare the installed versions with those
available in the repository catalogue. When finished, it
will list the applications that have newer versions. Type
<userinput>y</userinput> to proceed with the upgrade or
<userinput>n</userinput> to cancel the upgrade.</para>
versions by running:</para>
<screen>&prompt.root; <userinput>pkg upgrade</userinput></screen>
<para>This command will compare the installed versions with those
available in the repository catalogue and upgrade them from the
repository.</para>
</sect2>
<sect2 xml:id="pkgng-auditing">