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

Re: dpkg -L (was: Re: conflicts with libcap-dev)

Hamish Moffatt wrote:

> On Sat, Jan 13, 2001 at 06:58:21PM -0800, Brian Frederick Kimball wrote:
> > I think I'm beginning to understand.  I thought that -L and -c were
> > more or less the same, except that one operated on a .deb and one just
> > reported straight from the dpkg database.  Now I see that there seems to
> > be a subtle but important difference between "the contents of a package"
> > (-c) and "the files installed to your system from a package" (-L).  It
> > seems that given two package A and B that each contain /foo, if only A
> > is installed, "dpkg -L A" will list /foo.  If B is then installed with
> That's right. dpkg would need the entire Contents file to be
> able to list files in uninstalled packages.

Huh?  I didn't ask for that.  I'm just saying that by installing B with
--force-overwrite, "dpkg -L A" stops printing "/foo", and I found that
to be really confusing at first.  Sorry for not being clear.

Reply to: