Brian Foster wrote:
> I want to compare the packages installed on A with those
> installed on B:
> + what does A have that B doesn't?
> + what does B have that A doesn't?
> + what do both have, but _different_ versions?
dpkg -l > list.$machine on both, diff?
> maybe related, I would also like to verify, or at least
> make a sensible guess (keeping in mind I'm not root),
> whether or not a package is installed correctly.
> (ATM, it's permissions that I think are fscked up.)
That is probably a bit more tricky. The first column of output from dpkg
will tell you whether dpkg considers the package to be
installed/uninstalled/many other states. You could always attempt
running find / on both machines and comparing the perms. Seems like a
lot of pain though.
"You are technically correct, the best kind of correct."
-- Bureaucrat 1.0, Futurama
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!