From f723edbca1dc888f11aedafdaca3f7f9198052d4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 24 Nov 2019 11:44:21 +0100 Subject: [PATCH] trans/revdeps: ignore pkgs on hold. shlib checking is still performed later on... --- lib/transaction_revdeps.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/transaction_revdeps.c b/lib/transaction_revdeps.c index fb27d97d..35e190f6 100644 --- a/lib/transaction_revdeps.c +++ b/lib/transaction_revdeps.c @@ -145,6 +145,12 @@ xbps_transaction_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs) continue; } free(pkgname); + /* + * If pkg is on hold, pass to the next one. + */ + if (strcmp(tract, "hold") == 0) + continue; + /* * Time to validate revdeps for current pkg. */