Hi... I was just wondering what would be considered the most robust and efficient way to query the set of installed packages on a system. I noticed that debsums does so by parsing /var/lib/dpkg/status; it also seemed possible by listening to "dpkg -l". Since I'm working in Python, dpkg-python sprang to mind, but after a brief examination it didn't appear to be a very accessible body of code. Suggestions? -- Peter Eckersley http://www.cs.mu.oz.au/~pde (pde@cs.mu.oz.au) TLI: http://www.computerbank.org.au <~~~~.sig temporarily conservative pending divine intervention~~~~> GPG fingerprint: 30BF 6A78 2013 DCFA 5985 E255 9D31 4A9A 7574 65BC
Attachment:
pgpSx9SX3CS45.pgp
Description: PGP signature