I'm trying to update tlmgr via Terminal using the .sh file update-tlmgr-latest.sh. When I hit the enter button i get this error:
Verifying archive integrity... All good.
Uncompressing TeX Live Manager Updater......................................................................................................................................................................................
./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT.
./runme.sh: Please set your PATH as needed, otherwise it's hopeless.
[omurcia@dhcppc1 ~]$ sh /home/omurcia/update-tlmgr-latest.sh
Verifying archive integrity... All good.
Uncompressing TeX Live Manager Updater......................................................................................................................................................................................
./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT.
./runme.sh: Please set your PATH as needed, otherwise it's hopeless.
I don't know how to proceed in this case. Any help is welcomed.
tlmgr update --self? – cfr Dec 26 '14 at 01:50kpsewhich --var-value=SELFAUTOPARENTgive? If you get an error, what doesecho $PATHgive? I'm assuming you are on OS X. – cfr Dec 26 '14 at 01:56tlmgr update --selfis known to work around the problem, so I suggest trying that. – cfr Dec 26 '14 at 03:21sudo tlmgr update --self, as @cfr suggests. – Adam Liter Dec 26 '14 at 03:42update-tlmgr-latest.shis now fixed. – Adam Maxwell Dec 26 '14 at 21:28