The upgrade (via update-manager) from Ubuntu Hardy 8.04 LTS to Ubuntu Intrepid 8.10 went smoothly. I started the upgrade, went to get some lunch and it was mostly done by the time I got back. This is mostly thanks to the local mirror on our campus network.
However I noticed that for some reason it was marking the package called “texlive-fonts-recommended” for removal (apart from other packages). I went along with the suggested removal, but made a mental note of this.
I am using LaTeX quite heavily these days (I am supposedly writing a paper and my thesis). Hence I noticed immediately after the upgrade that simple LaTeX documents would not compile anymore and throw up the following error:
$ latex thesis.tex
[snip]
(/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd)
kpathsea: Running mktextfm ptmr7t
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexmf ptmr7t
! I can't find file `ptmr7t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t
Transcript written on mfput.log.
grep: ptmr7t.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t' failed to make ptmr7t.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font OT1/ptm/m/n/12=ptmr7t at 12.0pt not loadable: Metric (TFM) file not foun
d.
<to be read again>
relax
l.56 \begin{document}
? x
No pages of output.
Transcript written on thesis.log.
Clearly there was something wrong with the fonts subsystem of TeX/LaTeX. I tried to correct this by (recalling my mental note) installing the “texlive-fonts-recommended” package:
$ sudo apt-get install texlive-fonts-recommended
This fixed the problem and I am back to my thesis. Just to check, I tried removing (purging) the package, and the errors returned. Installing the package again fixed it again, as expected. This sure sounds like a bug (removal of a required package during upgrade). If more people have faced this problem, then leave a comment/ trackback here and we should file this as a bug. I don’t have the (mental) bandwidth for doing the bug-filing now, hence this informal report.
Thank you for this tip! I was just in the middle of a paper myself and was wondering why my fresh installation of Ubuntu was giving me this error when I thought that I had installed all of the required packages.
Htanks for the info, useful indeed!
Wow. I’ve got this problem too.
Thanks for share the solution.
Oh.. and after my Ubuntu upgrade the Cheese app (webcam) stopped to work too
Thanks , I solved my problem reading this page. Appreciate it!
Thanks a lot buddy!
Thank you for sharing this useful information.
I could solve this problem, thanks!
Thanks a lot!
hey man, thank you so much for this, I had already tried every package I could remember, but none did the trick. You have saved my deadline !
Thanks, you save my paper!
Thank you for sharing this tip.it solved my problem (on Hardy).
Thanks! That was very helpful!
Thanks, this just saved me some headache.
Same here. I am sure this saved a half a day of searching. Thanks.
Ubuntu 10.04, silly the recommended fonts are not installed. Your post saved hours. Thanks.
Nice hel,p in 1 minute thanks to you i solved the same problem, 10.04 kubuntu
thank you very much! I had the same problem when upgrading from 8.10 to 10.4 and your tip did solve this problem. Thanks!
thanks it worked for me, I had teh same problem also with Ubuntu 10.04.
great tip, you’re my hero for the day!
Bingo! Thanks for the help.
Thanks a lot! I’ve stuck here for a lot of time!
OMG thanks so much!
Brilliant, thanks!
[...] http://sysad.wordpress.com/2008/11/06/ubuntu-hardy-to-intrepid-upgrade-remnants/ Previous: « Ubuntu 11.04 – WordPress updates and plugins through web interface [...]
[...] sudo apt-getinstall texlive-scienceReferences:http://forum.ubuntu-fr.org/viewtopic.php?id=303542http://sysad.wordpress.com/2008/11/06/ubuntu-hardy-to-intrepid-upgrade-remnants/Jason’s ComputerScience [...]
Thanks! You are a legend. Thesis corrections back on the agenda…
You saved a good amount of time for me. Thank you.
Thanks man. It helped me.
Greetings from Finland, you also helped me (after ubuntu 10->11). Markus
Thanks!!! my texmaker is working again
Hey it can’t be said enough, thanks for posting this solution!
Thank you so much
It was really helpful.
Very useful. Thanks.
Thanks! I was trying to compile a template and it worked perfectly after I followed your tip.
This is a really a great help, especially to those who upgraded their linux versionl
thanks
Thank you very much. The error happened to me on a fresh Ubuntu 11.10 and texlive-full install. The error itself was so frustrating and meaningless. Your tip saved a lot of my time.
Had the same problem on fedora 16, thanks
however had to install sudo yum install texlive-times
thanks a lot. This saved my day.