6

Latex work fine till I do the last update today.

When compiling a text, document, I have an error :

article.cls not found

Samething for book and report class.

Any idea ?

Thanks.

Sara
  • 61
  • Did you compile mid-update? – Werner May 22 '14 at 03:52
  • What do you mean by mid-update – Sara May 22 '14 at 03:54
  • 1
    While MiKTeX is updating, if you compile, the hash file is being updated, which will make nothing work. Perhaps, rerun the Refresh FNDB from the MiKTeX Package Manager menu and try again after it is complete. – Werner May 22 '14 at 03:56
  • I Refresh FNDB and still not work. I did not compile during the update. – Sara May 22 '14 at 03:59
  • My magic 8-ball says: I don't know; we cannot reproduce; perhaps re-install MiKTeX? – Werner May 22 '14 at 04:09
  • extracting files from latex-base.tar.lzma... pdflatex.EXE: Permission denied: C:\Program Files (x86)\MiKTeX 2.9\doc/latex/base/00readme.txt pdflatex.EXE: Data: C:\Program Files (x86)\MiKTeX 2.9\doc/latex/base/00readme.txt ======================================================================

    ! LaTeX Error: File `article.cls' not found.

    Type X to quit or to proceed, or enter new name. (Default extension: cls)

    Enter file name:

    – Sara May 22 '14 at 04:09
  • HWerner, have you done the last update (May 21th) – Sara May 22 '14 at 04:10
  • Nope. I run on TeX Live (also on Windows). – Werner May 22 '14 at 04:11
  • Any idea please ? – Sara May 22 '14 at 04:28
  • I cannot reproduce the problem, therefore I don't know how to fix it. – Werner May 22 '14 at 04:29
  • I suppose that the update fails with setting the wrong read/write permissions. –  May 22 '14 at 05:35
  • Herbert, Do you know how to fix that ? Thanks. – Sara May 22 '14 at 05:39
  • I am a Linux user. I have no idea how to fix it with windows. Did you run the update on Windows as user or administrator? –  May 22 '14 at 06:08
  • It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The StackExchange staff can merge them together for you. – Werner May 22 '14 at 06:50
  • Open miktex settings go to the tab root, check "show miktex maintained roots". Is your main installation root in the list? – Ulrike Fischer May 22 '14 at 07:44
  • 4
    This question appears to be off-topic because a re-install resolved the problem. – Werner May 22 '14 at 20:16

2 Answers2

2

It's not exactly the same: it just happened to me but it did not seem to be a problem with a .tpm file. Actually, for some reason, last update deleted the ltxbase package. So it was highly unlikely you'd be able to compile whatever.

However, ltxbase.tar.lzma still exists in MiKTeX repository. What I did was to download it from, say, Dante. Then I untar-lzma'ed the file (7-zip can do it), resulting in a texmf directory. All I had to do was to copy the contents of this directory at the root of MiKTeX 2.9 and refresh the FNDB via MiKTeX Settings.

Bernard
  • 271,350
0

the problem is an error in miktex, is equal to the error given in MikTeX problem after last update.

happens to me and it was the same for the update.

  • If it's the same, then we can close it as a duplicate, right? – Werner May 22 '14 at 07:02
  • 1
    @Werner: It doesn't sound as the same error. The error yesterday affected the package manager and gave a parsing error. It didn't affected the file search. – Ulrike Fischer May 22 '14 at 08:17