TransWikia.com

tlmgr: Remote repository is newer than local (2017 < 2018)

TeX - LaTeX Asked by nikhilweee on July 30, 2021

I’m not able to get past this error. I do not wish to do a fresh install of texlive. Why is texlive so frickin annoying? Why does it force me too fresh install? Why can’t I just upgrade texlive like any other piece of software? Why can’t I just use the older version? Why can’t I live in peace?

nikhil@spyder:~/report$ tlmgr install listings
(running on Debian, switching to user mode!)
tlmgr: Remote repository is newer than local (2017 < 2018)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.

5 Answers

This seems to do the trick. The solution is to downgrade the repository to 2017 version. This seems to be easy enough, but a quick search for the error did not suggest anything of this sort.

sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final

Correct answer by nikhilweee on July 30, 2021

You don't have to upgrade at all, you can stop at tl2017 (lots of people installed tex years ago and have never updated)

However if you want to update from one texlive to the next without doing a full install (which is the recommended route) then the texlive team have a page detailing what you need to do

https://www.tug.org/texlive/upgrade.html

Note that this URL is exactly the address given in the error message that you quoted in the question.

Answered by David Carlisle on July 30, 2021

I had this issue because although I installed the latest version of TexLive I didn't setup the PATH right. I would recommend if anyone has this issue to inspect the PATH variable and run

export PATH=/usr/local/texlive/2018/bin/x86_64-linux:$PATH

to make sure that the tlmgr of new installation is discovered before any other already in the system.

Answered by kpsychas on July 30, 2021

If possible, install 'MiKTeX' and typeset your document.

If 'listings' isn't installed when you start to typeset, it will install 'on the fly' ( if connected to the internet at the time ).

Answered by user151522 on July 30, 2021

TL; DR;

Get a fresh install of TeX Live, though you said you don't want to. The installation is easy and the newer one would be distinguishable from the older ones.

Story

I've been having texlive-latex-base by using apt-get on Ubuntu 18.04.
sudo apt-get install texlive-latex-base

When I was trying converting a Markdown file to a pdf file using pandoc I originally ran into a problem Error in TeX Live – Font … not loadable: Metric (TFM) file not found, then here.

But, immediately, I had a feeling that if I take one of these prescriptions I would be going through more uncertain problems in the later steps by intuition.

So, I decided to install an up-to-date version of TeX Live.
Starting from there, please follow the directions on the web page and it will take some time, maybe hours depending on your network condition.

Answered by David Jung on July 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP