[Gllug] Recommended distro

mimo mimo at restoel.net
Tue Jan 4 14:54:00 UTC 2005


Richard Jones wrote:

>On Tue, Dec 14, 2004 at 10:28:46AM +0000, Huw Lynes wrote:
>  
>
>>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
>>    
>>
>
>
>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).
>  
>
Try this:

DEBSUMS(1)                                                     User 
Commands                                                     DEBSUMS(1)

NAME
       debsums - check the MD5 sums of installed Debian packages

SYNOPSIS
       debsums [options] [package|deb] ...

DESCRIPTION
       Verify installed Debian package files against MD5 checksum lists.


mimo

>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 <sfllaw at debian.org>
>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.
>
>  
>


-- 
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050104/78785859/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list