]> git.ipfire.org Git - pakfire.git/commitdiff
snapshots: Don't try to sync installed packages
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 18:51:09 +0000 (18:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 18:51:09 +0000 (18:51 +0000)
There should never be any installed packages here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/snapshot.c

index ebac180a0bb188a42592880f8a22b92e20d0e62b..817c45b6e7c0d30d12f0c1b67d0fdc842510d68c 100644 (file)
@@ -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)