5

On a fresh install of El Capitan and MacTex, I'm getting this error message while the texlive utility is checking for updates:

The repository at http://mirrors.ibiblio.org/CTAN/systems/texlive
/tlnet/ has TeX Live 2015, but you have TeX Live 0 installed.
You need to switch repositories in order to continue.

I tried this fix but nothing happened. Can anyone offer some input on this?

  • I would suggest reinstalling MacTex again. I'm running El Capitan here, and I've had no issues. – ellman121 Oct 9 '15 at 19:17
  • Did you install MacTex after upgrading to El Captian? I already tried reinstalling, but didn't remove all the ghost scripts. – Cescante Oct 9 '15 at 19:35
  • Nothing happened? You got no output at all from curl? – cfr Oct 9 '15 at 23:21
  • Please try the latest beta; there's a path issue with El Capitan that would cause a misleading error message. github.com/amaxwell/tlutility/releases – Adam Maxwell Oct 10 '15 at 5:54
  • 1
    For what it's worth, the previous beta didn't work properly if you had the multiplexor set as your repository. You might try the latest one (currently 1.22b8) before bothering with a bug report. – Adam Maxwell Oct 11 '15 at 0:36
7

El Capitan removes the long-time MacTeX default path location of /usr/texbin and does not allow it to be recreated. Various parts of TeX Live Utility assumed this as a default path setting. Unfortunately, under some conditions you could also end up with this error message instead of the intended message (because Apple only displays the first alert sheet on a window).

A partial fix is to change your "TeX Programs" setting in TeX Live Utility's Preferences window; if you have MacTeX 2015 or BasicTeX 2015, you can use /Library/TeX/texbin as the new location. If you have an older TeX Live, you will need to navigate to the correct binary directory containing the tlmgr tool (e.g., /usr/local/texlive/2014/bin/x86_64-darwin). See TeX Live Utility's Help menu for details on this setting.

A more complete fix, including better warning messages, is available in the latest beta and soon-to-be released version of TeX Live Utility. The latest beta release is available here:

https://github.com/amaxwell/tlutility/releases

The built-in Sparkle updater should notify you when the final version is released, hopefully in the upcoming week. If you encounter problems with the beta, use the Problems or Questions from the Help menu to file a bug report.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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