<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, 19 Jun 2018 at 17:27, Blumenthal, Uri - 0553 - MITLL <<a href="mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_8937765797168973807WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt">My machines run MacOS High Sierra 10.13.5. I’ve just upgraded from TeXLive-2017 to TeXLive-2018, and I lost the ability to pull updates.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Some of my machines reside behind a corporate firewall, with Internet accessible only via web proxy (defined in </span><span style="font-size:11.0pt;font-family:Courier">HTTP_PROXY</span><span style="font-size:11.0pt"> and </span><span style="font-size:11.0pt;font-family:Courier">HTTPS_PROXY</span><span style="font-size:11.0pt"> environment variables).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">wget</span><span style="font-size:11.0pt"> on all of my machines is located in /opt/local/bin directory (installed by Macports).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">The error log I’m getting from TeX Live Utility.app seems to indicate that it is unable now to locate wget executable (which is </span><span style="font-size:11.0pt;font-family:Courier">/opt/local/bin/wget</span><span style="font-size:11.0pt"> and on the </span><span style="font-size:11.0pt;font-family:Courier">PATH</span><span style="font-size:11.0pt">).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:09:41 +0000 Notice +[TLMEnvironment _handleLocationOperationFinished:][24805] Finished setting command line server location:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier"> location = <a href="http://tug.ctan.org/tex-archive/systems/texlive/tlnet" target="_blank">http://tug.ctan.org/tex-archive/systems/texlive/tlnet</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:09:58 +0000 Notice -[TLMLogWindowController awakeFromNib][24805] Loaded log window controller<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:11:36 +0000 Notice -[TLMOperation main][24805] Successfully executed `/Applications/TeX/TeX Live Utility.app/Contents/MacOS/agent_installer.py --install --plist /var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/TLMLaunchAgentController/com.googlecode.mactlmgr.update_check.plist --script /Applications/TeX/TeX Live Utility.app/Contents/Resources/update_check.py`<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:11:36 +0000 Notice -[TLMOperation main][24805] agent_installer.py: nothing to unload<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:11:36 +0000 Notice -[TLMMainWindowController _handleLaunchAgentInstallFinishedNotification:][24805] Finished running launchd agent installer script<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:12:16 +0000 Notice -[TLMMainWindowController _refreshUpdatedPackageListFromLocation:][24805] Refreshing list of updated packages…<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:12:17 +0000 Notice -[TLMOperation main][24805] Failed executing `/Library/TeX/texbin/tlmgr --machine-readable --repository <a href="http://tug.ctan.org/tex-archive/systems/texlive/tlnet" target="_blank">http://tug.ctan.org/tex-archive/systems/texlive/tlnet</a> update --list --all` (error 1)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">2018-06-19 19:12:17 +0000 Notice -[TLMOperation main][24805] /Library/TeX/texbin/tlmgr: Initialization failed (in setup_unix_one):<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">/Library/TeX/texbin/tlmgr: could not find a usable wget.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">/Library/TeX/texbin/tlmgr: Please install wget and try again.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">tlmgr: Couldn't set up the necessary programs.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">Installation of packages is not supported.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">Please report to <a href="mailto:texlive@tug.org" target="_blank">texlive@tug.org</a>.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">Use of uninitialized value $r in split at /usr/local/texlive/2018/tlpkg/TeXLive/TLUtils.pm line 4167.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier">tlmgr: Cannot find main repository, you have to tag one as main!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Attempt to manually invoke the above command results in:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="m_8937765797168973807p1"><span class="m_8937765797168973807s1">$ sudo /Library/TeX/texbin/tlmgr --machine-readable --repository <a href="http://tug.ctan.org/tex-archive/system/texlive/tlnet" target="_blank">http://tug.ctan.org/tex-archive/system/texlive/tlnet</a> update --list --all</span><u></u><u></u></p><p class="m_8937765797168973807p1"><span class="m_8937765797168973807s1">/Library/TeX/texbin/tlmgr: open tlpdb(<a href="http://tug.ctan.org/tex-archive/system/texlive/tlnet/tlpkg/texlive.tlpdb" target="_blank">http://tug.ctan.org/tex-archive/system/texlive/tlnet/tlpkg/texlive.tlpdb</a>) failed: Operation timed out at /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.</span><u></u><u></u></p><p class="m_8937765797168973807p1"><span class="m_8937765797168973807s1">$</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Please help!<u></u><u></u></span></p></div></div>
</blockquote></div><div><br></div><div><br></div><div>As a start to sorting this out, it could be useful to know if "sudo -E
<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>/Library/TeX/texbin/tlmgr --machine-readable --repository</span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span><a href="http://tug.ctan.org/tex-archive/system/texlive/tlnet" target="_blank" style="color:rgb(17,85,204);background-color:rgb(255,255,255)">http://tug.ctan.org/tex-archive/system/texlive/tlnet</a><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>update --list --all" works. </span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">The </span>"-E" option tells sudo to pass user's environment (e.g., to get the _PROXY variables and a PATH that mentions /opt/local/bin). </div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>George N. White III<br><br></div></div></div></div>