Subject: Re: pkg depends
To: Nicholas Ricketts <nightshade@phreaker.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/19/2003 23:59:34
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/