
Ubuntu日本語フォーラム

ログインしていません。
Lubuntu において発生したことなのですが
(現在は 13.10 ですが、多分アップグレード前の 13.04 の時に起こったと思います)
TeX 一式を使えるようにしたいと思い
texlive, texlive-lang-cjk, texlive-math-extra, texlive-fonts-recommended,
TeXworks, pxdvi,texlive-science,texlive-math-extra
とその依存パッケージを全てインストールしました。
しかし、Synaptic において
texlive-lang-cjk
が破損している、というように表示されていたのです。
今また Synaptic で見てみても特にそういう表示はなかったのですが、
まだ日本語文書のコンパイルはうまくいっていません。
ただ、これは設定の問題の可能性が大です。
texlive-lang-cjk の破損についての報告は
他にどこかでなされていますでしょうか?
心配していることはソースコードやレポジトリに問題がないかどうか、ということです。
他に同じ報告がなければ
当方のシステムが何かの不良を抱えているだけでしょうから、
再インストールしなければいけません。
オフライン
レスが付かないようですので書き足しておきます。
以前にUbuntuにおいてtexをインストールした時は
自分もソースをコンパイルしてインストールしました。
こういう方が多いのかなとも思いましたが・・・
APT経由で texlive-lang-cjk をインストールした方は
問題なく使えていますでしょうか?
オフライン
13.10をインストールした環境で、
apt-get install から texlive と texlive-lang-cjk をインストールしてみましたが
特に問題は起きていないようでした。
オフライン
popopopoonさん、kitajuさん、レスありがとうございます。
Lubuntu では
/etc/apt/sources.list
を「ソフトウェアとアップデート」(Ubuntu の「ソフトウェアソース」に相当)で開いてみると
main,universe
のみにチェックが入っている状況ですが、
texlive-lamg-cjk がインストールされております。
今回、チェックのために
Ubuntu 12.04 LTS を新規インストールしてみました。
しかし、
/etc/apt/sources.list
を「ソフトウェアソース」で開いて
「Ubuntu のソフトウェア」は
main,universe,restricted,multiverse
(texlive-lamg-cjk は universe のパッケージのようですので、こうする意味はないでしょうが)
の全てにチェックして
「他のソフトウェア」も全てにチェックしてから
$ sudo apt-get update
を実行した後に、
Synaptic で texlive-lang-cjk と入力してもパッケージが表示されない、
という訳の分からない状況になっております。
texlive と入力した場合は様々なパッケージが表示されますので、
Synaptic が壊れているわけではありません。
LinuxMint13 においても同じ状況です。
ちなみに、Ubuntu の /etc/apt/sources.list を
gedit で開いた内容も念のために貼り付けておきます。
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ precise main restricted multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ precise main restricted multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ precise universe
deb http://jp.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://security.ubuntu.com/ubuntu precise-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted multiverse
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
オフライン
こんにちは。
問題それ自体とは関係ないのでしょうけれど
ext-goki による投稿:
今回、チェックのために
Ubuntu 12.04 LTS を新規インストールしてみました。
しかし、
/etc/apt/sources.list
を「ソフトウェアソース」で開いて
「Ubuntu のソフトウェア」は
main,universe,restricted,multiverse
(texlive-lamg-cjk は universe のパッケージのようですので、こうする意味はないでしょうが)
の全てにチェックして
「他のソフトウェア」も全てにチェックしてから
$ sudo apt-get update
を実行した後に、
Synaptic で texlive-lang-cjk と入力してもパッケージが表示されない、
という訳の分からない状況になっております。
当該パッケージは 13.10 13.04 12.10 の3つのリリースバージョンで提供されており 12.04 LTS には入っていませんので、12.04 LTS で検索にかからないのは正常な結果だといえます。
https://apps.ubuntu.com/cat/applications/texlive-lang-cjk/
オフライン
texlive-backportsというPPAを導入すれば12.04でも使えるはずですよ。
例えばこんな記事。
http://xr0038tech.hatenadiary.jp/entry/20130326/1364308990
オフライン
Ubuntu 12.04 は LTS としては最新のものなので
重要なパッケージはPPAの設定をしなくても
当然用意されているものと思いこんでおりました。
LinuxMint 16 (Ubuntu 13.10 がベース)において試してみたのですが、
無事に texlive-lang-cjk をインストールすることができました。
簡単な日本語のtexソースのコンパイル、pdfの生成までできました。
Mint 16 でのこのパッケージの情報は
Synaptic では
メンテナ:Ubuntu Developers
バージョン:2013.20130722-1
となっておりまして、Lubuntu のものと同一のようです。
以前に破損の表示がされていた Lubuntu においても、
簡単な日本語のtexソースをコンパイルできて
ちゃんとpdfが生成されました。
また、Synaptic で
カスタムフィルタ>破損
の項を見てみても、現在は全く何も表示されません。
少し長い日本語texソースのコンパイルがうまくいかないのは、
もうちょっと時間をかけて調べてみればよさそうで、
また別の問題のようです。
なぜパッケージが破損した状態になり、
いつのまに直ったのかはよく分からないのですが。
とりあえずコンパイルはできるようなので、
破損についてはあまり気にしなくても良いのでしょうか。
オフライン