From f27f194d92c952da337205c0176f68a13f0cba7c Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 29 Feb 2012 08:53:43 +0200 Subject: 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. --- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/info.c') diff --git a/src/info.c b/src/info.c index c21da50..94a3047 100644 --- a/src/info.c +++ b/src/info.c @@ -118,7 +118,7 @@ static int info_who_owns(struct info_ctx *ctx, struct apk_database *db, dep = (struct apk_dependency) { .name = pkg->name, .version = apk_blob_atomize(APK_BLOB_NULL), - .result_mask = APK_DEPMASK_REQUIRE, + .result_mask = APK_DEPMASK_ANY, }; apk_deps_add(&deps, &dep); } else { -- cgit v1.2.3-60-g2f50