<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Richard Jones wrote:
<blockquote cite="mid20041214144309.GA21645@annexia.org" type="cite">
  <pre wrap="">On Tue, Dec 14, 2004 at 10:28:46AM +0000, Huw Lynes wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">But how do you work out what a packages dependencies are? In rpm you can do:
rpm -qp --requires somelib-1.1-1.i386.rpm
And you can do the reverse:
rpm -q --whatrequires libfoo.so
    </pre>
  </blockquote>
  <pre wrap=""><!---->

apt-cache show <packagename> will show the dependencies, eg:

$ apt-cache show openoffice.org | grep -i depends
Depends: openoffice.org-debian-files (>> 1.1.2+1.1.3), openoffice.org-bin (>> 1.1.2+1.1.3), openoffice.org-l10n-en (>> 1.1.2+1.1.3) | openoffice.org-l10n-1.1.3, dictionaries-common (>= 0.10) | openoffice.org-updatedicts, ttf-opensymbol
Depends: openoffice.org-debian-files (>> 1.1.1+1.1.2rc3), openoffice.org-bin (>> 1.1.1+1.1.2rc3), openoffice.org-l10n-en (>> 1.1.1+1.1.2rc3) | openoffice.org-l10n-1.1.2, dictionaries-common (>= 0.10) | openoffice.org-updatedicts, ttf-opensymbol

Or you can use 'apt-cache depends' or 'apt-cache rdepends'.

The one thing which annoys me which you can't do with dpkg is verify a
package installation (ie. check that none of the files have been
modified).
  </pre>
</blockquote>
Try this:<br>
<br>
DEBSUMS(1)                                                     User
Commands                                                     DEBSUMS(1)<br>
<br>
NAME<br>
       debsums - check the MD5 sums of installed Debian packages<br>
<br>
SYNOPSIS<br>
       debsums [options] [package|deb] ...<br>
<br>
DESCRIPTION<br>
       Verify installed Debian package files against MD5 checksum lists.<br>
<br>
<br>
mimo<br>
<blockquote cite="mid20041214144309.GA21645@annexia.org" type="cite">
  <pre wrap="">
There are a bunch of apt-related utility tools.  They're available as
separate packages and not normally installed by default.  For example,
apt-show-versions is extremely useful.  In fact, just looking through
the list, I see:

$ apt-cache show apt-rdepends
Package: apt-rdepends
Priority: optional
Section: utils
Installed-Size: 88
Maintainer: Simon Law <a class="moz-txt-link-rfc2396E" href="mailto:sfllaw@debian.org"><sfllaw@debian.org></a>
Architecture: all
Version: 1.2.0-2
Depends: perl, libapt-pkg-perl (>= 0.1.11)
Suggests: springgraph | graphviz
Filename: pool/main/a/apt-rdepends/apt-rdepends_1.2.0-2_all.deb
Size: 12818
MD5sum: df5c459a6dc6218694e594a510268d5b
Description: Recursively lists package dependencies
 This utility can recursively list package dependencies, either forwards
 or in reverse.  It also lists forward build-dependencies.  The output
 format closely resembles that of `apt-cache depends`.  As well, it can
 generate .dot graphs, much like apt-cache in dotty mode.

Rich.

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Please note that this account is being filtered using anti UCE systems. If you send email to this account make sure that it could not be mistaken as UCE.</pre>
</body>
</html>