On Tue, 12 Apr 2016 16:27:26 -0700
Rick Stevens <ricks(a)alldigital.com> wrote:
I reiterate, "dnf clean(whatever)" only cleans the current releasever.
If you are on F22, then "dnf clean packages" will only clean up those
in the F22 directory tree. The F19, F20 and F21 trees won't be touched
unless you specify the "--releasever=" option.
You're right. I just assumed they were gone after the upgrade (I
don't upgrade using the tool; usually just do a separate fresh
install). Bad assumption, it seems.
I like the other suggestion, just delete all the /var/cache/dnf
and /var/cache/yum directories, and let dnf renew whatever it needs
the next time it runs. Make sure the keepcache option is 0, and they
will stay clean. No need for the yum directories, and no need for
earlier dnf directories.