On 07/05/2017 01:16 AM, Patrick Dupre wrote:
I have directory
/var/log/journal which seems large:
1646960
I will assume that you are using "du" and these numbers are in KB. I
recommend using the "-h" parameter to du which gives you nice "human
readable" numbers.
1.6GB for the journal doesn't seem that bad. You can change the
journald settings if you want it to keep less info.
105988 /var/cache/yum/x86_64/21/fedora/gen
Anything in /var/cache/yum should be deleted, at least if it's for
versions less than you are currently running. It's possible that
PackageKit stores some data in there, but I'm not sure.
113170 /var/cache/mock/fedora-24-x86_64/dnf_cache/updates-c4f1c95f64c2b794/packages
Looks like you've run "mock" at some point. Feel free to remove the cache.
126424 /var/cache/system-upgrade/updates/gen
This is an old upgrade directory that's not used now.
340198 /var/cache/dnf
You'll want to keep this, otherwise the next time you run dnf, it will
just download all the metadata again and you'll have the same usage.
10930952 /var/cache/PackageKit
This is where most of the space is wasted. PackageKit has an issue
where it doesn't delete old packages that were downloaded, but not
installed. Delete this. I don't use PackageKit, so I mask the service
as well, but that's up you.