On Mon, Sep 26, 2005 at 08:43:38PM +0200, Frank Kьster wrote: > Anton Zinoviev <[EMAIL PROTECTED]> wrote: > > > Do you think that this bug is due to misbehaviour of dpkg? True, > > 01tetex.cnf is a configuration file, but I hadn't edited it so it had > > to be removed during the downgrading. > > No, dpkg won't remove unused configuration files upon upgrading, and it > won't do so upon downgrading, either. For the upgrading case, the > maintainer scripts has to take care - rename the file in preinst, take > over settings, moving out of the way or whatever. For the downgrading > case, we don't provide any support. > > dpkg will *only* remove a file when the package is purged.
Yes. My point was that the file was not changed by the user so keeping it is evil. If dpkg doesn't ask me for a permission to change the contents of an unchanged conffile then it logical to also remove it when it does not exist in the upgraded/downgraded package any more. Anton Zinoviev -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

