From: Michael Tremer Date: Fri, 10 Jan 2025 15:11:57 +0000 (+0000) Subject: pakfire: Don't uninstall source packages by accident X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bbcadccafb0557943a0233b010ad0b7a365eaf0;p=people%2Fric9%2Fpakfire.git pakfire: Don't uninstall source packages by accident Signed-off-by: Michael Tremer --- 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);