|
Lines 1094-1100
Link Here
|
| 1094 |
<filename>INDEX</filename> file. Finally, |
1094 |
<filename>INDEX</filename> file. Finally, |
| 1095 |
<command>portupgrade</command> will begin to download, build, |
1095 |
<command>portupgrade</command> will begin to download, build, |
| 1096 |
backup, install, and clean the ports which have been updated. |
1096 |
backup, install, and clean the ports which have been updated. |
| 1097 |
Other utilities exist which will do this, check out the |
1097 |
<application>portupgrade</application> comes with a lot of options for different |
|
|
1098 |
use cases, the most important ones will be presented below:</para> |
| 1099 |
|
| 1100 |
<para>If you want to upgrade only a certain application, not the complete database, |
| 1101 |
use <command>portupgrade <replaceable>pkgname</replaceable></command>, |
| 1102 |
include the flags <parameter>-r</parameter> |
| 1103 |
if <application>portupgrade</application> should act on all those packages |
| 1104 |
depending on the given package as well, and <parameter>-R</parameter> to act on |
| 1105 |
all packages required by the given packages as well. |
| 1106 |
To use packages instead of ports for installation, provide <parameter>-P</parameter> |
| 1107 |
and to just fetch distfiles without building or installing anything, use |
| 1108 |
<parameter>-F</parameter>. For further information see &man.portupgrade.1;</para> |
| 1109 |
|
| 1110 |
<note><para>It is important to regularly update the package database using |
| 1111 |
<command>pkgdb -F</command> to fix inconsistencies, especially when |
| 1112 |
<application>portupgrade</application> asks you to. Do not abort |
| 1113 |
<application>portupgrade</application> while it is updating the package database, |
| 1114 |
this will leave you a inconsistent database.</para></note> |
| 1115 |
|
| 1116 |
<para>Other utilities exist which will do this, check out the |
| 1098 |
<filename>ports/sysutils</filename> directory and see what you |
1117 |
<filename>ports/sysutils</filename> directory and see what you |
| 1099 |
come up with.</para> |
1118 |
come up with.</para> |
| 1100 |
</sect2> |
1119 |
</sect2> |