From 4bbcadccafb0557943a0233b010ad0b7a365eaf0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 10 Jan 2025 15:11:57 +0000 Subject: [PATCH] pakfire: Don't uninstall source packages by accident Signed-off-by: Michael Tremer --- src/pakfire/pakfire.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pakfire/pakfire.c b/src/pakfire/pakfire.c index 19dcfc7cf..518fd6512 100644 --- a/src/pakfire/pakfire.c +++ b/src/pakfire/pakfire.c @@ -292,6 +292,9 @@ static int pakfire_populate_pool(struct pakfire* pakfire) { Pool* pool = pakfire->pool = pool_create(); pool_setdisttype(pool, DISTTYPE_RPM); + // Don't replace source packages with binary packages + pool_set_flag(pool, POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS, 1); + #ifdef ENABLE_DEBUG // Enable debug output pool_setdebuglevel(pool, 2); -- 2.47.3