Hide Forgot
Description of problem: I'd like to have a feature in dnf to not keep all packages, but be more intelligent on that. Use case: I've enabled the 'keepcache' option to be able to downgrade without another download for two reasons: 1. When running software from testing repos I sometimes want to check for regressions. 2. When running into serious regressions that break my network connection, I can still downgrade back to something that works. This use case goes wrong with 'keepcache' if there are many updates. Since installing F23 some packages have seen 10+ updates which are all lying around on my disk. I don't need more than the last two. Currently I'm having several tens of gigabytes on disk. The RFE is: Please add an option or logic to dnf to not keep all packages ever downloaded. I can think of a non-binary 'keepcache' option limiting cache to (one of) * the last 2 packages * some cache size limit * some date limit Version-Release number of selected component (if applicable): dnf-1.1.6-2.fc23.noarch How reproducible: always
the cache size limit could be used with integration of Cashe project.
Yep, limiting cache size would be a good way to do this and a nice feature to have implemented anyway.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.