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

Bug#420393: tetex-bin: Configuration file handling is fragile



Frank Küster <frank@debian.org> wrote:

> Frans Pop <elendil@planet.nl> wrote:
>
>> When I corrected this by installing libkpathsea, I noticed this message:
>>    Setting up tetex-bin (3.0-30) ...
>>    Not replacing deleted config file /etc/texmf/fmt.d/01tetex.cnf
>>
>> Apparently the configuration script decided that this was an upgrade 
>> instead of a new install, which is not correct. I installed tetex-bin 
>> from scratch, so the config file _should_ have been installed, even if 
>> configuring the package failed at first.
>
> This looks like a bug, indeed.  

But I cannot reproduce it here.  I logged into an etch chroot, installed
tetex-base and tetex-bin's dependencies except libkpathsea4.  After
that:

root@riesling:/# dpkg -i /var/cache/apt/archives/tetex-bin_3.0-30_i386.deb 
Selecting previously deselected package tetex-bin.
(Reading database ... 17661 files and directories currently installed.)
Unpacking tetex-bin (from .../tetex-bin_3.0-30_i386.deb) ...
dpkg: dependency problems prevent configuration of tetex-bin:
 tetex-bin depends on libkpathsea4; however:
  Package libkpathsea4 is not installed.
dpkg: error processing tetex-bin (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tetex-bin
root@riesling:/# dpkg -i /var/cache/apt/archives/libkpathsea4_3.0-30_i386.deb 
Selecting previously deselected package libkpathsea4.
(Reading database ... 17996 files and directories currently installed.)
Unpacking libkpathsea4 (from .../libkpathsea4_3.0-30_i386.deb) ...
Setting up libkpathsea4 (3.0-30) ...

root@riesling:/# dpkg --configure tetex-bin
Setting up tetex-bin (3.0-30) ...

Creating config file /etc/texmf/fmt.d/01tetex.cnf with new version
Running fmtutil-sys. This may take some time... done.
Running updmap-sys. This may take some time... done.


root@riesling:/# 

AFAIK tetex-bin had this file even in sarge, but I'm not sure whether it
was ucf-managed back then.  Are you sure you had purged tetex-bin before
that, or was it maybe still in state "rc"? 

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



Reply to: