web-dev-qa-db-ja.com

TexLive 2012のインストールから発生する構成スタイルの警告に対処する方法

texlive-backports PPAを使用してTexLive 2012をインストールする方法に関するizx のアドバイスに従いました。始める前に、TexLive関連のパッケージをすべて削除しました。インストールが完了し、すべてが正常に機能しているようです。気付いたのは、インストーラーの出力にあるいくつかのwarningsだけです。出力の抜粋は次のとおりです。

Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

残りの出力には、この種の詳細があります。

$ Sudo apt-get install texlive                                                                                                                                        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  latex-beamer latex-xcolor libgraphite3 libkpathsea6 libptexenc1 lmodern pgf prosper ps2eps tex-common tex-gyre texlive-base texlive-binaries texlive-common texlive-doc-base texlive-extra-utils
  texlive-font-utils texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended texlive-latex-recommended-doc
  texlive-pstricks texlive-pstricks-doc tipa ttf-marvosym
Suggested packages:
  texlive-doc-en purifyeps chktex latexmk dvipng xindy dvidvi fragmaster lacheck latexdiff t1utils
The following NEW packages will be installed:
  latex-beamer latex-xcolor libgraphite3 libkpathsea6 libptexenc1 lmodern pgf prosper ps2eps tex-common tex-gyre texlive texlive-base texlive-binaries texlive-common texlive-doc-base texlive-extra-utils
  texlive-font-utils texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended texlive-latex-recommended-doc
  texlive-pstricks texlive-pstricks-doc tipa ttf-marvosym
0 upgraded, 29 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/274 MB of archives.
After this operation, 450 MB of additional disk space will be used.
Do you want to continue [Y/n]? 

