1

I just installed the TexLive 2012 from the Ubuntu Repository. After installation, I try compiling and it gives the following error:

Unable to find pdftex.fmt. 

Please let me know what is the problem?

Now I uninstalled and purged the entire latex distro, and now it is leaving packages unconfigured.

What would be the problem and what is the solution?

2
  • Have tou installed pdftex and pdflatex? – Manuel Jun 3 '13 at 10:27
  • I did sudo apt-get install texlive-full – Indian Jun 4 '13 at 6:16
1

Try this.

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo texconfig rehash

which should gives

mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.

Source:Lindqvist

1
  • Did that already. Incidentally, I actually did all that and then asked this question. – Indian Jun 4 '13 at 6:17
0

It appears from various documentations I found on the net that Texlive 2012 assumes no previous installations of TexLive packages for Ubuntu. Thus it is imperative to completely remove TexLive from a system, before installing a fresh TexLive distro.

The instructions for completely removing / purging texlive are given in this page. Inspite of that my fresh installation was not working. Therefore I did the following, after completely following the instructions on the above link:

sudo apt-get purge tex-common
sudo apt-get install tex-common 

and after this one can install TexLive again from the Ubuntu 13.04 distro.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.