From 3df6a389d2f246cdcbbfc7829ba676cdbb699ddd Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 27 Jan 2009 21:44:23 +0000 Subject: Annotate that pkg_add -u can not be used to replace an installed version with a package of the very same version. --- pkgtools/pkg_install/files/add/pkg_add.1 | 7 ++++--- pkgtools/pkg_install/files/add/pkg_add.cat1 | 13 +++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgtools/pkg_install/files/add/pkg_add.1 b/pkgtools/pkg_install/files/add/pkg_add.1 index 05cd3901ad8..e1e32995150 100644 --- a/pkgtools/pkg_install/files/add/pkg_add.1 +++ b/pkgtools/pkg_install/files/add/pkg_add.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_add.1,v 1.28.6.9 2008/10/10 15:26:37 joerg Exp $ +.\" $NetBSD: pkg_add.1,v 1.28.6.10 2009/01/27 21:44:23 joerg Exp $ .\" .\" FreeBSD install - a package for the installation and maintenance .\" of non-core utilities. @@ -169,8 +169,9 @@ This implies This means that you cannot deinstall it later, so only use this option if you know what you are doing! .It Fl u -If the package that's being installed is already installed, either -in the same or a different version, an update is performed. +If the package that's being installed is already installed, +an update is performed. +It is currently not possible to update to an identical version. If this is specified twice, then any dependant packages that are too old will also be updated to fulfill the dependency. See below for a more detailed description of the process. diff --git a/pkgtools/pkg_install/files/add/pkg_add.cat1 b/pkgtools/pkg_install/files/add/pkg_add.cat1 index 77a7fb0d103..299b76c5f9d 100644 --- a/pkgtools/pkg_install/files/add/pkg_add.cat1 +++ b/pkgtools/pkg_install/files/add/pkg_add.cat1 @@ -95,11 +95,12 @@ OOPPTTIIOONNSS This means that you cannot deinstall it later, so only use this option if you know what you are doing! - --uu If the package that's being installed is already installed, - either in the same or a different version, an update is per- - formed. If this is specified twice, then any dependant packages - that are too old will also be updated to fulfill the dependency. - See below for a more detailed description of the process. + --uu If the package that's being installed is already installed, an + update is performed. It is currently not possible to update to + an identical version. If this is specified twice, then any + dependant packages that are too old will also be updated to ful- + fill the dependency. See below for a more detailed description + of the process. --VV Print version number and exit. @@ -316,4 +317,4 @@ BBUUGGSS Sure to be others. -NetBSD 4.0 October 10, 2008 NetBSD 4.0 +NetBSD 5.0 October 10, 2008 NetBSD 5.0 -- cgit v1.2.3