I have done a fresh installation of texlive on my linux system. When I try installing any packages using tlmgr, I get the following error:
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
TLPDB: not a directory, not loading: /root/texmf
tlmgr: user mode not initialized, please read the documentation!
I have run the commands sudo tlmgr update --self
and sudo tlmgr update --all
but the same error pops up again. There is another instance of this error, but no solution was posted for it except for just reinstalling texlive which didnot work for me.