TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
Installing [0960/2311, time/total: 22:33/56:42]: hfoldsty [598k]
Installing [0961/2311, time/total: 22:39/56:53]: hhtensor [167k]
Installing [0962/2311, time/total: 22:43/57:02]: histogr [95k]
./tlpkg/installer/xz/xzdec.x86_64-linux: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
untar: untarring /home/peter/texlive/2011/temp/histogr.source.tar failed (in /home/peter/texlive/2011/texmf-dist)
untarring /home/peter/texlive/2011/temp/histogr.source.tar failed, stopping install.
Installation failed.
Rerunning the installer will try to restart the installation.
Or you can restart by running the installer with:
  install-tl --profile installation.profile [EXTRA-ARGS]
Writing log file to current working directory.

Why is this happening? I can I proceed? Debian 6 64 bit, ~/home/peter/texlive/2011/ is where the installation has been directed to.

share|improve this question
Did you try again without the cache from previous attempts? – ℝaphink Sep 2 '11 at 22:08
@Raphink Without the cache? What does this mean? How do I do this? – ptrcao Sep 2 '11 at 22:17
When the installation fails and you restart it, it asks you if you wan to use the cache of the previously failed installation. Try saying no. – ℝaphink Sep 3 '11 at 5:33
Ok will try. Can you explain why doing this helps? – ptrcao Sep 3 '11 at 6:30
The error suggests that one of the archives is probably corrupted. Re-installing without the cache will download the archives again and thus get rid of the faulty archive. Another solution would be to just remove the faulty archive from the temporary directory before restarting the installation. – ℝaphink Sep 3 '11 at 6:45
up vote 5 down vote accepted

A similar case happened to me, on a machine with a bad drive (in my case, a bad NFS mount) yielding many r/w errors.

I eventually managed to install TL2011 by simply restarting the install over and over, choosing to use the cache every time, so it wouldn't download the files a second time. Each time, it progressed a little bit, until finally it had downloaded everything and proceeded with the installation.

Another solution would be to get it to download the files in another directory (or on another computer, and use a removable device). I haven't found an option for that though.

share|improve this answer

Your Answer


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.