In my texlive installation (in ubuntu 15.04), I tried installing framed.sty latex package with the following command:
$ tlmgr install framed
I got this error message:
(running on Debian, switching to user mode!)
cannot setup TLPDB in /home/myusername/texmf at /usr/bin/tlmgr line 5435.
I took the following steps:
$ cd ~
$ mkdir texmf
$ tlmgr init-usertree
I tried to install the framed.sty latex package again with the command:
$ tlmgr install framed
I got this error message:
/usr/bin/tlmgr: Initialization failed (in setup_unix_one):
/usr/bin/tlmgr: could not find a usable xzdec.
/usr/bin/tlmgr: Please install xzdec and try again.
Couldn't set up the necessary programs.
Installation of packages is not supported.
Please report to texlive@tug.org.
tlmgr: exiting unsuccessfully (status 1).
So, I installed xzdec and I tried to install the package again:
$ sudo apt-get install xzdec
$ tlmgr install framed
It worked!
(running on Debian, switching to user mode!)
tlmgr: package repository http://linorg.usp.br/CTAN/systems/texlive/tlnet
[1/1, ??:??/??:??] install: framed [8k]
tlmgr: package log updated: /home/myusername/texmf/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
/usr/bin, which I don't recommend. It's much better to add the path to the TeX Live binaries to thePATHenvironment variable. It's possible that you have also the Debian provided TeX Live and, if some package has been installed later than the vanilla TeX Live,tlmgrgets confused. – egreg Oct 11 '13 at 17:10apt-get. What are the drawbacks of having the symlink instead of the variables? – adn Oct 11 '13 at 17:12apt-getdoesn't providetlmgr; and the instruction you refer to don't useapt-get. – egreg Oct 11 '13 at 17:14apt-getfortexliveand use How to install "vanilla" TeXLive on Debian or Ubuntu? – cmhughes Oct 11 '13 at 17:14tlmgrby installing it later on? I'm quite lost here. So what can I do to fix it? – adn Oct 11 '13 at 17:18apt-getyou can't installtlmgrover it. And, if you do in some way, you can't rely on it to work. – egreg Oct 11 '13 at 17:30tlmgris included in packagetexlive-basein Ubuntu 13.10, preset to run in user mode. The first line in the documentation is a warning that one should expect breakage. – scottkosty Oct 28 '13 at 04:57User Modesection in the tlmgr documentation, and you will realize that--guiis not yet supported. Anyway, I can reproduce your problem; it seemstlmgris not yet usable at all, although I felt so excited about it. – Yihui Xie Nov 04 '13 at 05:53