
Ubuntu日本語フォーラム

ログインしていません。
WIndows上のVMWareでUbuntu12.04を利用しています。
ある環境で、texmakerを導入しようと思い、
apt-get isntall texmaker
したところ、texlive-baseのインストールに失敗しました。
そこで、新しく別のUbuntu12.04を作成し、そこに(ibus-mozcと)texliveの導入だけを行い、その上で、texlive-baseをinstallしてみたところ、同じ場所でインストールに失敗しました。
そこで、一旦texliveをアンインストールし、別の手順でを導入したところ、texmakerまでインストールすることができました。
得に問題が起こらなければこのままでもよかったのですが、(このときはたまたま縦書きを扱っていたので)どうやら縦書き中のベースラインが左側にあるような出力となってしまったので、元のtexlive環境に、なんとかtexmakerをインストール出来ないかと思い質問させていただきます。
texlive-baseがインストール出来なかった環境のインストール手順は以下のとおりです。(参考:http://kurikuri888.blog76.fc2.com/blog-entry-1718.html)
$ wget http://ftp.naist.jp/pub/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
$ tar zxvf install-tl-unx.tar.gz
$ cd install-tl
$ sudo ./install-tl --repository http://ftp.naist.jp/pub/CTAN/systems/texlive/tlnet/
$ sudo /usr/local/texlive/2012/bin/i386-linux/tlmgr path add
$ sudo tlmgr update --self --all
$ sudo tlmgr repository add http://www.tug.org/~preining/tlptexlive/ tlptexlive
$ sudo mkdir -p /usr/local/texlive/texmf-local/tlpkg
$ sudo touch /usr/local/texlive/texmf-local/tlpkg/pinning.txt
$ echo 'tlptexlive:pxdvi*,pmetapost*' | sudo tee -a /usr/local/texlive/texmf-local/tlpkg/pinning.txt
$ sudo tlmgr install pxdvi pmetapost
$ sudo tlmgr path add
texlive-baseがインストールできた環境の手順は以下の通りです。(参考:https://forums.ubuntulinux.jp/viewtopic.php?id=14547)
$ sudo apt-add-repository ppa:texlive-backports/ppa
$ sudo apt-get update
$ sudo apt-get install texlive-lang-cjk
ただ、実際には、前の環境を削除してから行ったので、
$ sudo tlmgr uninstall
$ sudo apt-add-repository ppa:texlive-backports/ppa
$ sudo apt-get update
$ sudo apt-get install texlive-lang-cjk
という手順です。
最後にtexlive-baseをインストールしようとしたときの出力を載せます。よろしくお願いします。
パッケージリストを読み込んでいます...
依存関係ツリーを作成しています...
状態情報を読み取っています...
以下の特別パッケージがインストールされます:
gettext intltool-debian libgettextpo0 libmail-sendmail-perl
libsys-hostname-long-perl libunistring0 lmodern luatex po-debconf tex-common
texlive-binaries texlive-common texlive-doc-base texlive-luatex
提案パッケージ:
gettext-doc libmail-box-perl debhelper perl-tk
以下のパッケージが新たにインストールされます:
gettext intltool-debian libgettextpo0 libmail-sendmail-perl
libsys-hostname-long-perl libunistring0 lmodern luatex po-debconf tex-common
texlive-base texlive-binaries texlive-common texlive-doc-base texlive-luatex
アップグレード: 0 個、新規インストール: 15 個、削除: 0 個、保留: 0 個。
47.6 MB のアーカイブを取得する必要があります。
この操作後に追加で 105 MB のディスク容量が消費されます。
続行しますか [Y/n]? 取得:1 http://jp.archive.ubuntu.com/ubuntu/ precise/main libunistring0 i386 0.9.3-5 [432 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu/ precise/main libgettextpo0 i386 0.18.1.1-5ubuntu3 [118 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu/ precise/main tex-common all 2.10 [709 kB]
取得:4 http://jp.archive.ubuntu.com/ubuntu/ precise/main lmodern all 2.004.1-3.1ubuntu1 [17.8 MB]
取得:5 http://jp.archive.ubuntu.com/ubuntu/ precise/main gettext i386 0.18.1.1-5ubuntu3 [1,122 kB]
取得:6 http://jp.archive.ubuntu.com/ubuntu/ precise/main intltool-debian all 0.35.0+20060710.1 [31.6 kB]
取得:7 http://jp.archive.ubuntu.com/ubuntu/ precise/main libsys-hostname-long-perl all 1.4-2 [11.4 kB]
取得:8 http://jp.archive.ubuntu.com/ubuntu/ precise/main libmail-sendmail-perl all 0.79.16-1 [26.5 kB]
取得:9 http://jp.archive.ubuntu.com/ubuntu/ precise/main luatex i386 0.70.1-1ubuntu1 [2,366 kB]
取得:10 http://jp.archive.ubuntu.com/ubuntu/ precise/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB]
取得:11 http://jp.archive.ubuntu.com/ubuntu/ precise/main texlive-common all 2009-15 [94.4 kB]
取得:12 http://jp.archive.ubuntu.com/ubuntu/ precise/main texlive-doc-base all 2009-2 [1,339 kB]
取得:13 http://jp.archive.ubuntu.com/ubuntu/ precise/main texlive-binaries i386 2009-11ubuntu2 [7,664 kB]
取得:14 http://jp.archive.ubuntu.com/ubuntu/ precise/main texlive-base all 2009-15 [14.7 MB]
取得:15 http://jp.archive.ubuntu.com/ubuntu/ precise/main texlive-luatex all 2009-15 [975 kB]
パッケージを事前設定しています ...
47.6 MB を 57秒 で取得しました (823 kB/s)
以前に未選択のパッケージ libunistring0 を選択しています。
(データベースを読み込んでいます ...
(データベースを読み込んでいます ... 5%
(データベースを読み込んでいます ... 10%
(データベースを読み込んでいます ... 15%
(データベースを読み込んでいます ... 20%
(データベースを読み込んでいます ... 25%
(データベースを読み込んでいます ... 30%
(データベースを読み込んでいます ... 35%
(データベースを読み込んでいます ... 40%
(データベースを読み込んでいます ... 45%
(データベースを読み込んでいます ... 50%
(データベースを読み込んでいます ... 55%
(データベースを読み込んでいます ... 60%
(データベースを読み込んでいます ... 65%
(データベースを読み込んでいます ... 70%
(データベースを読み込んでいます ... 75%
(データベースを読み込んでいます ... 80%
(データベースを読み込んでいます ... 85%
(データベースを読み込んでいます ... 90%
(データベースを読み込んでいます ... 95%
(データベースを読み込んでいます ... 100%
(データベースを読み込んでいます ... 現在 148916 個のファイルとディレクトリがインストールされています。)
(.../libunistring0_0.9.3-5_i386.deb から) libunistring0 を展開しています...
以前に未選択のパッケージ libgettextpo0 を選択しています。
(.../libgettextpo0_0.18.1.1-5ubuntu3_i386.deb から) libgettextpo0 を展開しています...
以前に未選択のパッケージ tex-common を選択しています。
(.../tex-common_2.10_all.deb から) tex-common を展開しています...
以前に未選択のパッケージ lmodern を選択しています。
(.../lmodern_2.004.1-3.1ubuntu1_all.deb から) lmodern を展開しています...
以前に未選択のパッケージ gettext を選択しています。
(.../gettext_0.18.1.1-5ubuntu3_i386.deb から) gettext を展開しています...
以前に未選択のパッケージ intltool-debian を選択しています。
(.../intltool-debian_0.35.0+20060710.1_all.deb から) intltool-debian を展開しています...
以前に未選択のパッケージ libsys-hostname-long-perl を選択しています。
(.../libsys-hostname-long-perl_1.4-2_all.deb から) libsys-hostname-long-perl を展開しています...
以前に未選択のパッケージ libmail-sendmail-perl を選択しています。
(.../libmail-sendmail-perl_0.79.16-1_all.deb から) libmail-sendmail-perl を展開しています...
以前に未選択のパッケージ luatex を選択しています。
(.../luatex_0.70.1-1ubuntu1_i386.deb から) luatex を展開しています...
以前に未選択のパッケージ po-debconf を選択しています。
(.../po-debconf_1.0.16+nmu2ubuntu1_all.deb から) po-debconf を展開しています...
以前に未選択のパッケージ texlive-common を選択しています。
(.../texlive-common_2009-15_all.deb から) texlive-common を展開しています...
以前に未選択のパッケージ texlive-doc-base を選択しています。
(.../texlive-doc-base_2009-2_all.deb から) texlive-doc-base を展開しています...
以前に未選択のパッケージ texlive-binaries を選択しています。
(.../texlive-binaries_2009-11ubuntu2_i386.deb から) texlive-binaries を展開しています...
以前に未選択のパッケージ texlive-base を選択しています。
(.../texlive-base_2009-15_all.deb から) texlive-base を展開しています...
以前に未選択のパッケージ texlive-luatex を選択しています。
(.../texlive-luatex_2009-15_all.deb から) texlive-luatex を展開しています...
doc-base のトリガを処理しています ...
Processing 4 added doc-base files...
man-db のトリガを処理しています ...
fontconfig のトリガを処理しています ...
install-info のトリガを処理しています ...
libunistring0 (0.9.3-5) を設定しています ...
libgettextpo0 (0.18.1.1-5ubuntu3) を設定しています ...
tex-common (2.10) を設定しています ...
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/80DVIPDFMx.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
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
lmodern (2.004.1-3.1ubuntu1) を設定しています ...
gettext (0.18.1.1-5ubuntu3) を設定しています ...
intltool-debian (0.35.0+20060710.1) を設定しています ...
libsys-hostname-long-perl (1.4-2) を設定しています ...
libmail-sendmail-perl (0.79.16-1) を設定しています ...
luatex (0.70.1-1ubuntu1) を設定しています ...
texlive-base is not ready, cannot create formats
po-debconf (1.0.16+nmu2ubuntu1) を設定しています ...
texlive-common (2009-15) を設定しています ...
texlive-doc-base (2009-2) を設定しています ...
texlive-binaries (2009-11ubuntu2) を設定しています ...
update-alternatives: /usr/bin/xdvi.bin (xdvi.bin) を提供するために 自動モード で /usr/bin/xdvi-xaw を使います。
update-alternatives: /usr/bin/bibtex (bibtex) を提供するために 自動モード で /usr/bin/bibtex.original を使います。
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
Building format(s) --refresh.
This may take some time... done.
tex-common のトリガを処理しています ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
texlive-base (2009-15) を設定しています ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
texconfig: unknown option `paperconf' given as argument for `texconfig dvips'
texconfig: try `texconfig dvips' for help
texconfig: unknown option `paperconf' given as argument for `texconfig dvipdfmx'
texconfig: try `texconfig dvipdfmx' for help
texconfig: unknown option `paperconf' given as argument for `texconfig xdvi'
texconfig: try `texconfig xdvi' for help
texconfig: unknown option `paperconf' given as argument for `texconfig pdftex'
texconfig: try `texconfig pdftex' for help
Creating config file /etc/texmf/dvips/config/config.ps with new version
Creating config file /etc/texmf/tex/generic/config/pdftexconfig.tex with new version
Creating config file /etc/texmf/dvipdfmx/dvipdfmx.cfg with new version
Creating config file /etc/texmf/xdvi/XDvi with new version
texconfig: unknown option `paperconf' given as argument for `texconfig dvips'
texconfig: try `texconfig dvips' for help
dpkg: texlive-base の処理中にエラーが発生しました (--configure):
サブプロセス インストール済みの post-installation スクリプト はエラー終了ステータス 1 を返しました
dpkg: 依存関係の問題により texlive-luatex の設定ができません:
texlive-luatex は以下に依存 (depends) します: texlive-base (>= 2009-1) ...しかし:
パッケージ texlive-base はまだ設定されていません。
dpkg: texlive-luatex の処理中にエラーが発生しました (--configure):
依存関係の問題 - 設定を見送ります
libc-bin のトリガを処理しています ...
ldconfig deferred processing now taking place
以下のパッケージの処理中にエラーが発生しました:
texlive-base
texlive-luatex
オフライン
texlive のインストールについて 「Ubuntu 日本語フォーラム」 に質問したことがあるので検索してください。
最新日(最後)に解決策が書いてあります。
初心者サポート>> ubuntu11.10上に日本語TeX環境を構築 ysato
Ubuntu 12.04 用のバイナリファイルが用意されています。
オフライン
ysato 様
ありがとうございます。
そもそも、texlive-baseのインストールはもう必要なかったのですね。
以下の手順で解決しました。
1.texliveをインストールした環境で、以下の操作を行う。
$ sudo apt-get install equivs
$ wget http://www.tug.org/texlive/files/debian-control-ex.txt
$ equivs-build debian-control-ex.txt
$ sudo dpkg -i texlive-local_2011-1~1_all.deb
2.texmakerのインストールを試す。
$ sudo apt-get install texmaker
ありがとうございました。
オフライン