diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-18 13:43:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-18 13:43:47 +0000 |
commit | 3f6699de971c182d897b2912408a7bd5018b1638 (patch) | |
tree | 83ad630db462990fd19da8385df6aa639bbd44b8 /pkgtools | |
parent | 7bcdd8fdf86e8bba7d0d5f7a4e925a4be09d21f0 (diff) | |
download | pkgsrc-3f6699de971c182d897b2912408a7bd5018b1638.tar.gz |
Regen.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/add/pkg_add.cat | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/pkgtools/pkg_install/files/add/pkg_add.cat b/pkgtools/pkg_install/files/add/pkg_add.cat index 1c572d410da..ddd265f088b 100644 --- a/pkgtools/pkg_install/files/add/pkg_add.cat +++ b/pkgtools/pkg_install/files/add/pkg_add.cat @@ -89,10 +89,10 @@ OOPPTTIIOONNSS --UU Replace an already installed version from a package. Implies --uu. --uu If the package that's being installed is already installed, an - update is performed. If this is specified twice, then any depen- - dent packages that are too old will also be updated to fulfill - the dependency. See below for a more detailed description of the - process. + update is performed. Installed dependent packages are updated + recursively, if they are too old to fulfill the dependencies of + the to-be-installed version. See below for a more detailed + description of the process. --VV Print version number and exit. @@ -124,17 +124,19 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS 1. A check is made to determine if the package or another version of it is already recorded as installed. If it is, installa- - tion is terminated if the --uu option is not given. - - If the --uu option is given, it's assumed the package should be - replaced by the new version instead. Before doing so, all - packages that depend on the pkg being upgraded are checked if - they also work with the new version. If that test is success- - ful, replacing is prepared by moving an existing _+_R_E_Q_U_I_R_E_D___B_Y - file aside (if it exists), and running pkg_delete(1) on the - installed package. Installation then proceeds as if the pack- - age was not installed, and restores the _+_R_E_Q_U_I_R_E_D___B_Y file - afterwards. + tion is terminated if the --uu or --UU options are not given. + + If the same version is installed and --UU is not given, it is + marked as manually installed and process stops. If the --uu + option is given, it's assumed the package should be replaced + by the new version instead. Before doing so, all packages + that depend on the pkg being upgraded are checked if they also + work with the new version. If that test is not successful, + the dependent packages are updated first. The replacing is + then prepared by moving an existing _+_R_E_Q_U_I_R_E_D___B_Y file aside + (if it exists), and running pkg_delete(1) on the installed + package. Installation then proceeds as if the package was not + installed, and restores the _+_R_E_Q_U_I_R_E_D___B_Y file afterwards. 2. The package build information is extracted from the _+_B_U_I_L_D___I_N_F_O file and compared against the result of uname(3). @@ -162,10 +164,6 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS these required packages are not currently installed, an attempt is made to find and install it; if the missing package cannot be found or installed, the installation is terminated. - If the --uu option was specified twice, any required packages - that are installed, but which have a version number that is - considered to be too old, are also updated. The dependent - packages are found according to the normal PKG_PATH rules. 7. If the package contains an _i_n_s_t_a_l_l script, it is executed with the following arguments: @@ -264,4 +262,4 @@ BBUUGGSS Sure to be others. -NetBSD 5.0 January 30, 2010 NetBSD 5.0 +NetBSD 5.0 February 18, 2010 NetBSD 5.0 |