diff options
-rw-r--r-- | usr.sbin/pkg_install/update/pkg_update.1 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/update/pkg_update.1 b/usr.sbin/pkg_install/update/pkg_update.1 index 2a8d36e..98362e5 100644 --- a/usr.sbin/pkg_install/update/pkg_update.1 +++ b/usr.sbin/pkg_install/update/pkg_update.1 @@ -29,7 +29,7 @@ .Os FreeBSD .Sh NAME .Nm pkg_update -.Nd update an installed package. +.Nd update an installed package .Sh SYNOPSIS .Nm .Op Fl nv @@ -38,10 +38,13 @@ .Sh DESCRIPTION The .Nm -command is used to update an already installed package. It takes care +command is used to update an already installed package. +It takes care of propagating dependencies from the replaced versions to the newly -installed version. It would normally be used to replace all currently -installed versions of a package with a more current version. It can +installed version. +It would normally be used to replace all currently +installed versions of a package with a more current version. +It can also be used to revert a package to an older version by specifying the version to be replaced with the .Fl r @@ -52,7 +55,8 @@ The following options are available: .It Fl n Print the actions to be performed but don't actually do them. .It Fl r Ar oldpkg -Replace the specified version of the package. Normally +Replace the specified version of the package. +Normally .Nm will replace all installed versions of a package with the new version. This isn't always desirable since for some packages it is expected @@ -60,14 +64,14 @@ that multiple versions will be installed at the same time. This option allows a specific version to be replaced. .It Fl v Enable verbose output. +.El .Sh SEE ALSO .Xr pkg_add 1 , .Xr pkg_create 1 , .Xr pkg_delete 1 , -.Xr pkg_info 1 +.Xr pkg_info 1 , .Xr pkg_version 1 .Sh AUTHORS .An Paul Richards Aq paul@FreeBSD.org .Sh BUGS -.Pp None known of as yet. |