[pacman-dev] [PATCH] remove: improve broken dependency error message

Andrew Gregory andrew.gregory.8 at gmail.com
Sun Oct 13 08:50:48 UTC 2019


This message was clarified for sync operations in
2b1b7b70753eb56bee08cd270efc7cfa342bc0ec.

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 src/pacman/remove.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 9d44cf53..0eeb19d3 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -116,8 +116,8 @@ int pacman_remove(alpm_list_t *targets)
 				for(i = data; i; i = alpm_list_next(i)) {
 					alpm_depmissing_t *miss = i->data;
 					char *depstring = alpm_dep_compute_string(miss->depend);
-					colon_printf(_("%s: removing %s breaks dependency '%s'\n"),
-							miss->target, miss->causingpkg, depstring);
+					colon_printf(_("removing %s breaks dependency '%s' required by %s\n"),
+							miss->causingpkg, depstring, miss->target);
 					free(depstring);
 					alpm_depmissing_free(miss);
 				}
-- 
2.23.0


More information about the pacman-dev mailing list