From owner-freebsd-questions Thu Dec 12 10:31:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 891FB37B401 for ; Thu, 12 Dec 2002 10:31:17 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274BD43EC2 for ; Thu, 12 Dec 2002 10:31:17 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-032dcwashp0262.dialsprint.net ([65.179.73.8] helo=moo.holy.cow) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18MY79-0003O4-00; Thu, 12 Dec 2002 10:31:15 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id E81B4B031; Thu, 12 Dec 2002 13:34:07 -0500 (EST) Date: Thu, 12 Dec 2002 13:34:07 -0500 From: parv To: Mark-Nathaniel Weisman Cc: fbsd Subject: Re: Installed Packages? Message-ID: <20021212183407.GA12023@moo.holy.cow> Mail-Followup-To: Mark-Nathaniel Weisman , fbsd References: <20021212180321.GA11246@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021212180321.GA11246@moo.holy.cow> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20021212180321.GA11246@moo.holy.cow>, wrote parv thusly... > > in message , > wrote Mark-Nathaniel Weisman thusly... > > > > Is there a command that I can check to see if a particular package was > > installed ... the way it was supposed to? ... > # given a package name, see if files exists > # if they do not, ls will complain; only errors will be > # shown > pkg_info -L | xargs ls -l > /dev/null more appropriate would be... # - w/ -x pkg_info(1) option, a pattern (instead of complete # name) can be specifed # # - the more important addition is of egrep(1) to remove unwanted # output of pkg_info(1); otherwise ls(1) would complain for # obvious reasons # pkg_info -L -x | \ egrep -v '^(Info.*:|Files|$)' | xargs ls -l >/dev/null - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message