On Thu, 2016-04-14 at 12:51 -0400, Matthew Miller wrote: > There is a thread on the users' list * dealing with the issue that > after an upgrade, there's no non-obscure way to clean cached metadata > (or packages, even) from previous releases. The thread discussses DNF > and Yum, but it may apply to PackageKit/Software as well; I'm not > sure > offhand. > > It seems like we should handle this in some way on upgrade. My first > thought was to make it an RFE dnf-plugin-system-upgrade. But, is that > the right place? Maybe some time-base system should prune metadata > associated with repositories for any earlier $releasever? (Or, > actually, maybe for any repository which does not match a current > configuration?) Or maybe a "dumb" process to sweep the cache based on > age alone would do? > If you put it in the dnf plugin, you leave out the new graphical upgrade that is coming in F24. It is also not really dnf-specific at all. Other apps or services may leave stuff behind in /var/cache too. One radical, but simple approach would be to simply rm -rf /var/cache after the upgrade. That would give you a system that is a bit closer to 'freshly installed' state. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx