diff --git a/lib/transaction_commit.c b/lib/transaction_commit.c index 182a77a4..7ff6cf24 100644 --- a/lib/transaction_commit.c +++ b/lib/transaction_commit.c @@ -249,6 +249,7 @@ xbps_transaction_commit(struct xbps_handle *xhp) /* * Remove package. */ + update = false; xbps_dictionary_get_bool(obj, "remove-and-update", &update); rv = xbps_remove_pkg(xhp, pkgver, update); if (rv != 0) {