Re: Bug#79213: no texmf.cnf file: cannot install tetex on up-to-date woody
Hi Christoph,
I did try to reinstall tetex-bin... but this did not work. i completely removed tetex-base, tetex-bin tetex-lib and tetex-extra from my system and reinstalled them.
My disk is not full. If i only unpack tetex-bin (dpkg --unpack tetex-bin_1.0.7+200000807-5_i386.deb) i get the texmf.cnf.dpkg-new files, but after configuring they are gone. Here's a piece of output.
equalizer:/var/cache/apt/archives# dpkg --unpack tetex-bin_1.0.7+20000807-5_i386
.deb
^[(Reading database ... 32503 files and directories currently installed.)
Preparing to replace tetex-bin 1.0.7+20000807-5 (using tetex-bin_1.0.7+20000807-
5_i386.deb) ...
Unpacking replacement tetex-bin ...
equalizer:/var/cache/apt/archives# ls -alF /etc/texmf/
total 35
drwxr-xr-x 4 root root 1024 Dec 10 16:08 ./
drwxr-xr-x 65 root root 5120 Dec 10 14:23 ../
drwxr-xr-x 2 root root 3072 Dec 10 00:54 dvips/
-rw-r--r-- 1 root root 2725 Oct 2 17:38 fmtutil.cnf.dpkg-new
-rw-r--r-- 1 root root 635 Oct 2 17:38 mktex.cnf.dpkg-new
drwxr-xr-x 2 root root 1024 Dec 10 00:54 pdftex/
-rw-r--r-- 1 root root 19620 Oct 2 17:38 texmf.cnf.dpkg-new
equalizer:/var/cache/apt/archives# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 1484386 1301315 106361 93% /
/dev/hda1 2597400 2492992 104408 96% /dos
stereo:/mp3 488038 283970 178868 62% /mnt
equalizer:/var/cache/apt/archives# dpkg --configure tetex-bin
Setting up tetex-bin (1.0.7+20000807-5) ...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
/usr/bin/texconfig: No $TEXMFMAIN in texmf.cnf file.
/usr/bin/texconfig: set TEXMFCNF variable to the directory where teTeX's texmf.c
nf file is in.
dpkg: error processing tetex-bin (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tetex-bin
equalizer:/var/cache/apt/archives# ls -alF /etc/texmf/
total 10
drwxr-xr-x 4 root root 1024 Dec 10 16:18 ./
drwxr-xr-x 65 root root 5120 Dec 10 14:23 ../
drwxr-xr-x 2 root root 3072 Dec 10 00:54 dvips/
drwxr-xr-x 2 root root 1024 Dec 10 00:54 pdftex/
equalizer:/var/cache/apt/archives#
I am a long time Debian GNU user and really can't figure this out. I've looked in /var/lib/dpkg/info/tetex-bin.preinst and .postinst and /usr/bin/texconfig but didn't really understand these scripts.
You can always ask me more question, i hope you can help me out,
greets,
Sander
On Sun, Dec 10, 2000 at 02:41:26PM +0100, Christoph Martin wrote:
> tags 79213 +moreinfo
> thanks
...
> May it have been, that your disk was full, so that the confiles could
> not be written?
>
> What happens if you try to reinstall tetex-bin?
>
> C
Reply to: