[tex-live] double installation | dblatex | docbook.sty not found

Lars Madsen daleif at imf.au.dk
Mon Dec 23 11:19:29 CET 2013

whos path yours or roots?

you presumably install via sudo which has a completely different path than use the user does.

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf

From: tex-live [tex-live-bounces at tug.org] on behalf of Urs Liska [ul at openlilylib.org]
Sent: 23 December 2013 11:05
To: Robin Fairbairns
Cc: TeXLive mailing list
Subject: Re: [tex-live] double installation | dblatex | docbook.sty not found

Am 23.12.2013 10:54, schrieb Robin Fairbairns:
> Urs Liska <ul at openlilylib.org> wrote:
>> I'm having an issue which is probably related to path searching.
>> I have TL 2013 installed from the web installer. It resides in a local
>> dir (i.e. in my user dir).
>> For some dependencies (apt-get build-dep lilypond) I additionally had
>> to install it through apt-get from the Debian repositories. But my
>> paths are set so the web installation is used.
>> Additionally I've installed dblatex through apt-get.
>> Now when running a build script this fails at the command "dblatex
>> somefile.tex" with the message "docbook.sty" not found.
>> tlmgr update dblatex tells me it is up to date.
>> dblatex is found in /usr/bin.
>> Somehow I have the impression my manually installed TeXLive and the
>> apt-get dblatex don't cooperate well.
> i would be extremely surprised if they did.  the dblatex you got via
> apt-get will typically be looking in the tex tree that was active when
> it was installed; so unless you installed it with the tl texmf tree
> "current", you don't stand a chance.

When I installed dblatex (I think) my path was set so `which latex`
pointed to somewhere below /shared/software/texlive.
This was the case immediately after having done apt-get install texlive...

>> Any ideas what I could check?
> can you find docbook.sty from _anywhere_ on your system?  (i can't,
> neither in the "virgin" ubuntu-installed system, or in my tex live
> installation, or on ctan.)

There is not docbook.sty inside /shared/software/texlive
but one inside /usr/share/texmf

Which points to your suggestion.

Maybe it helps uninstalling dblatex, then checking path settings (but
how?) and reinstalling dblatex?

> my general rule is not to run the default ubuntu latex, at all, unless
> i'm in user-support mode.

I don't use the Debian or Ubuntu (on another PC) latex at all but had to
install it as a dependency. I know there are workarounds with dummy
packages, but I didn't manage to do it that way and decided not to care
about the extra Gigabytes...


More information about the tex-live mailing list