From d744b4b2381fb6df6f206bab2adb2e778c0e748d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 8 Dec 2021 22:51:23 +0100 Subject: [PATCH] xbps-install: exclude hold packages from total download size --- lib/transaction_prepare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/transaction_prepare.c b/lib/transaction_prepare.c index b6ff1a9d..f50f831f 100644 --- a/lib/transaction_prepare.c +++ b/lib/transaction_prepare.c @@ -99,6 +99,7 @@ compute_transaction_stats(struct xbps_handle *xhp) } if ((ttype != XBPS_TRANS_CONFIGURE) && (ttype != XBPS_TRANS_REMOVE) && + (ttype != XBPS_TRANS_HOLD) && xbps_repository_is_remote(repo) && !xbps_binpkg_exists(xhp, obj)) { xbps_dictionary_get_uint64(obj, "filename-size", &tsize); tsize += 512;