summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-03 13:57:05 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-03 13:58:30 +0300
commit8a794021c42baf8e1c12ae5e8e8313b66443002e (patch)
tree095b91ef78e27d11ac8265487c91ad67d3a5d1dc /src/commit.c
parentc269e9c24da57ab1b69ad6c80e9a1cb52b2b67d2 (diff)
downloadapk-tools-8a794021c42baf8e1c12ae5e8e8313b66443002e.tar.gz
apk-tools-8a794021c42baf8e1c12ae5e8e8313b66443002e.tar.bz2
apk-tools-8a794021c42baf8e1c12ae5e8e8313b66443002e.tar.xz
apk-tools-8a794021c42baf8e1c12ae5e8e8313b66443002e.zip
commit: rephrase the error messages more understandable
fixes #10703
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c4
1 files changed, 2 insertions, 2 deletions
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) {