There's a number of ways to upgrade pkgsrc; some of these are built in and some are packages installable with pkgsrc. This list is not necessarily comprehensive. Be sure to read the note about upgrading pkgsrc system packages at the end of this subsection!
+### bmake replace
+Performed in the `/usr/pkgsrc` directory that correlates with the installed package, the software is first built and then replaced.
+
+ # cd /usr/pkgsrc/chat/ircII
+ # bmake replace
+
### pkg_rolling-replace
-*pkg_rolling-replace* replaces packages one by one and one can use it for a better way of package management. Actually it does `make replace` on one package at a time, sorting the packages being replaced according to their interdependencies, which avoids most duplicate rebuilds. Once *pkg_rolling-replace* is installed you can update the packages through the following steps.
+*pkg_rolling-replace* replaces packages one by one and one can use it for a better way of package management. Actually it does `bmake replace` on one package at a time, sorting the packages being replaced according to their interdependencies, which avoids most duplicate rebuilds. Once *pkg_rolling-replace* is installed you can update the packages through the following steps.
# cd /usr && make pkgsrc-update
# pkg_rolling-replace -u
The above process removes all packages at once and installs the missing packages one by one. This can cause longer disruption of services when the removed package has to wait a long time for its turn to get installed.
-### bmake update
-
-Performed in the `/usr/pkgsrc` directory that correlates with the installed package, the software is deleted and rebuilt. The same warning applies as with *pkg_chk*.
-
### pkg_add -u
Point at a local or online binary archive location to download and update packages.