Now I am not sure what to do. I want to delete unnecessary files. But here my knowledge of the filesystem ends. Probably a stupid question, but I am going to ask anyway; can I delete /var/cache/PackageKit, or will that ruin my system? You're probably using "dnf" to update packages rather than rebooting and letting PackageKit do the work. When you do that, PackageKit will download the updates and never remove them. Updates are only removed when they're applied.
Your guess is right; I use "dnf" to update packages. When from now on I start using PackageKit as the tool to update the packages, will that eventually clean up my /var/cache/PackageKit?
On 11/13/2016 03:50 AM, Peter Lesterhuis wrote:
When from now on I start using PackageKit as the tool to update the packages, will that eventually clean up my /var/cache/PackageKit?
Yes, it will remove packages after they are applied.
On 11/13/2016 09:01 AM, Gordon Messmer wrote:
On 11/13/2016 03:50 AM, Peter Lesterhuis wrote:
When from now on I start using PackageKit as the tool to update the packages, will that eventually clean up my /var/cache/PackageKit?
Yes, it will remove packages after they are applied.
At this point PackageKit will only remove the packages that it installs. If there are two updates and you don't run it until after the second one, then the first package will still hang around. And since you haven't been using it up to now, you should clear out the cache to remove all the old packages and get a lot of space back.