diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-03 13:57:05 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2021-04-11 14:02:40 +0300 |
commit | 0249068aaff7439163c83dae0ef0465e433021b0 (patch) | |
tree | e7d26680aea3cf7ba2ac6b91432f7da8d27af013 /src | |
parent | 6a03e4cdb686e724bbc17bcff7d3013a0b323e54 (diff) | |
download | apk-tools-0249068aaff7439163c83dae0ef0465e433021b0.tar.gz apk-tools-0249068aaff7439163c83dae0ef0465e433021b0.tar.bz2 apk-tools-0249068aaff7439163c83dae0ef0465e433021b0.tar.xz apk-tools-0249068aaff7439163c83dae0ef0465e433021b0.zip |
commit: rephrase the error messages more understandable
fixes #10703
(cherry picked from commit 8a794021c42baf8e1c12ae5e8e8313b66443002e)
Diffstat (limited to 'src')
-rw-r--r-- | src/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c index 4a94ff5..3c63f54 100644 --- a/src/commit.c +++ b/src/commit.c @@ -545,7 +545,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; } @@ -642,7 +642,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) { |