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

Re: dpkg / apt equivalent to 'rpm -qf'?



On Tue, 24 Aug 2004, Thomas Adam wrote:
> On Tue, Aug 24, 2004 at 08:23:16AM -0500, John Hasler wrote:
> > Just off the top of my head I see no reason why these files could not be
> > included in the package empty and filled in by the scripts.  This would
> > identify the files as belonging to the package and also allow dpkg to
> > remove them, eliminating the need for the postrm to do so.
> 
> The overhead in doing this is stupid, and having a lot of empty files in /etc
> is just pointless.

But we could be doing that if it worked.  It doesn't. Hint: empty files, as
well as missing files, are valid states of a conffile and dpkg would act
accordingly.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: