Re: Etch frozen! / Change to the default priority for configuration snippets
Frank Küster <frank@debian.org> wrote:
> Oh, not listed as a conffile? That means it won't even be removed upon
> purge?
Exactly (see the transcript below).
> In this case, the maintainer scripts need to remove it, anyway, and
> one can as well do that upon upgrade.
Yes.
> I only read two of the dpkg bug reports about this, and it seems this
> aspect of the problem is not treated there.
Hmmm.
[ Starting point: lmodern 1.00-3 from sid is installed. ]
# ll /etc/texmf/updmap.d
total 16
-rw-r--r-- 1 root root 2787 2006-10-14 19:30 00updmap.cfg
-rw-r--r-- 1 root root 1681 2006-10-07 23:16 10lmodern.cfg
-rw-r--r-- 1 root root 2623 2006-07-20 12:59 10tetex-base.cfg
-rw-r--r-- 1 root root 1314 2006-07-20 12:59 20tetex-extra.cfg
[ The following .deb contains lmodern 1.00-3 rebuilt with tex-common
0.42; therefore, it is *not* the same as the official 1.00-3. ]
# dpkg -i ~flo/debian/lmodern/test2/lmodern_1.00-3_all.deb
(Reading database ... 135646 files and directories currently installed.)
Preparing to replace lmodern 1.00-3 (using .../test2/lmodern_1.00-3_all.deb) ...
Unpacking replacement lmodern ...
Setting up lmodern (1.00-3) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
[ Now, we have both 10lmodern.cfg and 20lmodern.cfg under
/etc/texmf/updmap.d/... ]
# ll /etc/texmf/updmap.d
total 20
-rw-r--r-- 1 root root 2787 2006-10-14 19:30 00updmap.cfg
-rw-r--r-- 1 root root 1681 2006-10-07 23:16 10lmodern.cfg
-rw-r--r-- 1 root root 2623 2006-07-20 12:59 10tetex-base.cfg
-rw-r--r-- 1 root root 1681 2006-12-11 19:13 20lmodern.cfg
-rw-r--r-- 1 root root 1314 2006-07-20 12:59 20tetex-extra.cfg
# dpkg -P lmodern
(Reading database ... 135647 files and directories currently installed.)
Removing lmodern ...
Running 'mktexlsr /usr/share/texmf /var/lib/texmf'.
This may take some time... done.
Running 'updmap-sys'.
This may take some time... done.
Purging configuration files for lmodern ...
[ And even after purging, the old conffile 10lmodern.cfg from the
official 1.00-3 version is left over. Baaad. ]
# ll /etc/texmf/updmap.d
total 16
-rw-r--r-- 1 root root 2787 2006-10-14 19:30 00updmap.cfg
-rw-r--r-- 1 root root 1681 2006-10-07 23:16 10lmodern.cfg
-rw-r--r-- 1 root root 2623 2006-07-20 12:59 10tetex-base.cfg
-rw-r--r-- 1 root root 1314 2006-07-20 12:59 20tetex-extra.cfg
--
Florent
Reply to: