4

Note: this is all because I wanted to use tlmgr to install subfiles.sty. It's likely there's an easier way of dealing with this problem, but I might as well try getting tlmgr to work.

I seem to be getting the same error as this question, where the issue ended up being mismatched texlive and tlmgr versions.

Issue: When I run tlmgr update --all, I get the following output:

(running on Debian, switching to user mode!) Unknown directive ...containerchecksum c59200574a316416a23695c258edf3a32531fbda43ccdc09360ee105c3f07f9fb77df17c4ba4c2ea4f3a5ea6667e064b51e3d8c2fe6c984ba3e71b4e32716955... , please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 210, line 5579.

The installation log is here. It appears that there aren't any errors, though there are quite a number of warnings. The majority of the warnings seem to be of the form:

warning: is already defined (\relax it first)

My installation is from install-tl (I think this is upstream?).

I've tried downloading and running update-tlmgr-latest.sh, as I read this can be helpful. This gives the output:

Verifying archive integrity... All good. Uncompressing TeX Live Manager Updater............................................................................................................................................................................ ./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT. ./runme.sh: Please set your PATH as needed, otherwise it's hopeless.

This is confusing, as running kpsewhich --var-value=SELFAUTOPARENT by itself outputs /usr/local/texlive/2016, so it appears the PATH is set.

It appears that texlive itself is working fine - I can compile documents, and running latex small2e seems to output reasonable files. To reiterate, this is a new texlive 2016 install. I initially installed off of synaptic, but when I realized that's likely out of date I deleted it, and installed via install-tl.

UPDATE As (for unrelated reasons) I reinstalled my OS the day prior, I decided to reinstall my OS to fix this.

closed as off-topic by Bobyandbob, egreg, TeXnician, Stefan Pinnow, Mensch Dec 22 '17 at 22:12

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    which tlmgr says /usr/local/texlive/2016/bin/x86_64-linux/tlmgr – Mark Dec 20 '16 at 23:59
  • 1
    hmm sorry then I give up (probably someone with more recent debian experience will be around better than my guesses:-) – David Carlisle Dec 21 '16 at 0:02
  • 1
    When you deleted Debian's TL, did you make sure everything was gone? Did you then install a dummy package to satisfy apt or whatever? – cfr Dec 21 '16 at 0:52
  • 1
    sudo which tlmgr gives /usr/bin/tlmgr – Mark Dec 21 '16 at 0:55
  • 4
    I'm voting to close this question as off-topic because a reinstallation solves the problem. – Bobyandbob Dec 22 '17 at 20:49

Browse other questions tagged or ask your own question.