diff --git a/src/txnupd.cpp b/src/txnupd.cpp index c613e68..477d1f0 100644 --- a/src/txnupd.cpp +++ b/src/txnupd.cpp @@ -134,6 +134,11 @@ static bool setupTransactionalUpdate(PluginHandle * handle) { auto transactionRoot = handle->transaction.getRoot(); dnf_context_set_install_root(handle->context, transactionRoot.c_str()); + /* Disable SWDB as it currently causes crashes with transactional updates, + * and it is not particularly useful for our case anyway. + */ + dnf_context_set_write_history (handle->context, FALSE); + /* Mark as being in the transactional update mode, so that * other functions using the handle can do the right thing later. */