Bug#65432: tetex-bin: kpsewhich cannot find file fmtutil.cnf
> #62017: tetex-bin: fmtutil( and texlinks): config file `fmtutil.cnf' not found; 62 days old
Can you please verify that /var/lib/texmf/web2c/fmtutil.cnf is a link
to /etc/texmf/fmtutil.cnf and that /etc/texmf/fmtutil.cnf exists.
First:
/etc/texmf/fmtutil.cnf exists:
# ls -al /etc/texmf/fmtutil.cnf
-rwxrwxrwx 1 root root 2168 Apr 30 07:19 /etc/texmf/fmtutil.cnf
but:
/var/lib/texmf/web2c/fmtutil.cnf does not exist
# ls -al /var/lib/texmf/web2c/fmtutil.cnf
ls: /var/lib/texmf/web2c/fmtutil.cnf: No such file or directory
Interestingly, /var/lib/texmf/web2c/ does not exist either:
# ls -l /var/lib/texmf
total 83
-rw-r--r-- 1 root root 22193 Jun 7 1999 helpindex.html
-rw-r--r-- 1 root root 59775 Jun 9 12:30 ls-R
Finally, I created /var/lib/texmf/web2c/ and linked
/var/lib/texmf/web2c/fmtutil.cnf to /etc/texmf/fmtutil.cnf:
# mkdir -p /var/lib/texmf/web2c/
# ln -s /etc/texmf/fmtutil.cnf /var/lib/texmf/web2c/fmtutil.cnf
# ls -al /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 22 Jun 11 13:59 /var/lib/texmf/web2c/fmtutil.cnf -> /etc/texmf/fmtutil.cnf
And then tried to install tetex-bin again. No success;
# apt-get install tetex-bin
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
tetex-bin
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/2656kB of archives. After unpacking 6040kB will be used.
Selecting previously deselected package tetex-bin.
(Reading database ... 87097 files and directories currently installed.)
Unpacking tetex-bin (from .../tetex-bin_1.0.6-7_i386.deb) ...
checking for old tex packages ... none.
Setting up tetex-bin (1.0.6-7) ...
mktexlsr: Done.
Error: kpsewhich cannot find file fmtutil.cnf
dpkg: error processing tetex-bin (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply to: