From 8a794021c42baf8e1c12ae5e8e8313b66443002e Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 3 Oct 2020 13:57:05 +0300 Subject: commit: rephrase the error messages more understandable fixes #10703 --- src/commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commit.c') diff --git a/src/commit.c b/src/commit.c index b82607c..5a72ce4 100644 --- a/src/commit.c +++ b/src/commit.c @@ -540,7 +540,7 @@ static void analyze_name(struct print_state *ps, struct apk_name *name) } label_end(ps); } else { - snprintf(tmp, sizeof(tmp), "%s (missing)", name->name); + snprintf(tmp, sizeof(tmp), "%s (no such package)", name->name); ps->label = tmp; } @@ -637,7 +637,7 @@ void apk_solver_print_errors(struct apk_database *db, * any other selected version. or all of them with -v. */ - apk_error("unsatisfiable constraints:"); + apk_error("unable to select packages:"); /* Construct information about names */ foreach_array_item(change, changeset->changes) { -- cgit v1.2.3-70-g09d2