Clear GNOME Software download cache?

How to delete GNOME Software’s downloaded (but not applied) updates?

I was installing on a new computer, connected to Wi-Fi but forgot to turn off GNOME Software’s automatic update. Now it has downloaded a large amount of updates, presumably saved on disk. I don’t plan on using GNOME Software[1]. How to delete the downloaded updates, so they don’t permanently occupy disk space (not sure if it happens)?

  1. ↩︎

Ok so the files are in /var/cache/PackageKit/39/metadata/.../packages/, but is there a command to clear them correctly instead of manually deleting them?

pkcon refresh force -c -1

1 Like