I moved pkgcache.bin and srcpkgcache.bin out of /var/cache/apt-index- watcher, and the CPU spikes vanished. The files were replaced with newer copies, and the new copies had the exact same md5sum as the old ones I moved out.
So I'm thinking that one could run: $ sudo touch /var/cache/apt-index-watcher/* but if that doesn't work, use rm instead of touch. I glanced at the source code and it looked complex so I gave up. My total shot in the dark based on strace output is that something's checking a timestamp. If it sees the timestamp doesn't match the apt database, it does some expensive operation with the two files to determine whether or not update scripts should be run. This is fine, but it should adjust the modified timestamp on the files after doing the expensive operation. I too am using kubuntu 6.10, apt-index-watcher is at 0.3.9ubuntu5. I have never run adept, I use aptitude exclusively. -- apt-index-watcher uses way too much system ressources https://launchpad.net/bugs/64531 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs