From owner-freebsd-questions@freebsd.org Mon Oct 24 05:50:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E213AC1FE16 for ; Mon, 24 Oct 2016 05:50:05 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8BE10A for ; Mon, 24 Oct 2016 05:50:04 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-158-122.bras1.adl6.internode.on.net (HELO leader.local) ([118.210.158.122]) by ipmail07.adl2.internode.on.net with ESMTP; 24 Oct 2016 16:13:54 +1030 Subject: Re: pkg and reverse dependencies To: David Newman , freebsd-questions@freebsd.org References: <3109508c-88e5-5d9c-0f7c-f3279e66eb3b@networktest.com> <5a414a88-3e37-1c5c-1513-54b0dc601230@networktest.com> From: Shane Ambler Message-ID: Date: Mon, 24 Oct 2016 16:13:51 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <5a414a88-3e37-1c5c-1513-54b0dc601230@networktest.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 05:50:06 -0000 On 24/10/2016 12:06, David Newman wrote: > On 10/23/16 6:31 PM, David Newman wrote: >> On 10/23/16 6:17 PM, Adam Vande More wrote: >>> -r, >> >> My understanding is that -r returns dependencies of an installed package >> -- i.e., which packages are required for that package to work. >> >> I am asking about the opposite: Which other packages depend on this >> package. This info was available from the old 'pkg_info -R' command. >> >>> man pkg-info >> >> No manual entry for pkg-info >> >> And new systems no longer include the old pkg_info command. Did you mean >> something else? pkg_info is the old command - man pkg-info should give the man page for the info command given to pkg - as in "pkg info php56" https://www.freebsd.org/cgi/man.cgi?query=pkg-info&format=html > Arrrgh. Please ignore all this. 'pkg info -r' is exactly right. > If you need it -d is the opposite to -r -- FreeBSD - the place to B...Software Developing Shane Ambler