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

Re: Init scripts as conffiles

On 2011-02-15 22:24 +0100, Boyd Stephen Smith Jr. wrote:

> On Tuesday 15 February 2011 15:16:27 Tony Houghton wrote:
>> How about I file a wishlist bug for dpkg and apt for an option similar
>> to purge but which only purges files which haven't been altered from the
>> package's default?
> From what I understand, neither APT nor dpkg know if a file has been modified 
> since it has been installed.

Well, dpkg stores the md5sum of conffiles in its database and thus knows
when they are modified, so removing unmodified conffiles would be
possible in theory.  However, the dpkg developers don't think this is a
good idea: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351900.


Reply to: