|
发表于 2007-1-1 15:39:41
|
显示全部楼层
portupgrade -P
portupgrade -PP
要学会使用 manpage:
$ man portupgrade
-P
--use-packages Use packages instead of ports whenever available.
portupgrade searches the local directories listed
in PKG_PATH for each package to install or upgrade
the current installation with, and if none is
found, pkg_fetch(1) is invoked to fetch one from a
remote site. If it doesn't work either, the port
is used.
-PP
--use-packages-only Never use the port even if a package is not avail-
able either locally or remotely, although you
still have to keep your ports tree up-to-date so
that portupgrade can check out what the latest
version of each port is. |
|