diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-26 14:58:28 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-26 14:58:28 +0100 |
commit | f6ec0181558e1a637a90b8b165403d24c93fab90 (patch) | |
tree | c2765592475756d4c9a22e7d27abc3695af30dbc /doc | |
parent | 758254769a053b80e7b6fba6b37e062c1d87d4c7 (diff) | |
download | libsolv-f6ec0181558e1a637a90b8b165403d24c93fab90.tar.gz libsolv-f6ec0181558e1a637a90b8b165403d24c93fab90.tar.bz2 libsolv-f6ec0181558e1a637a90b8b165403d24c93fab90.zip |
support SOLVER_FLAG_DUP_ALLOW* flags in solver_set_flags and bindings
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libsolv-bindings.3 | 26 | ||||
-rw-r--r-- | doc/libsolv-bindings.txt | 19 |
2 files changed, 39 insertions, 6 deletions
diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index 402511d..dd7519f 100644 --- a/doc/libsolv-bindings.3 +++ b/doc/libsolv-bindings.3 @@ -2,12 +2,12 @@ .\" Title: Libsolv-Bindings .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> -.\" Date: 03/04/2014 +.\" Date: 03/26/2014 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-BINDINGS" "3" "03/04/2014" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-BINDINGS" "3" "03/26/2014" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -3069,7 +3069,7 @@ Do not change the state of the matched packages, i\&.e\&. when they are installe .PP \fBSOLVER_DISTUPGRADE\fR .RS 4 -Update the matching installed packages to the best version included in one of the repositories\&. After this operation, all come from one of the available repositories except orphaned packages\&. Orphaned packages are packages that have no relation to the packages in the repositories, i\&.e\&. no package in the repositories have the same name or obsolete the orphaned package\&. This action brings the installed packages in sync with the ones in the repository\&. It also turns of arch/vendor/version locking for the affected packages to simulate a fresh installation\&. This means that distupgrade can actually downgrade packages if only lower versions of a package are available in the repositories\&. +Update the matching installed packages to the best version included in one of the repositories\&. After this operation, all come from one of the available repositories except orphaned packages\&. Orphaned packages are packages that have no relation to the packages in the repositories, i\&.e\&. no package in the repositories have the same name or obsolete the orphaned package\&. This action brings the installed packages in sync with the ones in the repository\&. By default it also turns of arch/vendor/version locking for the affected packages to simulate a fresh installation\&. This means that distupgrade can actually downgrade packages if only lower versions of a package are available in the repositories\&. You can tweak this behavior with the SOLVER_FLAG_DUP_ solver flags\&. .RE .PP \fBSOLVER_DROP_ORPHANED\fR @@ -3325,6 +3325,26 @@ Allow the solver to change the name of an installed package, i\&.e\&. install a Allow the solver to erase installed packages to fulfill the jobs\&. This flag also includes the above flags\&. You may want to set this flag if you only have SOLVER_ERASE jobs, as in that case it\(cqs better for the user to check the transaction overview instead of approving every single package that needs to be erased\&. .RE .PP +\fBSOLVER_FLAG_DUP_ALLOW_DOWNGRADE\fR +.RS 4 +Like SOLVER_FLAG_ALLOW_DOWNGRADE, but used in distupgrade mode\&. +.RE +.PP +\fBSOLVER_FLAG_DUP_ALLOW_ARCHCHANGE\fR +.RS 4 +Like SOLVER_FLAG_ALLOW_ARCHCHANGE, but used in distupgrade mode\&. +.RE +.PP +\fBSOLVER_FLAG_DUP_ALLOW_VENDORCHANGE\fR +.RS 4 +Like SOLVER_FLAG_ALLOW_VENDORCHANGE, but used in distupgrade mode\&. +.RE +.PP +\fBSOLVER_FLAG_DUP_ALLOW_NAMECHANGE\fR +.RS 4 +Like SOLVER_FLAG_ALLOW_NAMECHANGE, but used in distupgrade mode\&. +.RE +.PP \fBSOLVER_FLAG_NO_UPDATEPROVIDE\fR .RS 4 If multiple packages obsolete an installed package, the solver checks the provides of every such package and ignores all packages that do not provide the installed package name\&. Thus, you can have an official update candidate that provides the old name, and other packages that also obsolete the package but are not considered for updating\&. If you cannot use this feature, you can turn it off by setting this flag\&. diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index eed9698..06e2bc9 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -1764,10 +1764,11 @@ repositories except orphaned packages. Orphaned packages are packages that have no relation to the packages in the repositories, i.e. no package in the repositories have the same name or obsolete the orphaned package. This action brings the installed packages in sync with the ones in the -repository. It also turns of arch/vendor/version locking for the affected -packages to simulate a fresh installation. This means that distupgrade can +repository. By default it also turns of arch/vendor/version locking for the +affected packages to simulate a fresh installation. This means that distupgrade can actually downgrade packages if only lower versions of a package are available -in the repositories. +in the repositories. You can tweak this behavior with the SOLVER_FLAG_DUP_ +solver flags. *SOLVER_DROP_ORPHANED*:: Erase all the matching installed packages if they are orphaned. This only makes @@ -1995,6 +1996,18 @@ flag if you only have SOLVER_ERASE jobs, as in that case it's better for the user to check the transaction overview instead of approving every single package that needs to be erased. +*SOLVER_FLAG_DUP_ALLOW_DOWNGRADE*:: +Like SOLVER_FLAG_ALLOW_DOWNGRADE, but used in distupgrade mode. + +*SOLVER_FLAG_DUP_ALLOW_ARCHCHANGE*:: +Like SOLVER_FLAG_ALLOW_ARCHCHANGE, but used in distupgrade mode. + +*SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE*:: +Like SOLVER_FLAG_ALLOW_VENDORCHANGE, but used in distupgrade mode. + +*SOLVER_FLAG_DUP_ALLOW_NAMECHANGE*:: +Like SOLVER_FLAG_ALLOW_NAMECHANGE, but used in distupgrade mode. + *SOLVER_FLAG_NO_UPDATEPROVIDE*:: If multiple packages obsolete an installed package, the solver checks the provides of every such package and ignores all packages that |