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

circular dependency tl-base and tl-binaries (was: TL2009 build strangeties)



Hi,

just to remind us of the reason why we are discussing this:  Norbert
found that I introduced a circular dependency, tl-base and tl-binaries
depend on each other. This is bad.

Norbert Preining <preining@logic.at> wrote:

>> So the question is: Why should texlive-base depend on texlive-binaries?
>> Actually, there are two questions:
>
> Because the postinstall need kpsewhich etc etc etc... Or what do I miss?
> texlvive-base provides basic tex  and Huuuuuu
>
> I don't know how you did these installations without having a broken
> postinstall?!???

Below there's a log attached, just for completeness.

But actually we are (or I was) discussing with wrong assumptions.

Weeks ago when I did testing of installation and upgrades,
texlive-binaries wouldn't configure because the mktex* scripts in
/usr/share/texmf/web2c where missing.

At the moment this is not necessary, so we could just as well just drop
texlive-binaries' dependency on texlive-base (it works; tested with
--force-depends).  

However, I suspect that we have a bug.  Here's the relevant part from
texlive-binaries' postinst:

            for i in lsrfull ; do
                if [ "$i" = lsr ] ; then
                    if [ $do_lsr = 0 ] ; then
                        update-texmf-config lsr
                    fi
                fi
                if [ "$i" = lsrfull ] ; then
                    if [ $do_lsr = 0 ] ; then
                        update-texmf-config lsrfull
                    fi
                fi
                if [ "$i" = map ] ; then
                    update-texmf-config map
                fi
                if [ "$i" = allformats ] ; then
                    dhit_build_format --all
                fi
                if [ "$i" = format ] ; then
                    for fmt in  ; do
                        dhit_build_format --all --cnffile "/etc/texmf/fmt.d/$fmt.cnf"
                    done
                fi
                if [ "$i" = hyphen ] ; then
                    update-texmf-config hyphen
                fi
            done

Note that formats are not built at all.  Is that correct?  In the old
days, it was generally necessary to rebuilt the formats when the
binaries had changed.  Is that only becaus of pool files which are gone? 

Regards, Frank




