6

I tried today to update my install, and tlmgr does not want to cooperate:

$ tlmgr update --all
Unknown tag: runfiles si at /work/usr/texlive/2010/tlpkg/TeXLive/TLPOBJ.pm line 241, <TMP> line 105460

What can the problem be? How can I fix this?

9
  • try tlmgr update --self --all
    – user2478
    Commented May 6, 2011 at 12:39
  • 2
    @Peter: then drop a line to he texlive mailing list
    – user2478
    Commented May 8, 2011 at 7:11
  • 2
    @Herbert Isn't this the place to answer this? I don't like mailing lists. Maybe some of the people there will read it here also.
    – Peter Smit
    Commented May 9, 2011 at 6:27
  • 1
    @Peter: This kind of errors are better in the hands of the developer. Because it is hard to reproduce this issues such questions are under the risk to be closed as "too localized". On the other hand if the question is answerable, it is nice to have both Q&A around because Google results favor stackexchange sites, so people with the same issue will find a solution quickly. Commented May 10, 2011 at 18:48
  • 1
    @Peter: You might want accept Tomek's answer instead of mine. It seems to be the (more) correct one. Commented May 10, 2011 at 21:54

2 Answers 2

11
+50

Please, do not replace texlive.tlpdb from your installation with texlive.tlpdb.be17af42b38bde18ed074dc333c8326e or any such file! This file is a cached copy of the package database from the remote repository, kept to speed up network operations (it is downloaded only if it changes). The long hexadecimal number is a hash of the repository location, from which this file came. Your local texlive.tlpdb is not the same as the one from the repository and should not be replaced by it. Instead, you can regenerate it by calling (the output goes to stdout):

tlmgr recreate-tlpdb > texlive.tlpdb
2
  • Ah, good to know. I just assumed it was a backup file. It has almost the same as size than the original. Commented May 10, 2011 at 21:32
  • 1
    Thanks Tomek! I executed this command, and after that a tlmgr update, and it seems it reinstalled quite some packages. Now I think everything is working!
    – Peter Smit
    Commented May 11, 2011 at 2:31
1

I had a look on this now. The error message seems to be caused by a defect texlive.tlpdb data base file, most likely caused by an interrupted download. The runfiles si should actually be runfiles size=<number>. You need to replace this file with a good one.

It is normally located in the tlpkg directory of your TeXLive installation, which is /usr/local/texlive/2010/tlpkg for me, but seems to be /work/usr/texlive/2010/tlpkg for you. Look into this directory, there should be a backup file named like texlive.tlpdb.be17af42b38bde18ed074dc333c8326e (the last part is a random hexadecimal number and will be most likely different for you). Copy that file over the texlive.tlpdb file and try it again.

If this doesn't work download the DB file manually, e.g. from http://www.tex.ac.uk/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb, and replace the existing file. This should fix your problem.

4
  • I had to download the DB file manually, but after that it seems to work all again! Thanks!
    – Peter Smit
    Commented May 10, 2011 at 20:01
  • I checked, it seemed to work, but it didn't. Somehow it actually didn't update any packages.
    – Peter Smit
    Commented May 11, 2011 at 2:31
  • @Peter: Ok, sorry for that. I looked like the right thing to do. Commented May 11, 2011 at 7:01
  • 1
    Thanks for the help anyway! You were right about the part that the corrupted tlpdb file was the problem!
    – Peter Smit
    Commented May 11, 2011 at 7:18

You must log in to answer this question.

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