How to avoid PackageKit consuming lots of CPU and RAM on Kubuntu 14.04



After upgrading my laptop from Kubuntu 12.04 LTS to 14.04 LTS, I noticed that the laptop runs hotter than usual.

Upon investigating further, I found that PackageKit was the process that was consuming lots of CPU and memory.

For example, here is a sample output from htop, showing packagekitd maxing out one core, and eating up almost a quarter of the laptop's RAM:

Subscribe to RSS - RAM