I finally got around to learning python...great language btw, and I decided to try a small project that took me a half a day, but probably would have taken some guru 5 minutes flat, as a test program. What this does is parse /var/lib/pacman/local/*/files and check to make sure that everything it finds listed still exists on your system, it outputs anything that it didnt manage to read, and the package that owns it.
Please try it out and send comments/tips/criticisms/etc..
The suggestion box only accepts patches.
Seems to work here, could be useful
If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
- John Cage
Looks alright to me... you probably didn't have to use os.walk though. An os.listdir would have been just as good (you already know that there will be a files file in each directory).
Alternately, you could look at the pacman module that's included with namcap. It can load package information from places like /var/lib/pacman/local.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal