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

Bug#792039: latex209-bin: should be rebuilt with tex-common



Followup-For: Bug #792039
Control: found -1 25.mar.1992-16

Hi Norbert,

in the jessie->stretch upgrade log I still see a lot of these:

  Warning: Old configuration style found in /etc/texmf/fmt.d
  Warning: For now these files have been included, 
  Warning: but expect inconsistencies.
  Warning: These packages should be rebuild with tex-common.
  Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
  Warning: found file: /etc/texmf/fmt.d/25latex209.cnf

The debdiff says:

Files in second .deb but not in first
-------------------------------------
-rw-r--r--  root/root   /var/lib/tex-common/fmtutil-cnf/texmf/latex209.cnf

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   /etc/texmf/fmt.d/25latex209.cnf
-rw-r--r--  root/root   /var/lib/tex-common/fmtutil-cnf/latex209-bin.list
-rw-r--r--  root/root   DEBIAN/conffiles
-rwxr-xr-x  root/root   DEBIAN/preinst


what is probably missing is an appropriate dpkg-maintscript-helper
mv_conffile/rm_conffile call to rename/remove the old one.

Since it is no longer a conffile, there are probably no
modifications to be expected in the old one, and rm_conffile
may be the way to go.

Completely untested, but probably that's all you need:

===== 8< debian/latex209-bin.maintscript =====
rm_conffile /etc/texmf/fmt.d/25latex209.cnf 25.mar.1992-17~
===== >8 =====

In case that conffile was modified, it will be kept as
/etc/texmf/fmt.d/25latex209.cnf.dpkg-bak


Andreas


Reply to: