Switch back to using apt-get to install latex.