5

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.

4
  • 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, 2012 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. Jan 11, 2012 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, 2012 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. Jan 14, 2012 at 7:57

1 Answer 1

8

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .