From: Michael Tremer Date: Sat, 11 Jan 2025 18:51:09 +0000 (+0000) Subject: snapshots: Don't try to sync installed packages X-Git-Tag: 0.9.30~416 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c308a65e348a8516a1d9f3bece58ba9b27f518cd;p=pakfire.git snapshots: Don't try to sync installed packages There should never be any installed packages here. Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/snapshot.c b/src/pakfire/snapshot.c index ebac180a0..817c45b6e 100644 --- a/src/pakfire/snapshot.c +++ b/src/pakfire/snapshot.c @@ -482,11 +482,6 @@ static int pakfire_snapshot_install_packages(struct pakfire* pakfire, const char goto ERROR; } - // Also update everything that has already been installed - r = pakfire_transaction_request(transaction, PAKFIRE_JOB_SYNC, NULL, 0); - if (r < 0) - goto ERROR; - // Solve the transaction r = pakfire_transaction_solve(transaction, 0, NULL); if (r)