free dpkg db so we can run this query multiple times