svn commit: r46684 - head/en_US.ISO8859-1/books/handbook/ports
Brad Davis
brd at FreeBSD.org
Tue May 12 15:07:27 UTC 2015
Author: brd
Date: Tue May 12 15:07:26 2015
New Revision: 46684
URL: https://svnweb.freebsd.org/changeset/doc/46684
Log:
Simplify the section on upgrading with pkg.
Modified:
head/en_US.ISO8859-1/books/handbook/ports/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Tue May 12 14:41:57 2015 (r46683)
+++ head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Tue May 12 15:07:26 2015 (r46684)
@@ -807,19 +807,14 @@ Proceed with deleting packages [y/N]: <u
<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">
More information about the svn-doc-head
mailing list