Minha instalação do texlive parece não estar funcionando, mas de uma forma estranha. Aqui está o último trecho copiado deo registroque foi gerado. Estou instalando install-tl-20170413
no Ubuntu 16.04. O comando específico que executei foi sudo ./install-tl
.
Can't exec "kpsewhich": No such file or directory at /usr/local/texlive/2016/bin/x86_64-linux/updmap line 22.
/usr/local/texlive/2016/bin/x86_64-linux/updmap: kpsewhich -var-value=TEXMFROOT failed, aborting early.
BEGIN failed--compilation aborted at /usr/local/texlive/2016/bin/x86_64-linux/updmap line 28.
./install-tl: updmap-sys --nohash failed:
re-running mktexlsr /usr/local/texlive/2016/texmf-var /usr/local/texlive/2016/texmf-config ...
setting up ConTeXt cache: running mtxrun --generate ...done
/usr/bin/env: 'texlua': No such file or directory
./install-tl: mtxrun --generate failed:
pre-generating all format files, be patient...
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-strict --all ...done
Can't exec "kpsewhich": No such file or directory at /usr/local/texlive/2016/bin/x86_64-linux/fmtutil line 17.
/usr/local/texlive/2016/bin/x86_64-linux/fmtutil: kpsewhich -var-value=TEXMFROOT failed, aborting early.
BEGIN failed--compilation aborted at /usr/local/texlive/2016/bin/x86_64-linux/fmtutil line 25.
./install-tl: fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-strict --all failed:
running path adjustment actions
finished with path adjustment actions
running package-specific postactions
postaction install script for dvipdfmx: perl /tlpkg/tlpostcode/dvipdfmx.pl
postaction install script for ptex2pdf: perl /tlpkg/tlpostcode/ptex2pdf-tlpost.pl
postaction install script for xetex: perl /tlpkg/tlpostcode/xetex.pl
finished with package-specific postactions
A primeira parte onde reclama que não consegue encontrar kpsewhich
é um tanto suspeita, pois o arquivo existe:
$ ls -l /usr/local/texlive/2016/bin/x86_64-linux/kpsewhich
-rwxr-xr-x 1 root root 83424 Apr 7 2016 /usr/local/texlive/2016/bin/x86_64-linux/kpsewhich
Existe uma maneira de recuperar a instalação? Acabei de atualizar meu Ubuntu, porque uma tentativa anterior de hoje falou sobre "problemas com bibliotecas compartilhadas". Essa mensagem desapareceu.
Atualização: permissões, conforme solicitado
[joe@localhost togetherly]$ ls -ld /usr/local/texlive/2016/bin/x86_64-linux/
drwxr-xr-x 2 root root 12288 Mar 31 03:48 /usr/local/texlive/2016/bin/x86_64-linux/
[joe@localhost togetherly]$ ls -ld /usr/local/texlive/2016/bin/
drwxr-xr-x 3 root root 4096 Mar 31 03:19 /usr/local/texlive/2016/bin/
[joe@localhost togetherly]$ ls -ld /usr/local/texlive/2016/
drwxr-xr-x 9 root root 4096 Mar 31 03:49 /usr/local/texlive/2016/
[joe@localhost togetherly]$ ls -ld /usr/local/texlive/2016/
drwxr-xr-x 9 root root 4096 Mar 31 03:49 /usr/local/texlive/2016/
[joe@localhost togetherly]$ ls -ld /usr/local/texlive/
drwxr-xr-x 4 root root 4096 Mar 31 03:19 /usr/local/texlive/
[joe@localhost togetherly]$ ls -ld /usr/local/
drwxr-xr-x. 15 root root 4096 Mar 31 03:19 /usr/local/
[joe@localhost togetherly]$ ls -ld /usr/
drwxr-xr-x. 13 root root 4096 Aug 4 2015 /usr/
[joe@localhost togetherly]$ ls -ld /
dr-xr-xr-x. 20 root root 4096 Apr 4 19:51 /