My disk is full and I found that PackageKit uses more than 12GB in cache folder. So I found that I can delete the cached files. I used the following command
[unix@localhost ~]$ sudo pkcon -c 8000000 refresh
Refreshing cache [=========================]
Loading cache [=========================]
Downloading repository information[=========================]
Finished [=========================] Fatal error: Error when getting information for file “/var/cache/PackageKit/28/metadata
/phracek-PyCharm/repodata``/36899dd8cb609ee8604863268813e848e6d48b2448bad93a4037e14dcad30dcd-appstream.xml”: No such
file or directory
But I have this error about missing files and folders. Could some one help me to fix it?