From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 12:02:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D24216A480 for ; Mon, 5 Nov 2007 12:02:07 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E6FB713C4B5 for ; Mon, 5 Nov 2007 12:02:06 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 05 Nov 2007 12:01:57 -0000 Received: from vpn-cl-167-113.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [141.3.167.113] by mail.gmx.net (mp035) with SMTP; 05 Nov 2007 13:01:57 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1+zr31OWHezC0wRO4ziwdH943R1HcIRya+Ht1V1Tc JJTmdWdEScIhWV Message-ID: <472F0633.3000907@gmx.de> Date: Mon, 05 Nov 2007 13:01:55 +0100 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Brett Davidson References: <472E77AC.9060200@net24.co.nz> In-Reply-To: <472E77AC.9060200@net24.co.nz> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to compare what is in the ports tree with what is installed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 12:02:07 -0000 Brett Davidson wrote: > ie. If I had a particular version of the ports tree on a server, how > could I check to see if any of the programs in that tree were actually > installed? > > Is there a simple command or sequence of commands to do this? > # pkg_version -Iql\=