On Sat, 29 Jul 2000, Callum Lerwick wrote:
Neat dpkg tricks to know:
dpkg -l                     # What you're asking for
dpkg -L packagename         # List files owned by an installed package
dpkg --contents package.deb # List files in a given deb
dpkg -S file/dir            # Find out what that mysterious file belongs to...
dpkg -C                     # Verify all packages. Good for discovering
                              what to fix if you have packages with
                              inst/rm scripts that misbehave, or if dpkg
                              gets interrupted
And those are just the ones that directly correspond to the rpm options
that Callum wrote :)
Here's some more:
dpkg --configure --pending  # Configure all unconfigured packages (to fix
                              if dpkg gets interrupted)
dpkg -p packagename         # Show the description of a package
dpkg -s packagename         # Show the install status of a package
dpkg --info package.deb     # Show the description of a package file
And I won't even start on APT. :)
Pacem in Terris / Mir / Shanti / Salaam / Heiwa
Kevin R. Bullock
---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org