Re: dpkg / apt equivalent to 'rpm -qf'?
On Tue, Aug 24, 2004 at 01:11:33PM +0100, Thomas Adam wrote:
> It's doing *exactly* what you asked of it. Remember that dpkg -S will only
> work for files that were *in* a package initially and not ones that were
> *created*. /etc/apt/sources.list is created by apt-setup from 'base-config',
> but does not reside in any package.
Geez. Try answering the question, not insulting the guy. The dpkg
man page is unclear on what -S does:
dpkg -S | --search filename-search-pattern ...
Search for a filename from installed packages.
So, is there a dpkg option that allows one to determine from which
package a file came? Or, is there some other program that can provide
this information?
Jason
Reply to: