Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

My TeXLive installation is corrupt (mdframed supposed to be installed, but it is not).

Running update with the tlmgr, fails with

regenerating fmtutil.cnf in C:/texlive/2011/texmf-var
running fmtutil-sys --no-error-if-no-format --byengine pdftex ...

fmtutil-sys --no-error-if-no-format --byengine pdftex failed (status 23), output:
fatal: memory exhausted (xmalloc of 1840000008 bytes).
Running: "C:\texlive\2011\bin\win32\pdftex" --ini --jobname=amstex --progname=amstex -translate-file=cp227.tcx *amstex.ini <nul

The file amstex.fmt was not created due to some errors.
See the log file C:/texlive/2011/texmf-var/web2c/pdftex/amstex.log for details.

I have no idea what to do. Deleted TeXLive from disk and reinstall?

EDIT: I reinstalled texlive, but mdframed.sty ist still missing.

share|improve this question
3  
The simple suggestion here is: "Yes." I don't even think you have to delete the original TeX Live. You could just overwrite it with the existing one if it is the same version. If not, then I would suggest deleting it. Why? Because there may be duplicate filenames in different locations. –  Werner Jan 11 '12 at 19:28
    
I recently had an issue with tlmgr failing to update and I had to reinstall, so I guess it is not that uncommon. Perhaps try tlmgr update --self --all first and see if that fixes it. –  Peter Grill Jan 11 '12 at 21:59
    
I checked that mdframed.sty has been removed from TL svn, probably by mistake. Please report that to the TL mailing list. –  Tomek Jan 12 '12 at 23:04
    
@Tomek: I had a discussion with R. Kotucha about that topic and he told me that a new package of mdframed is already on ctan and soon again in TL. The error probably came from mdframed itself. –  Matthias Pospiech Jan 14 '12 at 7:57
add comment

1 Answer

up vote 6 down vote accepted

I would start with installation check:

tlmgr check all

You can additionally check for cues the amstex.log file that was mentioned in the error message.

Once you know which packages are broken, you can reinstall only the affected parts with:

tlmgr install --reinstall package1 package2 ...

Alternatively, if you don't want to spend time investigating, you can reinstall everything from scratch, but then you learn nothing.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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