Re: apt-cache (was as86 ...)
From: Matthew Guenther <firstname.lastname@example.org>
Subject: Re: apt-cache (was as86 ...)
Date: Thu, 6 Jul 2000 22:05:48 -0700
> On Fri, Jul 07, 2000 at 08:36:23AM +0900, email@example.com wrote:
> > as a side note, does anyone have a fool-proof way of determining which
> > package a file on a given system "belongs" to? typically, i grep
> > among /var/lib/dpkg/info/*.list, but i don't think this will turn up
> > files that are created during the installation process (as compared to
> > files that are included inside of debian packages that just get
> > unpacked).
> dpkg -S <filename>
> should do the trick (works for me :-).
does this really work for generated files? can you think of a good
example that demonstrates that it works for at least one such file?
dpkg -S /etc/X11/XF86Config
give for you?
dpkg: /etc/X11/XF86Config not found.