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:

![enter image description here](https://i.stack.imgur.com/2pIvK.png)

Any suggestion?