--8<---------------cut here---------------start------------->8---
Script started on Thu Oct 15 11:22:48 2009
root@riesling:/# aptitude -d install texlive-binaries
Reading package lists... 
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information... 
Reading task descriptions... 
The following NEW packages will be installed:
  defoma{a} file{a} fontconfig-config{a} libexpat1{a} libfontconfig1{a} libfreetype6{a} libice6{a} libjpeg62{a} 
  libkpathsea5{a} libmagic1{a} libopenjpeg2{a} libpng12-0{a} libpoppler4{a} libsm6{a} libx11-6{a} libx11-data{a} 
  libxau6{a} libxaw7{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxml2{a} libxmu6{a} libxpm4{a} libxt6{a} luatex{a} 
  mime-support{a} tex-common{a} texlive-base{a} texlive-binaries texlive-common{a} texlive-doc-base{a} 
  ttf-dejavu{a} ttf-dejavu-core{a} ttf-dejavu-extra{a} ucf{a} x11-common{a} 
The following packages will be REMOVED:
  ca-certificates{u} libcurl3-gnutls{u} libgssapi-krb5-2{u} libidn11{u} libk5crypto3{u} libkeyutils1{u} 
  libkrb5-3{u} libkrb5support0{u} openssl{u} 
The following packages are RECOMMENDED but will NOT be installed:
  libfont-freetype-perl lmodern xml-core 
0 packages upgraded, 37 newly installed, 9 to remove and 0 not upgraded.
Need to get 36.8MB of archives. After unpacking 77.6MB will be used.
Do you want to continue? [Y/n/?] 
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  texlive-base texlive-common luatex libkpathsea5 texlive-binaries texlive-doc-base tex-common 

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
Writing extended state information... 
0% [Working]            
[...]
Reading package lists... 
Building dependency tree... 
Reading state information... 
Reading extended state information... 
Initializing package states... 
Writing extended state information... 
Reading task descriptions... 
root@riesling:/# cd /var/cache/apt/archives/
root@riesling:/var/cache/apt/archives# dpkg -i $(ls *deb | grep -v tex)
Selecting previously deselected package defoma.
(Reading database ... 
Unpacking defoma (from defoma_0.11.10-1_all.deb) ...
Selecting previously deselected package file.
Unpacking file (from file_5.03-2_i386.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from fontconfig-config_2.6.0-4_all.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from libexpat1_2.0.1-4_i386.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from libfontconfig1_2.6.0-4_i386.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from libfreetype6_2.3.9-5_i386.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from libice6_2%3a1.0.5-1_i386.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from libjpeg62_6b-15_i386.deb) ...
Selecting previously deselected package libkpathsea5.
Unpacking libkpathsea5 (from libkpathsea5_2009~svn15596-1_i386.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from libmagic1_5.03-2_i386.deb) ...
Selecting previously deselected package libopenjpeg2.
Unpacking libopenjpeg2 (from libopenjpeg2_1.3+dfsg-4_i386.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from libpng12-0_1.2.40-1_i386.deb) ...
Selecting previously deselected package libpoppler4.
Unpacking libpoppler4 (from libpoppler4_0.10.6-1_i386.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from libsm6_2%3a1.1.1-1_i386.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from libx11-6_2%3a1.2.2-1_i386.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from libx11-data_2%3a1.2.2-1_all.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from libxau6_1%3a1.0.5-1_i386.deb) ...
Selecting previously deselected package libxaw7.
Unpacking libxaw7 (from libxaw7_2%3a1.0.6-1_i386.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from libxcb1_1.4-1_i386.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from libxdmcp6_1%3a1.0.2-3_i386.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from libxext6_2%3a1.0.4-1_i386.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from libxml2_2.7.6.dfsg-1_i386.deb) ...
Selecting previously deselected package libxmu6.
Unpacking libxmu6 (from libxmu6_2%3a1.0.4-2_i386.deb) ...
Selecting previously deselected package libxpm4.
Unpacking libxpm4 (from libxpm4_1%3a3.5.7-2_i386.deb) ...
Selecting previously deselected package libxt6.
Unpacking libxt6 (from libxt6_1%3a1.0.6-1_i386.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from mime-support_3.46-1_all.deb) ...
Selecting previously deselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from ttf-dejavu-core_2.30-1_all.deb) ...
Selecting previously deselected package ttf-dejavu-extra.
Unpacking ttf-dejavu-extra (from ttf-dejavu-extra_2.30-1_all.deb) ...
Selecting previously deselected package ttf-dejavu.
Unpacking ttf-dejavu (from ttf-dejavu_2.30-1_all.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from ucf_3.0023_all.deb) ...
Moving old data out of the way
Selecting previously deselected package x11-common.
Unpacking x11-common (from x11-common_1%3a7.4+4_all.deb) ...
Setting up libexpat1 (2.0.1-4) ...
Setting up libfreetype6 (2.3.9-5) ...
Setting up libjpeg62 (6b-15) ...
Setting up libkpathsea5 (2009~svn15596-1) ...
Setting up libmagic1 (5.03-2) ...
Setting up libopenjpeg2 (1.3+dfsg-4) ...
Setting up libpng12-0 (1.2.40-1) ...
Setting up libx11-data (2:1.2.2-1) ...
Setting up libxau6 (1:1.0.5-1) ...
Setting up libxdmcp6 (1:1.0.2-3) ...
Setting up libxml2 (2.7.6.dfsg-1) ...
Setting up mime-support (3.46-1) ...
Setting up ucf (3.0023) ...
Setting up x11-common (1:7.4+4) ...
Setting up libxcb1 (1.4-1) ...
Setting up libx11-6 (2:1.2.2-1) ...
Setting up libxpm4 (1:3.5.7-2) ...
Processing triggers for man-db ...
Setting up file (5.03-2) ...
Setting up libice6 (2:1.0.5-1) ...
Setting up libsm6 (2:1.1.1-1) ...
Setting up libxext6 (2:1.0.4-1) ...
Setting up libxt6 (1:1.0.6-1) ...
Setting up defoma (0.11.10-1) ...
Setting up libxmu6 (2:1.0.4-2) ...
Setting up ttf-dejavu-core (2.30-1) ...
Setting up ttf-dejavu-extra (2.30-1) ...
Setting up ttf-dejavu (2.30-1) ...
Setting up fontconfig-config (2.6.0-4) ...
Setting up libfontconfig1 (2.6.0-4) ...
Setting up libpoppler4 (0.10.6-1) ...
Setting up libxaw7 (2:1.0.6-1) ...
root@riesling:/var/cache/apt/archives# dpkg -i tex-common_2.00_all.deb 
Selecting previously deselected package tex-common.
(Reading database ... 
Unpacking tex-common (from tex-common_2.00_all.deb) ...
Setting up tex-common (2.00) ...

Creating config file /etc/texmf/texmf.d/05TeXMF.cnf with new version

Creating config file /etc/texmf/texmf.d/15Plain.cnf with new version

Creating config file /etc/texmf/texmf.d/45TeXinputs.cnf with new version

Creating config file /etc/texmf/texmf.d/55Fonts.cnf with new version

Creating config file /etc/texmf/texmf.d/65BibTeX.cnf with new version

Creating config file /etc/texmf/texmf.d/75DviPS.cnf with new version

Creating config file /etc/texmf/texmf.d/85Misc.cnf with new version

Creating config file /etc/texmf/texmf.d/90TeXDoc.cnf with new version

Creating config file /etc/texmf/texmf.d/95NonPath.cnf with new version

Creating config file /etc/texmf/updmap.d/00updmap.cfg with new version

Creating config file /etc/texmf/texmf.cnf with new version
Processing triggers for man-db ...
root@riesling:/var/cache/apt/archives# dpkg -i live-common_2009~svn15596-1_all.deb 
Selecting previously deselected package texlive-common.
(Reading database ... 
Unpacking texlive-common (from texlive-common_2009~svn15596-1_all.deb) ...
Setting up texlive-common (2009~svn15596-1) ...
root@riesling:/var/cache/apt/archives# dpkg -i texlive-doc-base_2009~svn15596-1_all.deb 
Selecting previously deselected package texlive-doc-base.
(Reading database ... 
Unpacking texlive-doc-base (from texlive-doc-base_2009~svn15596-1_all.deb) ...
Setting up texlive-doc-base (2009~svn15596-1) ...
root@riesling:/var/cache/apt/archives# dpkg -i texlive-base_2009~svn15596-1_all.deb 
Selecting previously deselected package texlive-base.
(Reading database ... 
Unpacking texlive-base (from texlive-base_2009~svn15596-1_all.deb) ...
dpkg: dependency problems prevent configuration of texlive-base:
 texlive-base depends on luatex (>= 0.40.6); however:
  Package luatex is not installed.
 texlive-base depends on texlive-binaries (>= 2008); however:
  Package texlive-binaries is not installed.
dpkg: error processing texlive-base (--install):
 dependency problems - leaving unconfigured
Processing triggers for install-info ...
Errors were encountered while processing:
 texlive-base
root@riesling:/var/cache/apt/archives# dpkg --force-depends -i texlive-base_2009~svn15596-1_all.deb 
(Reading database ... 
Preparing to replace texlive-base 2009~svn15596-1 (using texlive-base_2009~svn15596-1_all.deb) ...
Reinstalling deleted mandatory conffile modes.mf
Unpacking replacement texlive-base ...
dpkg: texlive-base: dependency problems, but configuring anyway as you requested:
 texlive-base depends on luatex (>= 0.40.6); however:
  Package luatex is not installed.
 texlive-base depends on texlive-binaries (>= 2008); however:
  Package texlive-binaries is not installed.
Setting up texlive-base (2009~svn15596-1) ...
Processing triggers for install-info ...
root@riesling:/var/cache/apt/archives# dpkg --force-depends -i texlive-binaries_2009~svn15596-1_i386.deb 
Selecting previously deselected package texlive-binaries.
(Reading database ... 
Unpacking texlive-binaries (from texlive-binaries_2009~svn15596-1_i386.deb) ...
Setting up texlive-binaries (2009~svn15596-1) ...
update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode.
Processing triggers for man-db ...
Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
root@riesling:/var/cache/apt/archives# dpkg -i luatex_0.43.0-1_i386.deb 
Selecting previously deselected package luatex.
(Reading database ... 
Unpacking luatex (from luatex_0.43.0-1_i386.deb) ...
Setting up luatex (0.43.0-1) ...
Running mktexlsr. This may take some time... done.
Processing triggers for man-db ...
root@riesling:/var/cache/apt/archives# exit

Script done on Thu Oct 15 11:31:24 2009
--8<---------------cut here---------------end--------------->8---




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


Reply to: