<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, 19 Jun 2018 at 19: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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_3419100478276298239WordSection1"><p class="MsoNormal">I’m afraid this did not work either:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="gmail-m_3419100478276298239p1"><span class="gmail-m_3419100478276298239s1">$ sudo -E /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="gmail-m_3419100478276298239p1"><span class="gmail-m_3419100478276298239s1">Enter PIN for 'Certificate For PIV Authentication (Uri the Great)':</span><span class="gmail-m_3419100478276298239apple-converted-space"> </span><u></u><u></u></p><p class="gmail-m_3419100478276298239p1"><span class="gmail-m_3419100478276298239s1">/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:</span><span class="gmail-m_3419100478276298239apple-converted-space">  </span><span class="gmail-m_3419100478276298239s1">at /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.</span><u></u><u></u></p><p class="gmail-m_3419100478276298239p1"><span class="gmail-m_3419100478276298239s1">$</span><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Are there any logs that you may want me to pull for you?</p></div></div></blockquote><div><br></div><div>Looks like "sudo -E" runs into problems with your <font size="2" color="#000000">

<span style="font-family:arial,sans-serif;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Personal Identity Verification (</span><em style="font-weight:bold;font-family:arial,sans-serif;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">PIV</em><span style="font-family:arial,sans-serif;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">) system.   You should</span></font></div><div><font size="2" color="#000000"><span style="font-family:arial,sans-serif;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">check with your IT people -- your issues are somewhat outside the scope of TeX Live and MacTeX and may</span></font></div><div><font size="2" color="#000000"><span style="font-family:arial,sans-serif;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">have an "official" solution.  If you are having this probelm at MIT, the MIT Knowledge Base <</span></font><font color="#000000" face="arial, sans-serif" size="2"><a href="http://kb.mit.edu/confluence/x/AoDjBQ">http://kb.mit.edu/confluence/x/AoDjBQ</a>> </font></div><div><font color="#000000" face="arial, sans-serif" size="2">appears to need some site-specific additions.</font></div><div><br></div><div>There are more fine-grained ways to pass environment variables to a sudo session; look for</div><div>"
<span style="color:rgb(84,84,84);font-family:arial,sans-serif;font-size:small;text-align:left;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">env_keep" in the sudo documentation.</span></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_3419100478276298239WordSection1"><p class="MsoNormal"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">"George N. White III" <<a href="mailto:gnwiii@gmail.com" target="_blank">gnwiii@gmail.com</a>><br><b>Date: </b>Tuesday, June 19, 2018 at 18:22<br><b>To: </b>Uri Blumenthal <<a href="mailto:uri@ll.mit.edu" target="_blank">uri@ll.mit.edu</a>><br><b>Cc: </b>TeX Live 2008 <<a href="mailto:texlive@tug.org" target="_blank">texlive@tug.org</a>><br><b>Subject: </b>Re: [tex-live] TeXLive-2018 fails to update across firewall<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, 19 Jun 2018 at 17:27, Blumenthal, Uri - 0553 - MITLL <<a href="mailto:uri@ll.mit.edu" target="_blank">uri@ll.mit.edu</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">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></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Some of my machines reside behind a corporate firewall, with Internet accessible only via web proxy (defined in <span style="font-family:Courier">HTTP_PROXY</span> and <span style="font-family:Courier">HTTPS_PROXY</span> environment variables).<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">wget</span> on all of my machines is located in /opt/local/bin directory (installed by Macports).<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">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 style="font-family:Courier">/opt/local/bin/wget</span> and on the <span style="font-family:Courier">PATH</span>).<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:09:41 +0000 Notice +[TLMEnvironment _handleLocationOperationFinished:][24805]  Finished setting command line server location:</span><u></u><u></u></p><p class="MsoNormal"><span style="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></span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:09:58 +0000 Notice -[TLMLogWindowController awakeFromNib][24805]     Loaded log window controller</span><u></u><u></u></p><p class="MsoNormal"><span style="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`</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:11:36 +0000 Notice -[TLMOperation main][24805]     agent_installer.py: nothing to unload</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:11:36 +0000 Notice -[TLMMainWindowController _handleLaunchAgentInstallFinishedNotification:][24805] Finished running launchd agent installer script</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:12:16 +0000 Notice -[TLMMainWindowController _refreshUpdatedPackageListFromLocation:][24805]  Refreshing list of updated packages…</span><u></u><u></u></p><p class="MsoNormal"><span style="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)</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">2018-06-19 19:12:17 +0000 Notice -[TLMOperation main][24805]     /Library/TeX/texbin/tlmgr: Initialization failed (in setup_unix_one):</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">/Library/TeX/texbin/tlmgr: could not find a usable wget.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">/Library/TeX/texbin/tlmgr: Please install wget and try again.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">tlmgr: Couldn't set up the necessary programs.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">Installation of packages is not supported.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">Please report to <a href="mailto:texlive@tug.org" target="_blank">texlive@tug.org</a>.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">Use of uninitialized value $r in split at /usr/local/texlive/2018/tlpkg/TeXLive/TLUtils.pm line 4167.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:Courier">tlmgr: Cannot find main repository, you have to tag one as main!</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Attempt to manually invoke the above command results in:<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="gmail-m_3419100478276298239m8937765797168973807p1"><span class="gmail-m_3419100478276298239m8937765797168973807s1">$ 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="gmail-m_3419100478276298239m8937765797168973807p1"><span class="gmail-m_3419100478276298239m8937765797168973807s1">/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="gmail-m_3419100478276298239m8937765797168973807p1"><span class="gmail-m_3419100478276298239m8937765797168973807s1">$</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Please help!<u></u><u></u></p></div></div></blockquote></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">As a start to sorting this out, it could be useful to know if "sudo -E  <span style="background:white"> /Library/TeX/texbin/tlmgr --machine-readable --repository</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="background:white"> </span><a href="http://tug.ctan.org/tex-archive/system/texlive/tlnet" target="_blank"><span style="color:rgb(17,85,204);background:white">http://tug.ctan.org/tex-archive/system/texlive/tlnet</span></a><span style="background:white"> update --list --all" works.  </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="background:white"><br><br></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="background:white">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).  <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><p class="MsoNormal" style="margin-bottom:12pt">George N. White III<u></u><u></u></p></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>George N. White III<br><br></div></div></div></div>