Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 15:07:27 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r46684 - head/en_US.ISO8859-1/books/handbook/ports
Message-ID:  <201505121507.t4CF7Rsm014839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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">



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505121507.t4CF7Rsm014839>