After upgrading the ubuntu 13.04 to 13.10, when I try the following command in terminal
$ latex *.tex or $ pdflatex *.tex .
I give the following error with MWE:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
restricted \write18 enabled.
---! /var/lib/texmf/web2c/pdftex/pdflatex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)
Also Texmaker gives error "Could not start the command".
Meanwhile, my Texmaker configuration is as follows:

Any suggestion?
sudo fmtutil-sys --all. I vaguely remember needing to do that once after an update. – jon Oct 24 '13 at 20:35latex small2estill gives you the same exact error you first described, right? Did you rebuild the formats withfmtutil-sysand did it run without any errors? – jon Oct 24 '13 at 20:51DIFFSEARCHPATH=/etc/texmf pacdiff && fmtutil-sys --allas root – jens_bo Oct 24 '13 at 20:51but not sure if it helps
– jens_bo Oct 24 '13 at 21:04pacdiffis not for Ubuntu. Are you using the Debian/Ubuntu version of TeX Live (viaapt-getor the software centre) or installing it yourself? – jon Oct 24 '13 at 21:05fmtutil(rather thanfmtutil-sys); can you runsudo fmtutil --alland then, if that command works with no errors, try doingpdflatex small2e? – jon Oct 24 '13 at 21:29sudo apt-get purge texlive*andsudo apt-get autoclean. Then reinstalling TeX Live, but from here. And definitely don't go back to Windows! :) – jon Oct 24 '13 at 21:37