aboutsummaryrefslogtreecommitdiffstats
path: root/src/fetch.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-29 08:53:43 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-29 08:53:43 +0200
commitf27f194d92c952da337205c0176f68a13f0cba7c (patch)
treeac6d7d92c024589003b7e30493ad0d3ff0662c0d /src/fetch.c
parent2e8fe783a11bcd6ccc7f1a08d8b38eb76d87dc35 (diff)
downloadaports-f27f194d92c952da337205c0176f68a13f0cba7c.tar.bz2
aports-f27f194d92c952da337205c0176f68a13f0cba7c.tar.xz
solver, test: make conflicts unconditional
Solver will now never report partial solution where a conflict constraint is not satisfied. The is because with --force we might install the partial solution; and if conflicted packages were to be installed we might have extra trouble.
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 325249dc48..adc0027a19 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -177,7 +177,7 @@ static int fetch_main(void *ctx, struct apk_database *db, int argc, char **argv)
struct apk_dependency dep = (struct apk_dependency) {
.name = apk_db_get_name(db, APK_BLOB_STR(argv[i])),
.version = apk_blob_atomize(APK_BLOB_NULL),
- .result_mask = APK_DEPMASK_REQUIRE,
+ .result_mask = APK_DEPMASK_ANY,
};
if (fctx->flags & FETCH_RECURSIVE) {