I wish to work with the dpkg system (potato/1.6.14) on an up-close-and-personal level. Especially, I wish to work with /var/lib/dpkg and related files. I have the source for dpkg, but I find it most unreadable. The man-pages describe the usage of the programs, not the usage of the files those programs use. Please, point me toward the development documentation and official specifications for the dpkg system.