[tldistro] Experimental mapping of texlive packages to rpm packages

Norbert Preining preining at logic.at
Mon Oct 24 17:12:25 CEST 2011


I will answer tomorrow or day after tomorrow, but this is all matter of a document I want to write.

Short answer: you are using the fmtutil.cnf (and updmap.cfg and language.dat) that ships with the full installation of TL.
Now if you install only parts of it that cannot work.
Puttingmy Debian hat on: why don't you look at the solution in Debian, which works the same way since 2005 ....?
You have to create fmtutil.cnf, updmap.cfg, language.dat, language.def and language.lua.dat based on the *actually* installed packages!!! This information is available in the tlpdb and via
  TeXLive::TLPDB:: updmap_lines 
or so.
You *cannot* and *should not* use the config files as shippedin texmf/ of TL!!!

Norbert
main TL hacker
main Debian TL hacker


------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                    TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------

On 2011/10/24, at 22:26, pcpa at mandriva.com.br wrote:

>  Hi,
> 
>  This is a bit Mandriva specific, but I was suggested to post
> it here also, as I did some work on a mapping of texlive
> packages as of texlive 2011 to rpm packages, instead of the
> current approach of some monolithic packages, and some extra
> magic to update the installation and upgrade from previous
> and/or alternative packages (the mandriva specific stuff).
> 
>  Major issue should be extra steps on updating configuration
> files, and the fact that the installation of texlive is not
> "in control" of the procedure, and it is desirable that every
> small package install and leaves in a consistent state in
> a small after install or after uninstall script, preferably
> without needing to parse a full texlive.tlpdb for every
> single package :-)
> 
>  Also, if one install with --nodocs, should drastically
> reduce disk space usage after install...
> 
>  Cut&paste of mail I posted to cooker mailing list below.
> 
> 
>  Hi,
> 
>  This weekend I stopped a bit my work on porting Mandriva for
> armv7 and did some rework on the texlive package.
> 
>  The previous approach was done trying to have it as easy as
> possible to update for newer versions, and hopefully have it
> settle and people not needing to download a large amount of
> data frequently. But it was not working very well...
> 
>  About build systems, it should have been using initial
> chroots with texlive pre installed, but also not always
> applicable.
> 
>  I should do a few more adjustments and tests, and shortly
> I plan to submit it to main/testing for better testing.
> 
>  It should cause some traffic on mirrors, but overall
> will cause the default installation to use far less
> disk space. Note that the "control" package is "texlive",
> and attempting to install by hand any of the subpackages
> without texlive and texlive-texmf installed will cause
> trouble.
> 
>  The packages name mapping match exactly upstream
> texlive distribution, with the exception of naming of
> binaries, that use the ".bin" extension, instead of
> ".i386-linux", ".x86_64-linux", etc, and contents of
> binary packages install in /usr/bin, instead of
> /usr/bin/%arch, as it uses rpm infrastructure to
> control architecture specific packages (and links
> dynamically).
> 
>  The default install is
> 
> texlive-scheme-basic
> 
> but it may be changed to one of:
> 
> texlive-scheme-context
> texlive-scheme-gust
> texlive-scheme-medium
> texlive-scheme-minimal
> texlive-scheme-tetex
> texlive-scheme-xml
> 
>  Should just not use:
> texlive-scheme-full
> 
> and texlive-scheme-medium is probably the only
> candidate, to add "latin languages stuff", while
> texlive-scheme-minimal may be too few things.
> 
>  To show I am not talking about "what if", below is an
> example upgrade:
> 
> $ LC_ALL=C rpm -qa | grep texlive
> texlive-texmf-20110705-3-mdv2012.0.noarch
> texlive-20110705-6-mdv2012.0.x86_64
> texlive-source-20110705-3-mdv2012.0.noarch
> texlive-doc-20110705-3-mdv2012.0.noarch
> texlive-fontsextra-20110705-3-mdv2012.0.noarch
> $ LC_ALL=C sudo urpmi texlive texlive-texmf
> The following packages have to be removed for others to be upgraded:
> texlive-doc-20110705-3-mdv2012.0.noarch
> (due to conflicts with texlive-metafont-20110705-3.1-mdv2012.0.noarch)
> texlive-source-20110705-3-mdv2012.0.noarch
> (due to conflicts with texlive-mflogo-20110705-3.1-mdv2012.0.noarch) (y/N) y
> To satisfy dependencies, the following packages are going to be installed:
> Package                        Version      Release       Dist  DEpoch Arch
> (medium "texlive")
> texlive                        20110705     6.1           mdv   2012.0 x86_64
> texlive-ae                     20110705     3.1           mdv   2012.0 noarch
> texlive-amscls                 20110705     3.1           mdv   2012.0 noarch
> texlive-amsfonts               20110705     3.1           mdv   2012.0 noarch
> texlive-amsmath                20110705     3.1           mdv   2012.0 noarch
> texlive-babel                  20110705     3.1           mdv   2012.0 noarch
> texlive-babelbib               20110705     3.1           mdv   2012.0 noarch
> texlive-bibtex                 20110705     3.1           mdv   2012.0 noarch
> texlive-bibtex.bin             20110705     6.1           mdv   2012.0 x86_64
> texlive-carlisle               20110705     3.1           mdv   2012.0 noarch
> texlive-cm                     20110705     3.1           mdv   2012.0 noarch
> texlive-cm-super               20110705     3.1           mdv   2012.0 noarch
> texlive-collection-basic       20110705     3.1           mdv   2012.0 noarch
> texlive-collection-documentat> 20110705     3.1           mdv   2012.0 noarch
> texlive-collection-latex       20110705     3.1           mdv   2012.0 noarch
> texlive-colortbl               20110705     3.1           mdv   2012.0 noarch
> texlive-dvipdfm                20110705     3.1           mdv   2012.0 noarch
> texlive-dvipdfm.bin            20110705     6.1           mdv   2012.0 x86_64
> texlive-dvipdfmx               20110705     3.1           mdv   2012.0 noarch
> texlive-dvipdfmx-def           20110705     3.1           mdv   2012.0 noarch
> texlive-dvipdfmx.bin           20110705     6.1           mdv   2012.0 x86_64
> texlive-dvips                  20110705     3.1           mdv   2012.0 noarch
> texlive-dvips.bin              20110705     6.1           mdv   2012.0 x86_64
> texlive-enctex                 20110705     3.1           mdv   2012.0 noarch
> texlive-etex                   20110705     3.1           mdv   2012.0 noarch
> texlive-etex-pkg               20110705     3.1           mdv   2012.0 noarch
> texlive-fancyhdr               20110705     3.1           mdv   2012.0 noarch
> texlive-fix2col                20110705     3.1           mdv   2012.0 noarch
> texlive-geometry               20110705     3.1           mdv   2012.0 noarch
> texlive-glyphlist              20110705     3.1           mdv   2012.0 noarch
> texlive-graphics               20110705     3.1           mdv   2012.0 noarch
> texlive-gsftopk                20110705     3.1           mdv   2012.0 noarch
> texlive-gsftopk.bin            20110705     6.1           mdv   2012.0 x86_64
> texlive-hyperref               20110705     3.1           mdv   2012.0 noarch
> texlive-hyph-utf8              20110705     3.1           mdv   2012.0 noarch
> texlive-hyphen-base            20110705     3.1           mdv   2012.0 noarch
> texlive-ifluatex               20110705     3.1           mdv   2012.0 noarch
> texlive-ifxetex                20110705     3.1           mdv   2012.0 noarch
> texlive-kpathsea               20110705     3.1           mdv   2012.0 noarch
> texlive-kpathsea.bin           20110705     6.1           mdv   2012.0 x86_64
> texlive-latex                  20110705     3.1           mdv   2012.0 noarch
> texlive-latex-bin              20110705     3.1           mdv   2012.0 noarch
> texlive-latex-bin.bin          20110705     6.1           mdv   2012.0 x86_64
> texlive-latex-fonts            20110705     3.1           mdv   2012.0 noarch
> texlive-latexconfig            20110705     3.1           mdv   2012.0 noarch
> texlive-ltxmisc                20110705     3.1           mdv   2012.0 noarch
> texlive-lua-alt-getopt         20110705     3.1           mdv   2012.0 noarch
> texlive-luatex                 20110705     3.1           mdv   2012.0 noarch
> texlive-luatex.bin             20110705     6.1           mdv   2012.0 x86_64
> texlive-makeindex              20110705     3.1           mdv   2012.0 noarch
> texlive-makeindex.bin          20110705     6.1           mdv   2012.0 x86_64
> texlive-metafont               20110705     3.1           mdv   2012.0 noarch
> texlive-metafont.bin           20110705     6.1           mdv   2012.0 x86_64
> texlive-mflogo                 20110705     3.1           mdv   2012.0 noarch
> texlive-mfnfss                 20110705     3.1           mdv   2012.0 noarch
> texlive-mfware                 20110705     3.1           mdv   2012.0 noarch
> texlive-mfware.bin             20110705     6.1           mdv   2012.0 x86_64
> texlive-misc                   20110705     3.1           mdv   2012.0 noarch
> texlive-mptopdf                20110705     3.1           mdv   2012.0 noarch
> texlive-mptopdf.bin            20110705     6.1           mdv   2012.0 x86_64
> texlive-natbib                 20110705     3.1           mdv   2012.0 noarch
> texlive-oberdiek               20110705     3.1           mdv   2012.0 noarch
> texlive-pdftex                 20110705     3.1           mdv   2012.0 noarch
> texlive-pdftex-def             20110705     3.1           mdv   2012.0 noarch
> texlive-pdftex.bin             20110705     6.1           mdv   2012.0 x86_64
> texlive-plain                  20110705     3.1           mdv   2012.0 noarch
> texlive-pslatex                20110705     3.1           mdv   2012.0 noarch
> texlive-psnfss                 20110705     3.1           mdv   2012.0 noarch
> texlive-pspicture              20110705     3.1           mdv   2012.0 noarch
> texlive-scheme-basic           20110705     3.1           mdv   2012.0 noarch
> texlive-tcdialog               20110705     3.1           mdv   2012.0 noarch
> texlive-tcdialog.bin           20110705     6.1           mdv   2012.0 x86_64
> texlive-tetex                  20110705     3.1           mdv   2012.0 noarch
> texlive-tetex.bin              20110705     6.1           mdv   2012.0 x86_64
> texlive-tex                    20110705     3.1           mdv   2012.0 noarch
> texlive-tex.bin                20110705     6.1           mdv   2012.0 x86_64
> texlive-texconfig              20110705     3.1           mdv   2012.0 noarch
> texlive-texconfig.bin          20110705     6.1           mdv   2012.0 x86_64
> texlive-texlive-common         20110705     3.1           mdv   2012.0 noarch
> texlive-texlive-docindex       20110705     3.1           mdv   2012.0 noarch
> texlive-texlive-en             20110705     3.1           mdv   2012.0 noarch
> texlive-texlive-scripts        20110705     3.1           mdv   2012.0 noarch
> texlive-texlive-scripts.bin    20110705     6.1           mdv   2012.0 x86_64
> texlive-texmf                  20110705     3.1           mdv   2012.0 noarch
> texlive-tools                  20110705     3.1           mdv   2012.0 noarch
> texlive-xdvi                   20110705     3.1           mdv   2012.0 noarch
> texlive-xdvi.bin               20110705     6.1           mdv   2012.0 x86_64
> texlive-xmltex                 20110705     3.1           mdv   2012.0 noarch
> texlive-xmltex.bin             20110705     6.1           mdv   2012.0 x86_64
> 1.8GB of disk space will be freed.
> 220MB of packages will be retrieved.
> Proceed with the installation of the 89 packages? (Y/n) Y
> 
> 
> 
> 
> installing texlive-scheme-basic-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-misc-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-collection-documentation-base-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-luatex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-dvipdfmx-def-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-ifxetex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-makeindex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-tetex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-colortbl-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-dvipdfm-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-kpathsea-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-plain-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-hyph-utf8-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-gsftopk.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-fix2col-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-pdftex-def-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-enctex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-pspicture-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-bibtex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-cm-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-lua-alt-getopt-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-amsmath-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mfware.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-natbib-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-xmltex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-babelbib-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-dvipdfm.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-graphics-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-metafont-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-psnfss-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texlive-scripts-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-xdvi-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-dvips-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-metafont.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-geometry-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texconfig-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-luatex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tools-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-amsfonts-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-oberdiek-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-gsftopk-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texlive-scripts.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-glyphlist-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-carlisle-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tcdialog.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-hyphen-base-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-latex-bin.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-dvips.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-xdvi.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-dvipdfmx.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-latex-bin-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-hyperref-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texmf-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mptopdf-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-collection-basic-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-makeindex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mflogo-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-collection-latex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-ifluatex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-etex-pkg-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-pdftex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-pdftex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-fancyhdr-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-amscls-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mfnfss-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texlive-en-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-ae-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-latex-fonts-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tcdialog-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-texlive-common-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-xmltex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-etex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-ltxmisc-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-cm-super-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-latexconfig-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mfware-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-babel-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-tetex.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-dvipdfmx-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-kpathsea.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-texconfig.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-texlive-docindex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-pslatex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-mptopdf.bin-20110705-6.1-mdv2012.0.x86_64.rpm
> texlive-bibtex-20110705-3.1-mdv2012.0.noarch.rpm
> texlive-latex-20110705-3.1-mdv2012.0.noarch.rpm from
> //home/pcpa/mandriva/svn/texlive-extra/repo
> warning: LOOP:
> warning: removing texlive-tetex.bin-20110705-6.1.x86_64 "Requires:
> /usr/share/texmf/scripts/tetex/updmap.pl" from tsort relations.
> warning: removing texlive-tetex-20110705-3.1.noarch "Requires: texlive-tetex.bin
> = 20110705" from tsort relations.
> warning: LOOP:
> warning: removing texlive-texlive-scripts.bin-20110705-6.1.x86_64 "Requires:
> /usr/share/texmf/scripts/texlive/rungs.tlu" from tsort relations.
> warning: removing texlive-texlive-scripts-20110705-3.1.noarch "Requires:
> texlive-texlive-scripts.bin = 20110705" from tsort relations.
> warning: LOOP:
> warning: removing texlive-mptopdf.bin-20110705-6.1.x86_64 "Requires:
> /usr/share/texmf-dist/scripts/context/perl/mptopdf.pl" from tsort relations.
> warning: removing texlive-mptopdf-20110705-3.1.noarch "Requires:
> texlive-mptopdf.bin = 20110705" from tsort relations.
> warning: LOOP:
> warning: removing texlive-pdftex.bin-20110705-6.1.x86_64 "Requires:
> /usr/share/texmf/scripts/simpdftex/simpdftex" from tsort relations.
> warning: removing texlive-pdftex-20110705-3.1.noarch "Requires:
> texlive-pdftex.bin = 20110705" from tsort relations.
> Preparing...                     #############################################
>     1/89: texlive-latexconfig   #############################################
>     2/89: texlive-latex-fonts   #############################################
>     3/89: texlive-texmf         #############################################
>     4/89: texlive-dvipdfmx.bin  #############################################
>     5/89: texlive-glyphlist     #############################################
>     6/89: texlive-graphics      #############################################
>     7/89: texlive-luatex.bin    #############################################
>     8/89: texlive-dvipdfmx-def  #############################################
>     9/89: texlive-texconfig.bin #############################################
>    10/89: texlive-texlive-docindex
>                                 #############################################
>    11/89: texlive-pslatex       #############################################
>    12/89: texlive-babel         #############################################
>    13/89: texlive-etex          #############################################
>    14/89: texlive-ltxmisc       #############################################
>    15/89: texlive-texlive-common
>                                 #############################################
>    16/89: texlive-texlive-en    #############################################
>    17/89: texlive-ae            #############################################
>    18/89: texlive-mfnfss        #############################################
>    19/89: texlive-amscls        #############################################
>    20/89: texlive-fancyhdr      #############################################
>    21/89: texlive-etex-pkg      #############################################
>    22/89: texlive-tex.bin       #############################################
>    23/89: texlive-ifluatex      #############################################
>    24/89: texlive-mflogo        #############################################
>    25/89: texlive-hyperref      #############################################
>    26/89: texlive-xdvi.bin      #############################################
>    27/89: texlive-dvips.bin     #############################################
>    28/89: texlive-hyphen-base   #############################################
>    29/89: texlive-tcdialog.bin  #############################################
>    30/89: texlive-carlisle      #############################################
>    31/89: texlive-oberdiek      #############################################
>    32/89: texlive-amsfonts      #############################################
>    33/89: texlive-tools         #############################################
>    34/89: texlive-metafont.bin  #############################################
>    35/89: texlive-geometry      #############################################
>    36/89: texlive-babelbib      #############################################
>    37/89: texlive-mfware.bin    #############################################
>    38/89: texlive-natbib        #############################################
>    39/89: texlive-amsmath       #############################################
>    40/89: texlive-lua-alt-getopt
>                                 #############################################
>    41/89: texlive-bibtex.bin    #############################################
>    42/89: texlive-cm            #############################################
>    43/89: texlive-pspicture     #############################################
>    44/89: texlive-enctex        #############################################
>    45/89: texlive-pdftex-def    #############################################
>    46/89: texlive-fix2col       #############################################
>    47/89: texlive-gsftopk.bin   #############################################
>    48/89: texlive-hyph-utf8     #############################################
>    49/89: texlive-plain         #############################################
>    50/89: texlive-colortbl      #############################################
>    51/89: texlive-makeindex.bin #############################################
>    52/89: texlive-ifxetex       #############################################
>    53/89: texlive-misc          #############################################
> removing package texlive-source-20110705-3.noarch
> removing package texlive-doc-20110705-3.noarch
>    54/89: texlive-cm-super      #############################################
>    55/89: texlive               #############################################
>    56/89: texlive-dvipdfm.bin   #############################################
>    57/89: texlive-psnfss        #############################################
>    58/89: texlive-luatex        #############################################
>    59/89: texlive-dvipdfmx      #############################################
>    60/89: texlive-texconfig     #############################################
>    61/89: texlive-collection-documentation-base
>                                 #############################################
>    62/89: texlive-xdvi          #############################################
>    63/89: texlive-dvips         #############################################
>    64/89: texlive-tcdialog      #############################################
>    65/89: texlive-mfware        #############################################
>    66/89: texlive-gsftopk       #############################################
>    67/89: texlive-makeindex     #############################################
>    68/89: texlive-dvipdfm       #############################################
>    69/89: texlive-tetex.bin     #############################################
>    70/89: texlive-mptopdf       #############################################
>    71/89: texlive-texlive-scripts
>                                 #############################################
>    72/89: texlive-tetex         #############################################
>    73/89: texlive-mptopdf.bin   #############################################
>    74/89: texlive-texlive-scripts.bin
>                                 #############################################
>    75/89: texlive-kpathsea.bin  #############################################
>    76/89: texlive-kpathsea      #############################################
>    77/89: texlive-tex           #############################################
>    78/89: texlive-metafont      #############################################
>    79/89: texlive-bibtex        #############################################
>    80/89: texlive-pdftex        #############################################
>    81/89: texlive-pdftex.bin    #############################################
>    82/89: texlive-collection-basic
>                                 #############################################
>    83/89: texlive-latex         #############################################
>    84/89: texlive-latex-bin.bin #############################################
>    85/89: texlive-xmltex.bin    #############################################
>    86/89: texlive-latex-bin     #############################################
>    87/89: texlive-xmltex        #############################################
>    88/89: texlive-collection-latex
>                                 #############################################
>    89/89: texlive-scheme-basic  #############################################
> /usr/bin/fmtutil: line 375: aleph: command not found
> Error: `aleph -ini  -jobname=aleph -progname=aleph *aleph.ini' failed
> Error: `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx
> *latex.ini' failed
> Error: `pdftex -ini  -jobname=pdflatex -progname=pdflatex
> -translate-file=cp227.tcx *pdflatex.ini' failed
> Error: `pdftex -ini  -jobname=mllatex -progname=mllatex
> -translate-file=cp227.tcx -mltex mllatex.ini' failed
> Error: `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> Error: `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx
> *etex.ini' failed
> Error: `pdftex -ini  -jobname=pdfetex -progname=pdfetex
> -translate-file=cp227.tcx *pdfetex.ini' failed
> /usr/bin/fmtutil: line 375: xetex: command not found
> Error: `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
> /usr/bin/fmtutil: line 375: xetex: command not found
> Error: `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
> Error: `pdftex -ini  -jobname=xmltex -progname=xmltex *xmltex.ini' failed
> Error: `pdftex -ini  -jobname=pdfxmltex -progname=pdfxmltex *pdfxmltex.ini' failed
> 
> ###############################################################################
> fmtutil: Error! Not all formats have been built successfully.
> Visit the log files in directory
>  /var/lib/texmf/web2c
> for details.
> ###############################################################################
> 
> This is a summary of all `failed' messages:
> `aleph -ini  -jobname=aleph -progname=aleph *aleph.ini' failed
> `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx
> *latex.ini' failed
> `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx
> *pdflatex.ini' failed
> `pdftex -ini  -jobname=mllatex -progname=mllatex -translate-file=cp227.tcx
> -mltex mllatex.ini' failed
> `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini'
> failed
> `pdftex -ini  -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
> `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
> `pdftex -ini  -jobname=xmltex -progname=xmltex *xmltex.ini' failed
> `pdftex -ini  -jobname=pdfxmltex -progname=pdfxmltex *pdfxmltex.ini' failed
> /var/tmp/rpm-tmp.19266: line 5: /usr/bin/mtxrun: No such file or directory
> error: %posttrans(texlive-20110705-6.1.x86_64) scriptlet failed, exit status 127
> 
>  I need to figure out how to properly handle the errors at
> the %post of texlive. Probably just ignore and not print
> them, as they are caused due to starting of with config
> files assuming a full texlive install.
> 
>  So, now it has:
> 
> $ du -s /usr/share/texmf /usr/share/texmf-dist
> 29M     /usr/share/texmf
> 208M    /usr/share/texmf-dist
> 
>  That should somewhat match what I commented some time ago
> in another thread, where I said it should be possible to
> have a functional texlive install in less than 300Mb.
> 
> 
>  But for example, in the first test I found this issue,
> running lyx in one of its example files, I see the
> log error:
> 
> ...
> ! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found.
> ...
> ! LaTeX Error: File `url.sty' not found.
> ...
> 
> $ urpmf ecrm1000
> texlive-blacklettert1:/usr/share/texmf-dist/source/fonts/blacklettert1/ecrm1000.pl
> texlive-ec:/usr/share/texmf-dist/fonts/source/jknappen/ec/ecrm1000.mf
> texlive-ec:/usr/share/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm
> texlive-source:/usr/share/texmf-dist/source/fonts/blacklettert1/ecrm1000.pl
> texlive-texmf:/usr/share/texmf-dist/fonts/source/jknappen/ec/ecrm1000.mf
> texlive-texmf:/usr/share/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm
> [pcpa at underdog x-texlive-texmf]$ sudo rpm -e texlive-anyfontsize
> [pcpa at underdog x-texlive-texmf]$ sudo urpmi texlive-ec
> 
> $ sudo urpmi texlive-ec
> 
> 
> instalando texlive-ec-20110705-3.1-mdv2012.0.noarch.rpm a partir de
> //home/pcpa/mandriva/svn/texlive-extra/repo
> Preparando...                    #############################################
>      1/1: texlive-ec            #############################################
> 
> $ urpmf url.sty
> texlive-url:/usr/share/texmf-dist/tex/latex/url/url.sty
> texlive-breakurl:/usr/share/texmf-dist/tex/latex/breakurl/breakurl.sty
> texlive-gmutils:/usr/share/texmf-dist/tex/latex/gmutils/gmurl.sty
> latex2html:/usr/lib/latex2html/docs/url.sty
> latex2html:/usr/lib/latex2html/texinputs/url.sty
> texlive-texmf:/usr/share/texmf-dist/tex/latex/breakurl/breakurl.sty
> texlive-texmf:/usr/share/texmf-dist/tex/latex/gmutils/gmurl.sty
> texlive-texmf:/usr/share/texmf-dist/tex/latex/url/url.sty
> tetex-latex:/usr/share/texmf/tex/latex/url/url.sty
> lib64flickcurl-devel:/usr/share/gtk-doc/html/flickcurl/style.css
> 
> $ sudo urpmi texlive-url
> 
> 
> instalando texlive-url-20110705-3.1-mdv2012.0.noarch.rpm a partir de
> //home/pcpa/mandriva/svn/texlive-extra/repo
> Preparando...                    #############################################
>      1/1: texlive-url           #############################################
> 
> 
> ***but*** lyx would still not work, so, after the above, I run
> $ rpm -q --scripts texlive
> posttransinstall scriptlet (using /bin/sh):
> rm -f /usr/share/texmf/ls-R /usr/share/texmf-dist/ls-R
> /usr/bin/mktexlsr /usr/share/texmf /usr/share/texmf-dist > /dev/null
> /usr/bin/updmap-sys --syncwithtrees > /dev/null
> /usr/bin/texconfig-sys init > /dev/null
> /usr/bin/mtxrun --generate > /dev/null
> 
> and in another xterm:
> -%<-
> $ sudo su
> [root at underdog pcpa]# rm -f /usr/share/texmf/ls-R /usr/share/texmf-dist/ls-R
> [root at underdog pcpa]# /usr/bin/mktexlsr /usr/share/texmf /usr/share/texmf-dist >
> /dev/null
> mktexlsr: Updating /usr/share/texmf/ls-R...
> mktexlsr: Updating /usr/share/texmf-dist/ls-R...
> mktexlsr: Done.
> # /usr/bin/updmap-sys --syncwithtrees > /dev/null
> # /usr/bin/texconfig-sys init > /dev/null
> /usr/bin/fmtutil: line 375: aleph: comando não encontrado
> Error: `aleph -ini  -jobname=aleph -progname=aleph *aleph.ini' failed
> Error: `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx
> *latex.ini' failed
> Error: `pdftex -ini  -jobname=pdflatex -progname=pdflatex
> -translate-file=cp227.tcx *pdflatex.ini' failed
> Error: `pdftex -ini  -jobname=mllatex -progname=mllatex
> -translate-file=cp227.tcx -mltex mllatex.ini' failed
> Error: `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> Error: `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx
> *etex.ini' failed
> Error: `pdftex -ini  -jobname=pdfetex -progname=pdfetex
> -translate-file=cp227.tcx *pdfetex.ini' failed
> /usr/bin/fmtutil: line 375: xetex: comando não encontrado
> Error: `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
> /usr/bin/fmtutil: line 375: xetex: comando não encontrado
> Error: `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
> Error: `pdftex -ini  -jobname=xmltex -progname=xmltex *xmltex.ini' failed
> Error: `pdftex -ini  -jobname=pdfxmltex -progname=pdfxmltex *pdfxmltex.ini' failed
> 
> ###############################################################################
> fmtutil: Error! Not all formats have been built successfully.
> Visit the log files in directory
>  /var/lib/texmf/web2c
> for details.
> ###############################################################################
> 
> This is a summary of all `failed' messages:
> `aleph -ini  -jobname=aleph -progname=aleph *aleph.ini' failed
> `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx
> *latex.ini' failed
> `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx
> *pdflatex.ini' failed
> `pdftex -ini  -jobname=mllatex -progname=mllatex -translate-file=cp227.tcx
> -mltex mllatex.ini' failed
> `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini'
> failed
> `pdftex -ini  -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx
> *pdfetex.ini' failed
> `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
> `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
> `pdftex -ini  -jobname=xmltex -progname=xmltex *xmltex.ini' failed
> `pdftex -ini  -jobname=pdfxmltex -progname=pdfxmltex *pdfxmltex.ini' failed
> # /usr/bin/mtxrun --generate > /dev/null
> bash: /usr/bin/mtxrun: Arquivo ou diretório não encontrado
> -%<-
> 
>  And after it, lyx works to generate a pdf preview of its sample
> file...
>  The procedure above looks like it may cause enough problems that
> it may not be worth it the split, because problems would happen
> here and there, but, should be easy to fix, possibly by requiring
> texlive-scheme-tetex instead of texlive-scheme-basic...
> 
> 
>  You can see the current script used to generate spec files at:
> http://svn.mandriva.com/viewvc/packages/cooker/texlive-extra/current/SOURCES/texlive.pl?view=markup
> 
> and it should be slightly changed, to include the texlive.tlpdb
> and the script itself in the texlive-texmf.spec, so that it should
> make it easier to repeat the procedures and have it self documented
> in the source rpm.
> 
>  A future could be to patch tlpkg to use the sample texlive.tlpdb
> and use urpmi/rpm to install packages.
> 
>  Any comments, feedback?
> 
> Thanks,
> Paulo



More information about the tldistro mailing list