[wellylug] dpkg --list on Ubunut

Kevin O'Riordan kfor at compsoc.com
Fri Nov 7 15:50:16 NZDT 2008


Hi Carl,

> Is it possible/safe to try running dpkg --list

Perfectly safe, but this also lists packages which have been removed
but still have config files lying about, and possibly some other
not-fully-installed packages.


  dpkg --list | egrep '^([^a-z]|ii)'	# Installed packages only.

  dpkg --list | egrep '^([^a-z]|rc)'	# Removed packages with config files remaining.


apt-show-versions is a nice tool too, but may not be present on your
system.

Cheers,
Kevin



More information about the wellylug mailing list