summaryrefslogtreecommitdiff
path: root/src/solver.h
diff options
context:
space:
mode:
authorZdeněk Pavlas <zpavlas@redhat.com>2012-04-10 15:21:40 +0200
committerZdeněk Pavlas <zpavlas@redhat.com>2012-04-10 15:50:49 +0200
commit404b35043540d02c4f0e5b6c55a8f962145c09af (patch)
tree32c3bd9f21d143a7d27e3f79e3cbed8917fd82fd /src/solver.h
parent2a3ced661e3d7389084aad677adc613037ab0de1 (diff)
downloadlibsolv-404b35043540d02c4f0e5b6c55a8f962145c09af.tar.gz
libsolv-404b35043540d02c4f0e5b6c55a8f962145c09af.tar.bz2
libsolv-404b35043540d02c4f0e5b6c55a8f962145c09af.zip
SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES
true: process explicit obsoletes in multiinstall. Defaults to 0. Needed for compatibility with 'yum'.
Diffstat (limited to 'src/solver.h')
-rw-r--r--src/solver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/solver.h b/src/solver.h
index 84ffb8e..ddab97b 100644
--- a/src/solver.h
+++ b/src/solver.h
@@ -194,6 +194,7 @@ struct _Solver {
int dontshowinstalledrecommended; /* true: do not show recommended packages that are already installed */
int noinfarchcheck; /* true: do not forbid inferior architectures */
+ int keepexplicitobsoletes; /* true: honor obsoletes during multiinstall */
Map dupmap; /* dup these packages*/
@@ -283,6 +284,7 @@ typedef struct _Solver Solver;
#define SOLVER_FLAG_ADD_ALREADY_RECOMMENDED 8
#define SOLVER_FLAG_NO_INFARCHCHECK 9
#define SOLVER_FLAG_ALLOW_NAMECHANGE 10
+#define SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES 11
extern Solver *solver_create(Pool *pool);
extern void solver_free(Solver *solv);