[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#603068: tex-common,texlive-binaries: can't be installed together

Hi Holger,

Holger Levsen <holger@layer-acht.org> wrote:

> Hi, 
> during a test with piuparts I noticed some packages fail to install if 
> tex-common and texlive-binaries are to be installed together. I dont fully 
> understand why this happens, but hope we can together figure out what 
> happens, and reassign this bug to the right package.

I cannot reproduce this in a sid chroot on i386.

> From the attached log of mftrace (scroll to the bottom...):
>   Setting up tex-common (2.06) ...

Why 2.06?  2.07 was uploaded to sid in February, 2.08 in June.

>   [...]
>   Running mktexlsr. This may take some time... done.
>   No packages found matching texlive-base.
>   dpkg: error processing tex-common (--configure):

I get:

Setting up tex-common (2.08) ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
texlive-base is not ready, skipping fmtutil-sys --all call
Setting up texlive-common (2009-11) ...

This is the code in the postinst that generates the message:

         if dhit_libkpathsea_configured; then
             if which updmap-sys >/dev/null; then
                    # we also have to check that texlive-base is installed
                    # and configured, otherwise we cannot be sure that
                    # all necessary basic files are present
                    # dpkg-query has two defects wrt not existing packages
                    # - it is noisy to stderr
                    # - it returns 1
                    # so shut both errors up
                    stat=$(dpkg-query -W -f='${Status}' texlive-base 2>/dev/null || true)
                    case "$stat" in
                        "install ok installed")
                    if [ "$do_it" = 0 ] ; then
                        echo "texlive-base is not ready, delaying updmap-sys call" >&2
                        tempfile=$(mktemp -p /tmp updmap.XXXXXXXX)
                        printf "Running updmap-sys. This may take some time... "

On your system, dpkg-query says

No packages found matching texlive-base.

which should be on stderr which is supposed to be discarded (an if it
was on stdout, it would end up in the stat variable anyway).

I don't get it.

> At least the following packages are affected: 

Irrespective of whether tex-common has a bug, all those packages are
probably buggy, since it seems they depend on texlive-binaries.  This
package does not provide any functionality to outsiders. Only with
texlive-base can they expect anything usable.

Regards, Frank
Dr. Frank Küster
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
B90/Grüne KV Miltenberg
Debian Developer (TeXLive)

Reply to: