From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 16:50:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0CD8816A41C for ; Wed, 22 Jun 2005 16:50:29 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C3143D49 for ; Wed, 22 Jun 2005 16:50:28 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j5MGoRl4021826; Wed, 22 Jun 2005 11:50:27 -0500 (CDT) (envelope-from dan) Date: Wed, 22 Jun 2005 11:50:27 -0500 From: Dan Nelson To: Casey Scott Message-ID: <20050622165027.GB49171@dan.emsphone.com> References: <12654.199.181.134.212.1119458656.squirrel@mail.phantombsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12654.199.181.134.212.1119458656.squirrel@mail.phantombsd.org> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: pkg_info question 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: Wed, 22 Jun 2005 16:50:29 -0000 In the last episode (Jun 22), Casey Scott said: > Is it possible to get pkg_info, or some other command, to show what > package contains a file? > > E.g. find what package has /usr/local/bin/convert pkg_info -W /usr/local/bin/convert Or if you have portupgrade installed, "pkg_which /usr/local/bin/convert" is faster. -- Dan Nelson dnelson@allantgroup.com