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

Bug#334613: [SPAM?]: Bug#334613: tetex-bin: same problem when upgrade to 3.0.10



Hilmar Preusse <hille42@web.de> wrote:

> In preinst we move the old 00tetex.cnf to 01tetex.cnf. At any time
> dpkg comes along and finds out, that 01tetex.cnf has been changed (as
> it differs from that one in the package).

It's ucf-managed:

$ grep fmt.d /var/lib/ucf/hashfile
757459dda86e1bd31e68dacbba9b422d  /etc/texmf/fmt.d/01tetex.cnf

> If the user now refuses to
> replace the local version by that one from the maint (which is the
> default) fmtutil now starts creating formats with the old
> configuration. ---> *bamm*

That's how it goes, live is hard, but because of ucf it will only happen
if the user *has* changed the conffile.  If you refuse to accept new
maintainer's versions, or install noninteractively, you should
investigate the conffiles before filing a bug.

> If you never touched 00tetex.cnf simply overwriting 01tetex.cnf by
> 01tetex.cnf.dpkg-dist should fix the problem.

If he'd never touched 00tetex.cnf, ucf would know the old version and
not ask at all, but simply overwrite.  Except if the file already
existed in woody; we don't have an old md5sum for woody versions.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: