From e861cb5331bdb2e21c9abf3a42425d254191c417 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 Nov 2012 14:38:06 +0100 Subject: [PATCH] xbps_transaction_commit: add a dbg printf. --- lib/transaction_commit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/transaction_commit.c b/lib/transaction_commit.c index 8178c19b..dd5d54db 100644 --- a/lib/transaction_commit.c +++ b/lib/transaction_commit.c @@ -253,8 +253,11 @@ xbps_transaction_commit(struct xbps_handle *xhp) &update); prop_dictionary_get_bool(obj, "softreplace", &sr); rv = xbps_remove_pkg(xhp, pkgname, version, update, sr); - if (rv != 0) + if (rv != 0) { + xbps_dbg_printf(xhp, "[trans] failed to " + "remove %s-%s\n", pkgname, version); goto out; + } } else if (strcmp(tract, "configure") == 0) { /* * Reconfigure pending package.