diff --git a/lib/transaction_package_replace.c b/lib/transaction_package_replace.c index 18e20175..f607df07 100644 --- a/lib/transaction_package_replace.c +++ b/lib/transaction_package_replace.c @@ -73,7 +73,7 @@ xbps_transaction_package_replace(struct xbps_handle *xhp, xbps_array_t pkgs) xbps_dictionary_get_cstring_nocopy(instd, "pkgver", &curpkgver); /* ignore pkgs on hold mode */ - if (xbps_dictionary_get_bool(instd, "hold", &hold)) + if (xbps_dictionary_get_bool(instd, "hold", &hold) && hold) continue; curpkgname = xbps_pkg_name(curpkgver);