From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 15:56:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C65734D5 for ; Mon, 10 Mar 2014 15:56:40 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id 9B611AB6 for ; Mon, 10 Mar 2014 15:56:39 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 36AFDCB8C94; Mon, 10 Mar 2014 10:56:39 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 10 Mar 2014 10:56:39 -0500 (CDT) Message-ID: <42043.128.135.70.2.1394466999.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <42771.128.135.70.2.1394465732.squirrel@cosmo.uchicago.edu> Date: Mon, 10 Mar 2014 10:56:39 -0500 (CDT) Subject: Re: FreeBSD 10.0: which packafe the file comes with? From: "Valeri Galtsev" To: "Anton Sayetsky" User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: galtsev@kicp.uchicago.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 15:56:40 -0000 Hi Anton, I overlooked pkg which -o /usr/local/libexec/cups/backend/lpd somehow... Thanks a lot! Valeri On Mon, March 10, 2014 10:42 am, Anton Sayetsky wrote: > 2014-03-10 17:35 GMT+02:00 Valeri Galtsev : >> Dear All, >> >> With introduction in FreeBSD new pkg utility I can not figure out one >> thing (maybe more that one thing...): how to find out which package some >> particular file came with. In other words, an equivalent of the >> following >> command we used on FreBSD 9 and earlier: >> >> pkg_info -W /usr/local/libexec/cups/backend/lpd >> >> - which would give the name of the package the file >> /usr/local/libexec/cups/backend/lpd came with. How do we do the same on >> FreeBSD 10? > man pkg-which > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++