On Thu, 2004-02-05 at 14:34, Brad Beveridge wrote:
> How can I use the various apt commands to tell me what packages are
> installed?  

dpkg -l will tell you what you have - look for lines starting with "ii"
for packages that are really installed.

apt-cache policy <package> will tell you where a package came from, and
where it will be updated from.

dpkg -L will tell you what files are in an installed package.

debsums will check that the md5 checksums of installed files are still
valid.

apt-cache search <string> will look for packages called, or mentioning,
<string>. i.e. apt-cache search game will show most games.

apt-listchanges (when installed) will hook into your apt-get
install/upgrade process and tell you what's changed.
apt-listbugs is more appropriate for unstable machines, and lists the
outstanding bugs by connecting to the bug tracking system.

cruft looks for files in "system" locations that don't come from
packages.

chkrootkit looks for evidence of naughtiness in your binaries.

-jim

Reply via email to