Preconfiguring packages ...
Selecting previously unselected package tex-common.
(Reading database ... 290206 files and directories currently installed.)
Unpacking tex-common (from .../tex-common_3.13~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package lmodern.
Unpacking lmodern (from .../lmodern_2.004.1-5~precise1_all.deb) ...
Selecting previously unselected package tex-gyre.
Unpacking tex-gyre (from .../tex-gyre_2.004.1-4~precise1_all.deb) ...
Selecting previously unselected package libgraphite3.
Unpacking libgraphite3 (from .../libgraphite3_1%3a2.3.1-0.2build1_AMD64.deb) ...
Selecting previously unselected package libkpathsea6.
Unpacking libkpathsea6 (from .../libkpathsea6_2012.20120628-1~ubuntu12.04.1_AMD64.deb) ...
Selecting previously unselected package libptexenc1.
Unpacking libptexenc1 (from .../libptexenc1_2012.20120628-1~ubuntu12.04.1_AMD64.deb) ...
Selecting previously unselected package texlive-common.
Unpacking texlive-common (from .../texlive-common_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-binaries.
Unpacking texlive-binaries (from .../texlive-binaries_2012.20120628-1~ubuntu12.04.1_AMD64.deb) ...
Selecting previously unselected package texlive-doc-base.
Unpacking texlive-doc-base (from .../texlive-doc-base_2012.20120611-1~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-base.
Unpacking texlive-base (from .../texlive-base_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-latex-base.
Unpacking texlive-latex-base (from .../texlive-latex-base_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-latex-recommended.
Unpacking texlive-latex-recommended (from .../texlive-latex-recommended_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package latex-xcolor.
Unpacking latex-xcolor (from .../latex-xcolor_2.11-1_all.deb) ...
Selecting previously unselected package pgf.
Unpacking pgf (from .../archives/pgf_2.10-1_all.deb) ...
Selecting previously unselected package latex-beamer.
Unpacking latex-beamer (from .../latex-beamer_3.10-1_all.deb) ...
Selecting previously unselected package texlive-generic-recommended.
Unpacking texlive-generic-recommended (from .../texlive-generic-recommended_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-pstricks.
Unpacking texlive-pstricks (from .../texlive-pstricks_2012.20120611-1~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package prosper.
Unpacking prosper (from .../prosper_1.00.4+cvs.2007.05.01-4_all.deb) ...
Selecting previously unselected package ps2eps.
Unpacking ps2eps (from .../ps2eps_1.68-1_AMD64.deb) ...
Selecting previously unselected package ttf-marvosym.
Unpacking ttf-marvosym (from .../ttf-marvosym_0.1+dfsg-2_all.deb) ...
Selecting previously unselected package texlive-fonts-recommended.
Unpacking texlive-fonts-recommended (from .../texlive-fonts-recommended_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive.
Unpacking texlive (from .../texlive_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-extra-utils.
Unpacking texlive-extra-utils (from .../texlive-extra-utils_2012.20120611-1~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-font-utils.
Unpacking texlive-font-utils (from .../texlive-font-utils_2012.20120611-1~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-fonts-recommended-doc.
Unpacking texlive-fonts-recommended-doc (from .../texlive-fonts-recommended-doc_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-latex-base-doc.
Unpacking texlive-latex-base-doc (from .../texlive-latex-base-doc_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-latex-recommended-doc.
Unpacking texlive-latex-recommended-doc (from .../texlive-latex-recommended-doc_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package texlive-pstricks-doc.
Unpacking texlive-pstricks-doc (from .../texlive-pstricks-doc_2012.20120611-1~ubuntu12.04.1_all.deb) ...
Selecting previously unselected package tipa.
Unpacking tipa (from .../tipa_2%3a1.3-17~precise1_all.deb) ...
Processing triggers for doc-base ...
Processing 5 added doc-base files...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Processing triggers for fontconfig ...
Processing triggers for install-info ...
Setting up tex-common (3.13~ubuntu12.04.1) ...
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 lmodern (2.004.1-5~precise1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up tex-gyre (2.004.1-4~precise1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up libgraphite3 (1:2.3.1-0.2build1) ...
Setting up libkpathsea6 (2012.20120628-1~ubuntu12.04.1) ...
Setting up libptexenc1 (2012.20120628-1~ubuntu12.04.1) ...
Setting up texlive-common (2012.20120611-3~ubuntu12.04.1) ...
Setting up texlive-binaries (2012.20120628-1~ubuntu12.04.1) ...
update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode.
update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode.
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Building format(s) --refresh.
    This may take some time... done.
Setting up texlive-doc-base (2012.20120611-1~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up ps2eps (1.68-1) ...
Setting up ttf-marvosym (0.1+dfsg-2) ...
Setting up texlive-fonts-recommended-doc (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-latex-base-doc (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-latex-recommended-doc (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-pstricks-doc (2012.20120611-1~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
Setting up texlive-base (2012.20120611-3~ubuntu12.04.1) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
/usr/bin/tl-paper: setting paper size for dvips to a4.
/usr/bin/tl-paper: setting paper size for dvipdfmx to a4.
/usr/bin/tl-paper: setting paper size for xdvi to a4.
/usr/bin/tl-paper: setting paper size for pdftex to a4.


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Running mktexlsr. This may take some time... done.
Building format(s) --all.
    This may take some time... done.
Processing triggers for tex-common ...
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Setting up texlive-generic-recommended (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-fonts-recommended (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-extra-utils (2012.20120611-1~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-font-utils (2012.20120611-1~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-latex-base (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Running mktexlsr. This may take some time... done.
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-latex-base.cnf.
    This may take some time... done.
Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Setting up texlive-pstricks (2012.20120611-1~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up tipa (2:1.3-17~precise1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Setting up texlive-latex-recommended (2012.20120611-3~ubuntu12.04.1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Setting up prosper (1.00.4+cvs.2007.05.01-4) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Running mktexlsr. This may take some time... done.
Setting up texlive (2012.20120611-3~ubuntu12.04.1) ...
Setting up latex-xcolor (2.11-1) ...
mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Setting up pgf (2.10-1) ...


Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
Setting up latex-beamer (3.10-1) ...
mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

10lmodern.cfgは何に適していますか?この警告を防ぐにはどうすればよいですか?


Sudo update-updmapの出力は次のとおりです。

$ Sudo update-updmap
Regenerating '/var/lib/texmf/updmap.cfg-DEBIAN'... 

Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included, 
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg

done.
Regenerating '/var/lib/texmf/updmap.cfg-TEXLIVEDIST'... done.
update-updmap has updated the following file(s):
    /var/lib/texmf/updmap.cfg-DEBIAN
    /var/lib/texmf/updmap.cfg-TEXLIVEDIST
If you want to enable the map files with this new file,
you should run updmap-sys or updmap.
5
JJD

NEWS.Debian file をご覧ください。以下はこのファイルからのものです。

Debian用にパッケージ化されていないPostScriptフォントを使用している場合、いくつかの変更が行われています。updmapは、検出したallupdmap.cfgファイルを読み取ります。つまり、それぞれのマップ行を/usr/local/share/texmf/web2c/updmap.cfgに入れ、updmap-sysを1回(rootとして)呼び出すことで、ローカルフォント(TEXMFLOCAL内)をアクティブにする最も簡単な方法です。アクティブにするフォントがホームディレクトリにある場合は、上記と並行して、それぞれのマップ行を$HOME/texmf/web2c/updmap.cfgに入れ、updmap(ユーザーとして)を呼び出します。ただし、システムフォントが変更されるたびに実行する必要があることに注意してください(ユーザー固有のファイルとシステム全体のupdmap(-sys)生成ファイルとの自動同期はありません)。

あなたの場合、lmodernの最新バージョン(Quantalの場合は2.004.2-1)をインストールするだけで十分です。その後update-updmapを実行すると、警告が消えます。

6
qbi