Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2013 12:23:05 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Vice versa of =?UTF-8?Q?=27pkg=5Finfo=20-W=27?=
Message-ID:  <Pine.GSO.4.64.1301031210200.23443@sea.ntplx.net>
In-Reply-To: <4c7fa9aab51f5b62f6b2b35e6e8c03c9@mail.0x20.net>
References:  <20130102.175558.373.6@DOMY-PC> <4c7fa9aab51f5b62f6b2b35e6e8c03c9@mail.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Jan 2013, Lars Engels wrote:

> Am 02.01.2013 18:55, schrieb rank1seeker@gmail.com:
>> For example:
>> # pkg_info -W /usr/local/bin/lynx
>> /usr/local/bin/lynx was installed by package lynx-2.8.7.2,1
>> 
>> # pkg_deinstall lynx-2.8.7.2,1
>> 
>> # pkg_info -W /usr/local/bin/lynx
>> pkg_info: /usr/local/bin/lynx: file cannot be found
>> 
>> 
>> As you can figure it out, I want a reverse method, that is ...
>> If I want to have '/usr/local/bin/lynx' installed, which port
>> origin(s), would install it?
>
>
> I use porgle for that:
>
> http://www.secnetix.de/tools/porgle/porgle.py

For non-pkgng, what's wrong with pkgdb and pkg_which (portupgrade)?

   # pkgdb -o `pkg_which /usr/local/bin/foo`

And for pkgng:

   # pkg which -o /usr/local/bin/foo

Or am I missing something?

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1301031210200.23443>