i've installed Tex Live 2016 using install-tl in order to obtain the latest version, however i have a problem with the tlmgr command. If i start the application with the command tlmgr -gui no installed packages can be seen: the obtained error is

Tk::Error: /usr/bin/tlmgr: open(/usr/share/texlive/tlpkg/texlive.tlpdb) failed: No such file or directory at /usr/share/texlive/tlpkg/TeXLive/TLPDB.pm line 416.
 TeXLive::TLPDB::from_file at /usr/share/texlive/tlpkg/TeXLive/TLPDB.pm line 416
 TeXLive::TLPDB::new at /usr/share/texlive/tlpkg/TeXLive/TLPDB.pm line 146
 main::reinit_local_tlpdb at /usr/share/texlive/texmf-dist/scripts/texlive/tlmgrgui.pl line 2024
 main::update_all_packages at /usr/share/texlive/texmf-dist/scripts/texlive/tlmgrgui.pl line 1970
 main::__ANON__ at /usr/share/texlive/texmf-dist/scripts/texlive/tlmgrgui.pl line 436

The texlive.tlpdb file is not installed in /usr/share/texlive/tlpkg/, but in


How can I reconfigure correctly tlmgr in order to take the correct path? Thanks

1 Answer 1


You can try running:

sudo tlmgr backup --clean --all
  • 2
    For me, this produces /usr/bin/tlmgr: open(/home/.../texmf/tlpkg/texlive.tlpdb) failed: No such file or directory at /usr/share/texlive/tlpkg/TeXLive/TLPDB.pm line 416.
    – Rasmus
    Commented Apr 15, 2017 at 11:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .