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

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



John Hasler wrote:
> I wrote:
> 
>>Just off the top of my head I see no reason why these files [created by
>>maintainer scripts] 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.
> 
> 
> Thomas Adam writes:
> 
>>The overhead in doing this is stupid...
> 
> 
> A few dozen bytes in each of those few packages that need it, less any
> reduction in the postinst and postrm.
> 
> 
>>...and having a lot of empty files in /etc is just pointless.
> 
> 
> Where would any empty files come from?

In rpm, they're typically not empty - they're full of interesting and
useful comments, and potentially usable defaults.  :-)

-- 
Paul
<http://paulgear.webhop.net>
--
Did you know?  If you use two dashes followed by a space as your
signature separator, good email programs will chop them off
automatically, reducing noise in email replies.



Reply to: