LaTeX Error: Cannot open log file; did you run LaTeX?

Includes PGF, TikZ, PSTricks, and platforms/distributions: Kile, TeXstudio, TeXmaker, TeXnicCenter, MiKTeX, LyX
Post Reply
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5334
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#1

I encountered this error "Cannot open log file; did you run LaTeX?" message which seems to be an issue with one of the repositories registered with apt.

As a drastic measure, you can solve this problem by uninstalling all the TeX packages and do a fresh install.

To uninstall TeX packages, purge the tex-common package and then auto remove the unnecessary packages:

  1. $sudo apt-get purge tex-common
  2. $sudo apt-get autoremove


Thereafter do a fresh LaTeX install:
  1. $sudo apt-get install texlive
  2. $sudo apt-get install texlive-latex-extra


If you encounter the error "eqnarray.sty not found" download eqnarray.sty and put this file in your latex files directory.

This solution has been tested under Ubuntu Linux 18.04 LTS.
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
Post Reply

Return to “LaTeX and MathJax”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests