[tex-live] TeXLive-2018 fails to update across firewall

George N. White III gnwiii at gmail.com
Wed Jun 20 02:36:35 CEST 2018


On Tue, 19 Jun 2018 at 19:27, Blumenthal, Uri - 0553 - MITLL <uri at ll.mit.edu>
wrote:

> I’m afraid this did not work either:
>
>
>
> $ sudo -E /Library/TeX/texbin/tlmgr --machine-readable --repository
> http://tug.ctan.org/tex-archive/system/texlive/tlnet update --list --all
>
> Enter PIN for 'Certificate For PIV Authentication (Uri the Great)':
>
> /Library/TeX/texbin/tlmgr: open tlpdb(
> http://tug.ctan.org/tex-archive/system/texlive/tlnet/tlpkg/texlive.tlpdb)
> failed:  at /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.
>
> $
>
>
>
> Are there any logs that you may want me to pull for you?
>

Looks like "sudo -E" runs into problems with your  Personal Identity
Verification (*PIV*) system.   You should
check with your IT people -- your issues are somewhat outside the scope of
TeX Live and MacTeX and may
have an "official" solution.  If you are having this probelm at MIT, the
MIT Knowledge Base <http://kb.mit.edu/confluence/x/AoDjBQ>
appears to need some site-specific additions.

There are more fine-grained ways to pass environment variables to a sudo
session; look for
" env_keep" in the sudo documentation.



>
>
> Thanks!
>
>
>
> *From: *"George N. White III" <gnwiii at gmail.com>
> *Date: *Tuesday, June 19, 2018 at 18:22
> *To: *Uri Blumenthal <uri at ll.mit.edu>
> *Cc: *TeX Live 2008 <texlive at tug.org>
> *Subject: *Re: [tex-live] TeXLive-2018 fails to update across firewall
>
>
>
>
>
> On Tue, 19 Jun 2018 at 17:27, Blumenthal, Uri - 0553 - MITLL <
> uri at ll.mit.edu> wrote:
>
> 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.
>
>
>
> Some of my machines reside behind a corporate firewall, with Internet
> accessible only via web proxy (defined in HTTP_PROXY and HTTPS_PROXY
> environment variables).
>
>
>
> wget on all of my machines is located in /opt/local/bin directory
> (installed by Macports).
>
>
>
> 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 /opt/local/bin/wget
> and on the PATH).
>
>
>
> 2018-06-19 19:09:41 +0000 Notice +[TLMEnvironment
> _handleLocationOperationFinished:][24805]  Finished setting command line
> server location:
>
>      location = http://tug.ctan.org/tex-archive/systems/texlive/tlnet
>
> 2018-06-19 19:09:58 +0000 Notice -[TLMLogWindowController
> awakeFromNib][24805]     Loaded log window controller
>
> 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`
>
> 2018-06-19 19:11:36 +0000 Notice -[TLMOperation main][24805]
> agent_installer.py: nothing to unload
>
> 2018-06-19 19:11:36 +0000 Notice -[TLMMainWindowController
> _handleLaunchAgentInstallFinishedNotification:][24805] Finished running
> launchd agent installer script
>
> 2018-06-19 19:12:16 +0000 Notice -[TLMMainWindowController
> _refreshUpdatedPackageListFromLocation:][24805]  Refreshing list of updated
> packages…
>
> 2018-06-19 19:12:17 +0000 Notice -[TLMOperation main][24805]     Failed
> executing `/Library/TeX/texbin/tlmgr --machine-readable --repository
> http://tug.ctan.org/tex-archive/systems/texlive/tlnet update --list
> --all` (error 1)
>
> 2018-06-19 19:12:17 +0000 Notice -[TLMOperation main][24805]
> /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.
>
> tlmgr: Couldn't set up the necessary programs.
>
> Installation of packages is not supported.
>
> Please report to texlive at tug.org.
>
> Use of uninitialized value $r in split at
> /usr/local/texlive/2018/tlpkg/TeXLive/TLUtils.pm line 4167.
>
> tlmgr: Cannot find main repository, you have to tag one as main!
>
>
>
> Attempt to manually invoke the above command results in:
>
>
>
> $ sudo /Library/TeX/texbin/tlmgr --machine-readable --repository
> http://tug.ctan.org/tex-archive/system/texlive/tlnet update --list --all
>
> /Library/TeX/texbin/tlmgr: open tlpdb(
> http://tug.ctan.org/tex-archive/system/texlive/tlnet/tlpkg/texlive.tlpdb)
> failed: Operation timed out at
> /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.
>
> $
>
>
>
> Please help!
>
>
>
>
>
> As a start to sorting this out, it could be useful to know if "sudo -E   /Library/TeX/texbin/tlmgr
> --machine-readable --repository
>
>  http://tug.ctan.org/tex-archive/system/texlive/tlnet update --list
> --all" works.
>
>
>
> The "-E" option tells sudo to pass user's environment (e.g., to get the
> _PROXY variables and a PATH that mentions /opt/local/bin).
>
>
>
> --
>
> George N. White III
>


-- 
George N. White III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20180619/4d9aa81b/attachment-0001.html>


More information about the tex-live mailing list