]> git.ipfire.org Git - pakfire.git/commit
transactions: Major rewrite of step generation
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Sep 2023 10:40:09 +0000 (10:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Sep 2023 10:40:09 +0000 (10:40 +0000)
commitde789314aeff1b8bf1fa32b9125c37a36badd288
tree5d526aed9b54219187f3bf67f72d2c8f038bfb89
parent7d1ff1c03b1cf5bb79cf43169ed8b1155f53e2f1
transactions: Major rewrite of step generation

When we extract from libsolv what steps we need to perform in order to
apply the changes to our system, there was a problem that when updating
packages, the previous version was not properly removed from the
database.

This has now been fixed by adding additional steps which are passive and
will remove the left-over metadata.

This should hopefully make the entire process more robust and easier to
handle in the code as each step has one simple job to do.

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