ヘルプを参照しようとしたり、「これは何であるか?」機能を使おうとしようとしたらエラーが出る。
環境
- Ubuntu 18.04
- FreeCAD 0.18.4
FreeCAD は、Ubuntuのパッケージは旧い(0.16.6712+dfsg1-1ubuntu2)ので、公式サイト
に従って PPA stable をインストールしている。
Document パッケージをインストールすればいいのかな?
$ sudo apt-cache search freecad
freecad - Extensible Open Source CAx program
freecad-common - Extensible Open Source CAx program - common files
freecad-python2 - Extensible Open Source CAx program - Python 2 binaries
freecad-python3 - Extensible Open Source CAx program - Python 3 binaries
freecad-runtime - Extensible Open Source CAx program - runtime files
libfreecad-python2-0.18 - Extensible Open Source CAx program - Python 2 library files
libfreecad-python3-0.18 - Extensible Open Source CAx program - Python 3 library files
うーん、Documentパッケージは無さそうですね
dailyを使えばいいのかな?
freecadのフォーラムの投稿、「Manual where?」
によると、
Re: Manual where?
Postby KC7NOA » Fri Sep 21, 2018 5:26 pmOk ...
Yes the freecad-daily-doc install worked and can be found while a running instance of freecad-daily ...
thanks for all the help ....
$ sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
$ sudo apt-get update
ヒット:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease
$ sudo apt-get install freecad-daily-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
パッケージ freecad-daily-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
freecad-daily-common
E: パッケージ 'freecad-daily-doc' にはインストール候補がありません
nanbuwks@nanbuwks-ThinkPad-X230-Tablet:$ sudo apt-get install freecad-daily-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
パッケージ freecad-daily-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
freecad-daily-common
E: パッケージ 'freecad-daily-doc' にはインストール候補がありません
と出る。ちなみに、今まで使っていた daily ではないFreeCADでも freecad-docは用意されていない。
$ sudo apt-get install freecad-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
パッケージ freecad-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
freecad-common
E: パッケージ 'freecad-doc' にはインストール候補がありません
Ubuntu の問題かな?
https://wiki.freecadweb.org/Install_on_Unix
には、
Note: due to packaging problems, in certain versions of Ubuntu the freecad-doc package has collided with the installation of FreeCAD or one of its dependencies; if this is the case, remove the freecad-doc package, and only install the freecad package. If the freecad-doc package doesn't exist, then ignore it.
とある。 freecad-doc パッケージが無ければ無視しろとある。う〜む。
最近のフォーラムの投稿を探してみる
Nov 28, 2019 のフォーラム投稿
「The "What's this icon" Icon never worked for me on Linux」
https://forum.freecadweb.org/viewtopic.php?f=3&t=41271&p=350493&hilit=%2Fusr%2Fshare%2Fdoc%2Ffreecad+doc%2Ffreecad.qhc#p350493
のスレッドによると、
It's unfortunate, but there were some issues with the freecad-doc package in the past, so I guess it is not available at the moment.
によると、freecad-doc パッケージは使用不能になっているみたい。
対応策
先のスレッドによると、
https://launchpad.net/~freecad-community/+archive/ubuntu/ppa/+sourcepub/9475380/+listing-archive-extra
には 0.17 のドキュメントパッケージがあるらしいので、
freecad-doc-en_0.17.20180719-0ppa2~ubuntu18.04_all.deb (329.0 MiB)
をダウンロードして以下のようにインストールできた
$ sudo dpkg -i freecad-doc-en_0.17.20180719-0ppa2_ubuntu18.04_all.deb
以前に未選択のパッケージ freecad-doc-en を選択しています。
(データベースを読み込んでいます ... 現在 321307 個のファイルとディレクトリがインストールされています。)
freecad-doc-en_0.17.20180719-0ppa2_ubuntu18.04_all.deb を展開する準備をしています ...
freecad-doc-en (1:0.17.20180719-0ppa2~ubuntu18.04) を展開しています...
freecad-doc-en (1:0.17.20180719-0ppa2~ubuntu18.04) を設定しています ...
update-alternatives: /usr/share/doc/freecad-doc/freecad.qch (freecad-doc) を提供するために自動モードで /usr/share/doc/freecad-doc-en/freecad-en.qch を使います
0.17の内容だけどヘルプが出るようになりました
freecad-doc_0.17.20180719.orig.tar.gz (186.1 MiB)
もあるので、試してませんが他のアーキテクチャの人はこちらを解凍して適当なディレクトリに配置すれば使えるかも知れません。
なお、先のスレッドには freecad-doc パッケージが用意できてない理由として以下のようにあります。
I haven't had a chance to finish up working on the freecad-doc packaging fix, last time I tried the script to update by scraping the wiki was failing.
ということは help の元データは wiki なのかな・・・ ということで、最新の情報についてはここを見ることにしました。
https://wiki.freecadweb.org/Main_Page