Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transaction: Don't remove cache when no inbound action
When the `keepcache` option is turned off, the packages downloaded during a previous command should still be preserved until a subsequent successful transaction that involves inbound actions such as installation or upgrading. This assumption is based on the idea that these packages were downloaded for this purpose. As a result, temporary packages are retained even across transactions that do not involve any inbound actions. This feature is also valuable in cases where a previous transaction downloaded a substantial amount of data but did not complete correctly. In such instances, we want to rectify the system state by removing problematic packages without losing our cached data. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2237883
- Loading branch information