Subject: Re: pkg depends
To: Jeremy C. Reed <reed@reedmedia.net>
From: Kimmo Suominen <kimmo+x+1064722502.5d3abb@suominen.com>
List: tech-pkg
Date: 09/21/2003 09:23:55
Hi!

Which version of pkgsrc/print/html2ps/Makefile did that come from?
The most recent is 

    # $NetBSD: Makefile,v 1.9 2002/09/13 06:53:41 jlam Exp $

(i.e. not changed in over a year) and it has a correct looking
dependency:

    DEPENDS+=       teTeX-bin>=1.0.6:../../print/teTeX-bin

I tried your command on my system:

    beowulf:~> pkg_info -an | egrep -v 'Information fo|^$|Requires:' | sort -u | xargs pkg_info -e
    ImageMagick-5.5.7.9

Finally I also inspected all 9 revisions of Makefile, and did not
see a dependency on "teTeX-bin2" in any of them.

Maybe there was (or is) a typo in one the dependencies of html2ps.
Is html2ps the only package that has this problem?  What if you
rebuild it, will the error go away?  Could it be a corrupted db?

Cheers,
+ Kim


| From:    "Jeremy C. Reed" <reed@reedmedia.net>
| Date:    Fri, 19 Sep 2003 23:59:34 -0700
|
| On Fri, 19 Sep 2003, Nicholas Ricketts wrote:
|
| > I was wondering if there is a way to check each package and make sure that
| > all packages required by that package(dependancies) are installed. I see
| > that "pkg_info -an" will show all required packages for each package but
| > not sure how to make sure that they are installed. Any ideas??
|
| $ pkg_info -an | egrep -v 'Information fo|^$|Requires:' | sort -u | xargs pkg
| _info -e
| pkg_info: No matching pkg for teTeX-bin2>=2.0.2.
|
| (I see I found a typo in html2ps DEPENDS; I BCC'd maintainer.)
|
|    Jeremy C. Reed
|    http://bsd.reedmedia.net/
|