<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>
<blockquote type="cite" class="">
<div class="">On Aug 2, 2018, at 22:00 , Adam R. Maxwell <<a href="mailto:amaxwell@mac.com" class="">amaxwell@mac.com</a>> wrote:</div>
<div class="">
<div class="">
<blockquote type="cite" class="">On Aug 2, 2018, at 18:39 , Norbert Preining <<a href="mailto:preining@logic.at" class="">preining@logic.at</a>> wrote:<br class="">
On Thu, 02 Aug 2018, Uri Blumenthal wrote:<br class="">
<blockquote type="cite" class="">Uncompressing TeX Live Manager Updater<br class="">
./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT.<br class="">
./runme.sh: (no tlpkg/texlive.tlpdb and/or tlpkg/tlpobj/.)<br class="">
./runme.sh: Please set your PATH as needed, otherwise it's hopeless.<br class="">
</blockquote>
<br class="">
The log file contained clear indications - it seems that <br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>kpsewhich --var-value=SELFAUTOPARENT<br class="">
did not return anything useful. In this case the updated cannot work.<br class="">
</blockquote>
<br class="">
In Terminal, what is the output of <br class="">
<br class="">
which kpsewhich<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
It looks like I had two of those. One that I need and use, and the other one that was forced...<br class="">
<div><br class="">
</div>
<div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ which kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/Library/TeX/texbin/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ type -all kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">kpsewhich is /Library/TeX/texbin/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ ll /Library/TeX/texbin/kpsewhich /opt/local/bin/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rwxr-xr-x  1 uri   wheel  89036 May  9 18:06
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">/Library/TeX/texbin/kpsewhich</span><span style="font-variant-ligatures: no-common-ligatures" class="">*</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">lrwxr-xr-x  1 root  admin     45 Jun 19 07:10
</span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">/opt/local/bin/kpsewhich</span><span style="font-variant-ligatures: no-common-ligatures" class="">@ -> /opt/local/libexec/texlive/binaries/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ ll /opt/local/libexec/texlive/binaries/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rwxr-xr-x  1 root  admin  20692 Jul 23 17:59
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">/opt/local/libexec/texlive/binaries/kpsewhich</span><span style="font-variant-ligatures: no-common-ligatures" class="">*</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ /Library/TeX/texbin/kpsewhich --var-value SELFAUTOPARENT</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/usr/local/texlive/2018</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ /opt/local/libexec/texlive/binaries/kpsewhich --var-value SELFAUTOPARENT</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/libexec</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ </span></div>
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">and<br class="">
<br class="">
$(defaults read com.googlecode.mactlmgr.tlu TLMTexBinPathPreferenceKey)/kpsewhich --var-value=SELFAUTOPARENT<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>It appears to give the correct answer:</div>
<div><br class="">
</div>
<div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ $(defaults read com.googlecode.mactlmgr.tlu TLMTexBinPathPreferenceKey)/kpsewhich --var-value=SELFAUTOPARENT</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/usr/local/texlive/2018</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$</span></div>
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">TLU runs kpsewhich during the launch process, and it would log an error if that failed. I'm not sure why it's failing in update-tlmgr-latest.sh, unless you have another kpsewhich.<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
</div>
Yes. Some application packages required Macports-installed "texlive-bin”.
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ port provides /opt/local/libexec/texlive/binaries/kpsewhich</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/libexec/texlive/binaries/kpsewhich is provided by: texlive-bin</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">Since some packages (like OpenSC) come with documentation in XML, they may require “dblatex” to convert it to something useful - and “dblatex” requires “texlive-bin”… But for now I’ve deleted the whole bunch, as my TeX needs are served by MacTeX.pkg
 anyway. </div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
</body>
</html>