Index: base/doc/port-livecheck.1 =================================================================== --- base/doc/port-livecheck.1 (revision 140279) +++ base/doc/port-livecheck.1 (working copy) @@ -31,7 +31,7 @@ .sp \fBport livecheck\fR checks whether a newer version of a given port is available upstream\&. It (usually) does that by automatically downloading a web page and applying a regular expression that extracts a version number\&. If the version number is different from the one the port packages, a message is printed\&. .sp -\fBport livecheck\fR is useful for maintainers that want to check whether new versions of their ports are available so they can be updated\&. It can also be used by users that encounter a problem, because updating to the latest upstream version is generally one of the first steps in case of an error of when encountering a bug\&. +\fBport livecheck\fR is useful for maintainers that want to check whether new versions of their ports are available so they can be updated\&. It can also be used by users that encounter a problem, because updating to the latest upstream version is generally one of the first steps in case of an error or when encountering a bug\&. .SH "GLOBAL OPTIONS" .sp Please see the section \fBGLOBAL OPTIONS\fR in the \fBport\fR(1) man page for a description of global port options\&. Index: base/doc/port-livecheck.1.txt =================================================================== --- base/doc/port-livecheck.1.txt (revision 140279) +++ base/doc/port-livecheck.1.txt (working copy) @@ -23,7 +23,7 @@ *port livecheck* is useful for maintainers that want to check whether new versions of their ports are available so they can be updated. It can also be used by users that encounter a problem, because updating to the latest upstream -version is generally one of the first steps in case of an error of when +version is generally one of the first steps in case of an error or when encountering a bug. include::global-flags.txt[] Index: base/doc/port-upgrade.1 =================================================================== --- base/doc/port-upgrade.1 (revision 140279) +++ base/doc/port-upgrade.1 (working copy) @@ -69,7 +69,7 @@ \fBvariants.conf\fR(5) .RE .sp -In most cases, you should specify the \fBoutdated\fR pseudo\-port expression as argument to \fBport upgrade\fR to upgrade all ports where a newer version is available\&. See \fBport\fR(1) for more information on pseudo\-port expressions\&. +In most cases, you should specify the \fBoutdated\fR pseudo\-port expression as argument to \fBport upgrade\fR to upgrade all ports where a newer version is available\&. This is the recommended upgrade method for end users\&. See \fBport\fR(1) for more information on pseudo\-port expressions\&. Upgrading individual packages should only be performed by expert users who know what they are doing, since a mix of upgraded and non\-upgraded packages can lead to various software errors\&. .SH "OPTIONS" .PP \fB\-\-enforce\-variants\fR Index: base/doc/port-upgrade.1.txt =================================================================== --- base/doc/port-upgrade.1.txt (revision 140279) +++ base/doc/port-upgrade.1.txt (working copy) @@ -31,7 +31,11 @@ In most cases, you should specify the *outdated* pseudo-port expression as argument to *port upgrade* to upgrade all ports where a newer version is -available. See man:port[1] for more information on pseudo-port expressions. +available. This is the recommended upgrade method for end users. +See man:port[1] for more information on pseudo-port expressions. +Upgrading individual packages should only be performed by expert users who +know what they are doing, since a mix of upgraded and non-upgraded packages +can lead to various software errors. OPTIONS ------- Index: base/doc/port.1 =================================================================== --- base/doc/port.1 (revision 140279) +++ base/doc/port.1 (working copy) @@ -1,5 +1,5 @@ '\" t -.TH "PORT" "1" "2014\-11\-11" "MacPorts 2\&.3\&.99" "MacPorts Manual" +.TH "PORT" "1" "2015\-01\-12" "MacPorts 2\&.3\&.99" "MacPorts Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -807,26 +807,43 @@ \fB\-R\fR (dependents) above\&. .sp -Upgrade the installed -\fIportname\fR\&. For example: +Upgrade all outdated ports: .sp .if n \{\ .RS 4 .\} .nf -port upgrade vim +port upgrade outdated .fi .if n \{\ .RE .\} .sp -To upgrade all outdated ports: +.if n \{\ .sp +.\} +.RS 4 +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBNote\fR +.ps -1 +.br +It is recomended to always upgrade all ports with the command indicated above\&. Upgrading single ports as indicated in the subsequent examples should only be performed if you know what you are doing, since this might lead to unexpected software errors from ports that have not yet been upgraded\&. +.sp .5v +.RE +\ \& +.sp +Upgrade the installed +\fIportname\fR\&. For example: +.sp .if n \{\ .RS 4 .\} .nf -port upgrade outdated +port upgrade vim .fi .if n \{\ .RE Index: base/doc/port.1.txt =================================================================== --- base/doc/port.1.txt (revision 140279) +++ base/doc/port.1.txt (working copy) @@ -369,15 +369,25 @@ *-R* (dependents) above. + -- -Upgrade the installed 'portname'. For example: +Upgrade all outdated ports: + -------- -port upgrade vim +port upgrade outdated -------- -To upgrade all outdated ports: +[NOTE] +It is recommended to always upgrade all ports with the command indicated above. +Upgrading single ports as indicated in the subsequent examples should only be +performed if you know what you are doing, since this might lead to unexpected +software errors from ports that have not yet been upgraded. +// Forcing a new paragraph here by inserting a dummy space +{nbsp} + +Upgrade the installed 'portname'. For example: + -------- -port upgrade outdated +port upgrade vim -------- To upgrade 'portname' and the ports that depend on it: Index: doc-new/guide/xml/project.xml =================================================================== --- doc-new/guide/xml/project.xml (revision 140279) +++ doc-new/guide/xml/project.xml (working copy) @@ -71,6 +71,10 @@ then reinstall. You might also want to run 'port -nR upgrade --force foo' to rebuild ports depending upon port foo. + Note that it is safest and recommended that most users always upgrade + with 'port upgrade outdated' to update all ports at once. Upgrading a + single port can lead to software errors in other ports that have not + yet been upgraded. Index: doc-new/guide/xml/using.xml =================================================================== --- doc-new/guide/xml/using.xml (revision 140279) +++ doc-new/guide/xml/using.xml (working copy) @@ -825,7 +825,9 @@ $ sudo port upgrade outdated to update all ports that have an upgrade available. You can, however, selectively upgrade ports if you - want to delay other upgrades until later. To do that, specify the name(s) of the port(s) to upgrade: + want to delay other upgrades until later. This is not recommended unless you know what you are doing, + since you might experience software errors for the ports that have not yet been upgraded. To upgrade + individual ports, specify the name(s) of the port(s) to upgrade: $ sudo port upgrade gnupg2 @@ -1128,8 +1130,8 @@ $ sudo port upgrade outdated - In case you want to upgrade only a specific port, replace outdated in the command given - above with the port's name: + In case you want to upgrade only a specific port (not recommended unless you know what you are doing), + replace outdated in the command given above with the port's name: $ sudo port upgrade makedepend