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

Re: apt-cache (was as86 ...)



From: Matthew Guenther <mguenthe@attcanada.ca>
Subject: Re: apt-cache (was as86 ...)
Date: Thu, 6 Jul 2000 22:05:48 -0700
Message-ID: <[🔎] 20000706220548.B11855@dexter>

> On Fri, Jul 07, 2000 at 08:36:23AM +0900, sen_ml@eccosys.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?

what does:

  dpkg -S /etc/X11/XF86Config

give for you?

i get:

  dpkg: /etc/X11/XF86Config not found.



Reply to: