[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg / apt equivalent to 'rpm -qf'?



Hi folks,

What is the canonical method for determining to which package an
installed file belongs?  dpkg -S seems to be the right *sort* of thing,
but doesn't always work:

enoch:/share/download # dpkg -S /etc/apt/apt.conf.d/70debconf
debconf: /etc/apt/apt.conf.d/70debconf
enoch:/share/download # dpkg -S /etc/apt/sources.list
dpkg: /etc/apt/sources.list not found.
enoch:/share/download # dpkg -S /etc/gpm.conf
dpkg: /etc/gpm.conf not found.

-- 
Paul
<http://paulgear.webhop.net>
--
Did you know?  Most email-borne viruses use a false sender address.
Therefore you cannot track down the sender using that address.  Instead,
keep your virus scanning software up-to-date and just delete any
suspicious emails you receive.



Reply to: