tlmgr used to work fine, but now I am getting the following error message for whatever I try to do:

tlmgr: The TeX Live versions supported by the repository (20xx--20xx) do not include the version of the local installation (20yy).

Any idea on how to resolve that?

  • 2
    your TL version is not supported anymore. You can (a) continue using TL2012 if you don't need anything new that comes with TL 2013 or (b) install TL 2013 (alongside you actual version) and start focusing on the new version. To install the new version see here
    – Old Nick
    Jun 24 '13 at 21:54
  • 6
    This is a pretty annoying behaviour... I'm currently in the middle of a project and need to install a new module (CJK). I don't have time to install TL 2013 just now. Is there a way to just install the CJK package?
    – Yoav
    Jun 24 '13 at 21:59
  • 1
    you should be able to install the package you need manually, seethis (or search for your OS if you're not on linux). I think it should be possible to specify a specific set of packages at install time, but maybe ask another question about that when the time comes
    – Old Nick
    Jun 24 '13 at 22:05
  • 1
    Thanks! I managed to install the package manually, but now I am missing a font. I guess the font installation question should go into a new question..
    – Yoav
    Jun 24 '13 at 22:31
  • 7
    I do not feel that this question is too localized since anyone that uses tlmgr to manage his installation faces this problem as soon as texlive is updated. This also isn't just a simple hint that the installation should be updated: it prevents any operation (installing, searching, ...) and renders the local installation almost useless. I feel that this is a serious design flaw of the texlive package manager and here would be a good forum to acknowledge it as such: can anybody give an authoritative answer on wether packages can be installed into outdated texlive installations?
    – Holger
    Jul 25 '13 at 20:21

Just to be able mark this question as answered: as the error message says and as dcmst pointed out, your version of TeX Live (2012) won't receive any more updates. tlmgr is working correctly, it's just warning you that there is no more update server to connect to to perform an upgrade.

If you wish to continue receiving updates, you need to upgrade to TeX Live 2013.

Instructions on how to install TeX Live can be found here, while the list of packages currently installed on your system can also be generated easily.
More specifically, if you want to reinstall exactly the same packages and only them, you should first run, under TL 2012:

tlmgr list --only-installed > installed_texlive_packages.txt

to save the list of installed packages as installed_texlive_packages.txt, and then under TL 2013 after installing it (assuming you are under a unix system):

cat installed_texlive_packages.txt | while read LINE; do
  PACKAGE=$(echo $LINE | cut -d " " -f 2 | cut -d ":" -f 1);
  tlmgr install $PACKAGE;
  • Before I mark this as answered, can you please add a pointer on how to upgrade to Tex Live 2013 while using a minimal amount of disk space and keeping the same packages I have currently installed?
    – Yoav
    Jun 24 '13 at 22:47
  • @Yoav Answering that question depends on what your current installation scheme is. Most often than not, people install the full TeX Live distribution (with all packages), and so it's just a matter of installing TeX Live 2013 and deciding whether or not you want to keep TeX Live 2012 (it's installed in its own 2012 sub-directory under your local TeX root, so you can just remove that sub-directory). I added a link in the case you have a minimal installation and want to reinstall exactly the same packages as currently installed.
    – Xavier
    Jun 24 '13 at 22:56
  • 2
    @Yoav you can't upgrade from 2012 to 2013: tug.org/texlive/upgrade.html
    – giordano
    Jun 24 '13 at 23:02
  • @Xavier thanks, but this doesn't seem to work: ./install-tl Loading http://mirror.isoc.org.il/pub/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb ============================================================================= ./install-tl: The TeX Live versions of the local installation and the repository being accessed are not compatible: local: 2012 repository: 2013 Perhaps you need to use a different CTAN mirror? (For more, see the output of install-tl --help, especially the -repository option. Online via http://tug.org/texlive/doc.) ===============================================
    – Yoav
    Jun 24 '13 at 23:02
  • @Xavier also, it is not clear to me how to use the generated list of installed packages once I have it.
    – Yoav
    Jun 24 '13 at 23:04

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