I've tried to install beamer on mac using tlmgr, but it asked me to update tlmgr, so I did it. Now when I try to install a package it complains saying that wget is not installed (and it is not, I'm on mac, but it was fine before the update). Any suggestion to fix this mess? (Other than installing wget)
Here is the output:
$ tlmgr install beamer
tlmgr: package repository
http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet (not verified: gnupg not available)
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
tlmgr: Terminating; please see warning above!
$ tlmgr update --self
tlmgr: package repository
http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet (not verified: gnupg not available)
tlmgr: saving backups to /usr/local/texlive/2016basic/tlpkg/backups
[1/2, ??:??/??:??] update: texlive.infra [197k] (41476 -> 44462) ... done
[2/2, 00:01/00:02] update: texlive.infra.x86_64-darwin [277k] (40402 -> 43815) ... done
tlmgr: package log updated: /usr/local/texlive/2016basic/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
$ tlmgr install beamer
/Library/TeX/texbin/tlmgr: Initialization failed (in setup_unix_one):
/Library/TeX/texbin/tlmgr: could not find a usable wget.
/Library/TeX/texbin/tlmgr: Please install wget and try again.
/Library/TeX/texbin/tlmgr: Initialization failed (in setup_unix_one):
/Library/TeX/texbin/tlmgr: could not find a usable xzdec.
/Library/TeX/texbin/tlmgr: Please install xzdec and try again.
tlmgr: Couldn't set up the necessary programs.
Installation of packages is not supported.
Please report to texlive@tug.org.
Use of uninitialized value $r in split at /Library/TeX/texbin/tlmgr line 3980.
tlmgr: Cannot find main repository, you have to tag one as main!
wgetis a fallback to what it usually does. – Alan Munn Jun 21 '17 at 18:15Furthermore, you're trying to install 2016 packages using the current year repository. This won't work. Could you explain? I'm not an expert at all. Thank you. – Sirion Jun 21 '17 at 18:23tlmgrto use a historic repository. See How to install a package from an older version of TeXLive? . – Alan Munn Jun 21 '17 at 18:29update-tlmgr-latest.sh, which might restore your TL 2016 version oftlmgr. It looks like you partially overwrote tlmgr by doing an infrastructure update from TL 2017, as @AlanMunn noted. ftp://ftp.tug.org/historic/systems/texlive/2016/tlnet-final/update-tlmgr-latest.sh – Adam Maxwell Jun 24 '17 at 04:42tlmgr update --selfseems to have broken something. This is indicated by the fact that neither wget nor xz is found which should be. I only guess here, but thetlmgr-update-latestdid install into texbin but not into the real installation directory, which broken the setup. I don't have a Mac to actually try it, but this is what I read from your log. – norbert Jul 20 '17 at 07:40