You are not logged in.
$pdflatex foobar
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux)
restricted \write18 enabled.
---! /var/lib/texmf/web2c/pdftex/pdflatex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)
...okay let's run
#fmtutil-sys --all
/usr/bin/fmtutil: line 395: /usr/share/texmf/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
...well the proper path would be
/usr/share/texmf-dist/texconfig/tcfmgr
according to the new texlive-core package
Guess the package needs a fix or am I missing something?!
Last edited by init0 (2013-07-03 10:05:46)
Offline
https://mailman.archlinux.org/pipermail … 33744.html
Apparently, it is a bug in pacman, see this thread: https://mailman.archlinux.org/pipermail … 25174.html
Offline
Yes, this will probably solve it.
Thank you!
Offline
I can confirm that copying the *.pacnew files in /etc/texmf over the non .pacnew files and running fmtutil --all fixes the issue.
Offline
after moving the pacnew files, "fmtutil-sys --all" as root did the job for me.
Offline
Command line solution:
pacdiff && fmtutil-sys --all
and further reference.
Last edited by rubens (2013-08-28 17:23:26)
Offline
Thanks. This did the trick. Easy and to the point.
Offline
Beware of overwritting sensible config files, like fstab (with pacdiff). I said 'yes' to all, and manually I have to restore fstab (via restoring booting system)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
This bug hit a few of my arch linux machines. None of the above fixes quite did it, so I'll just leave this bash script fix here for the next passerby:
cd /etc/texmf
for i in $(find `pwd` -name *.pacnew | grep .pacnew)
do
mv $i $(echo ${i/.pacnew/})
done
sudo fmtutil-sys --all
Offline
To let pacdiff only work in /etc/texmf (where the issues occur) and not touch other .pacnew-files: Specify the directory where pacdiff should search via the environment variable 'DIFFSEARCHPATH' (see also pacdiff -h):
DIFFSEARCHPATH=/etc/texmf pacdiff && fmtutil-sys --all
This prevents from accidentally overwrite user-modified configuration files outside /etc/texmf, like /etc/fstab, /etc/pacman.conf and all the others.
Offline
cd /etc/texmf for i in $(find `pwd` -name *.pacnew | grep .pacnew) do mv $i $(echo ${i/.pacnew/}) done sudo fmtutil-sys --all
That worked for me, but i had to change it to:
cd /etc/texmf
for a in `find . -name "*.pacnew"`; do
sudo mv $(echo ${a/.pacnew/}) $(echo ${a/.pacnew/}).mybackup;
sudo mv $a $(echo ${a/.pacnew/});
done
sudo fmtutil-sys --all
It also backup the old files...
\\Batnas
Offline
hey, i have this problem again or still and i am not able to fix it. i cant generate any pdf file from .tex.
any help?
Offline
Confirm, this message is back again. The fix mentioned above is not working anymore. Pls remove "Solved" from the main post.
Update: Worked again! I used script from the #11 post, after that everything is working as before.
Last edited by knedlyk (2013-11-26 12:21:58)
Offline
Thanks, did the job for me as well.
Offline