Dear dpkg team,

This is a new aspect of the well-known "a conffile that vanishes across
an upgrade can fool dpkg" bug.  The conffile will not only be present
after the upgrade.  Moreover, it will be left over if the package is
purged.  I guess this might already be adressed by the Ubuntu patch, but
I wanted to be sure that this part of the problem is known.  Here's an
example that shows the behavior.

Regards, Frank

Florent Rougon <[EMAIL PROTECTED]> wrote:

> [ 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



-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)


Reply via email to