Everytime I run tlmgr
to install packages, I get the following messages:
$ sudo tlmgr install xetex
(running on Debian, switching to user mode!)
tlmgr: package repository http://ftp.gwdg.de/pub/ctan/systems/texlive/tlnet
Package luatex is not relocatable, cannot install it in user mode!
Package pdftex is not relocatable, cannot install it in user mode!
Package xetex is not relocatable, cannot install it in user mode!
So no package gets installed and although I already use sudo
, the tlmgr
switches back to user mode automatically, which I don't even want (afaik).
How do I fix this behavior and install packages?
Additional Information
$ tlmgr --version
tlmgr revision 39298 (2016-01-07 03:44:29 +0100)
tlmgr using installation: /usr/local/texlive/2015
TeX Live (http://tug.org/texlive) version 2015
The tlmgr
was installed using the install-tl
script from here, using:
sudo ./install-tl-ubuntu
The output of which
:
$ which tlmgr
/opt/texbin/tlmgr
The output of sudo which
:
$ sudo which
/usr/bin/tlmgr
sudo /opt/texbin/tlmgr install xetex
...