FreeBSD 10.0: which packafe the file comes with?

Valeri Galtsev galtsev at kicp.uchicago.edu
Mon Mar 10 15:56:40 UTC 2014


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 <galtsev at kicp.uchicago.edu>:
>> 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
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list