I use Texlive 2018 on Ubuntu 18.04 LTS. I wanted to change my TEXMFHOME directory to hide it. I did it just creating a usertree in "~/.texmf"
if [ -d ~/.texmf ] ; then export TEXMFHOME=~/.texmf; fi to change TEXMFHOME value and then I tried to install a package to check if it was working:
sudo tlmgr install doublestroke
And i got the following error:
(running on Debian, switching to user mode!) Cannot determine type of tlpdb from /home/username/texmf! cannot setup TLPDB in /home/username/texmf at /usr/bin/tlmgr line 6424.
I'd tried a lot of solutions presented here, including checking the values in my 'texmf.cnf' file, but none of them worked. The point is I don't know why my tlmgr insists to seach my .tlpdb file in the wrong directory.
I simply want a tlmgr with all my directories in $HOME hidden. By the way, I said this when i ran "install-tl" to install it because I changed my TEXMFHOME directory during the installation(but seems it ignored).
Thanks for any help