Use new Cache class for dpkg cache
commitb799b5d5400e2af4b68416c28e80583588c8d9c1
authorThomas Leonard <talex5@gmail.com>
Sun, 2 May 2010 17:57:37 +0000 (2 18:57 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 2 May 2010 20:24:45 +0000 (2 21:24 +0100)
treed7fc99d1b22c57d2cc1ebe066d076793b5e00ee9
parent4f937647610e6644625f0202928042c1d08c2ec4
Use new Cache class for dpkg cache

Also, only include "installed" packages. Previously, we counted a package that
had been installed and then uninstalled as "installed".
tests/dpkg/dpkg-query
tests/testdistro.py
zeroinstall/injector/distro.py