LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   update texlive (tlmgr): no texlive.tlpdb (https://www.linuxquestions.org/questions/slackware-14/update-texlive-tlmgr-no-texlive-tlpdb-871241/)

tramni1980 03-27-2011 04:06 AM

update texlive (tlmgr): no texlive.tlpdb
 
Hello!
I know this is not a relevant question for this forum, however I still hope to be able to get some help from here too.

I am running texlive-20100722. To build it I have used a modified version ot Robby's SlackBuild. Now I need to update the pgf package. The package manager for texlive is tlmgr. However, when I issue:
Code:

tlmgr update pgf
I get:
[QUOTE]/usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No such file or directory at /usr/lib/perl5/5.10.1/TeXLive/TLPDB.pm line 282.[QUOTE]

Some googling revealed that texlive.tlpdb is the installation’s TEX Live Package Database. However, in my installation is is not present. I guess it has to be generated somehow, but I do not know how. Any suggestions will be appreciated.

Regards,
Martin

amani 03-27-2011 11:47 AM

You should have installed texlive directly.

Lirey 03-28-2011 10:06 PM

Hi Martin,

I agree with A. Mani that the most reliable way to install TeXLive is a full direct install. I generally prefer SlackBuilds, but TeXLive is just too big and cumbersome. Plus, it is one package that I don't expect to ever have to uninstall.

Since you already have the SlackBuild installed, there may be a way to trick or force tlmgr into recreating the TeXLive package database. Try to check that the tlmgr configuration option for a repository is set. Then, if you haven't tried already, do a:

tlmgr update --self

That should update tlmgr itself, plus some of the other core files. Even with a conventional installation of TeXLive, the self update is usually necessary before updating other packages.

Lirey

markush 03-30-2011 07:30 AM

Hello,

this is a very helpful thread, I've installed texlive directly today as Lirey suggests. Everything is working properly now. Once I had issues when I tried to use pgf/tikz with the tetex-package from the stock Slackware-installation. I had installed Robby Workman's package back then, but it seemd a bit outdated.

Markus


All times are GMT -5. The time now is 02:06 PM.