I am looking for a way to find all packages that have been installed on my system according to dpkg, but don't have a matching entry in Apt. This is likely due to being installed manually from a third-party website or because it was left over from a previous upgrade and not removed. Also, just for good measure, I'd like to identify any packages that in Apt, but don't match the exact version from Apt because I have manually patched them and bumped their version number for some reason.
I would like to do it in a very programatic way without relying on output aimed for human if possible. Just grepping the output of dpkg -l, for example, means I have to exclude headers and ensure that the column doesn't get truncated or otherwise mangled. -- Loren M. Lang lor...@north-winds.org http://www.north-winds.org/ IRC: penguin359 Public Key: http://www.north-winds.org/lorenl_pubkey.asc Fingerprint: 7896 E099 9FC7 9F6C E0ED E103 222D F356 A57A 98FA
signature.asc
Description: PGP signature