一千萬個為什麽

搜索

Raspbmc - 安裝缺少的手冊頁?

我運行RaspBMC。 如果我沒記錯的話,默認情況下不會使用RaspBMC安裝 man 實用程序(盡管我可能會弄錯)。 問題是,在安裝實際的 man 實用程序之前安裝的軟件包不會安裝他們的手冊頁。這包括預先安裝在系統中的軟件包。 示例:我嘗試使用udisks-glue(已預先安裝) $ man udisks-glue No manual entry for udisks-glue

重新安裝該軟件包後,手冊頁就在那裏。 $ apt-get remove udisks-glue $ apt-get install udisks-glue $ man udisks-glue [Man page gets displayed]

The question is: can I somehow install all the missing man pages easily? 從我所看到的,安裝手冊頁是為每個 apt-get install 命令運行的一個步驟: Unpacking udisks-glue (from .../udisks-glue1.3.4-1armhf.deb) ... Processing triggers for man-db ... [...]

使用分而治之,我認為這可以通過以下方式獲得:

getting a list of all installed packages ( dpkg -l | grep ??? | cut ??? | ??? ) finding a way to tell apt-get to re-install a package without messing with the config (a remove + install kinda fits the bill, but I don't think it plays nice with dependencies) EDIT: this should do it: sudo apt-get install --reinstall packagename run 2. over each item in 1.

最佳答案

據我所知,安裝程序也會安裝其手冊頁,所以AFAIK你必須卸載並重新安裝你想要手冊頁的任何程序。 Or, option 2, you can look on the either http://www.linuxmanpages.com or manpages.debian.net, and read them there. I would go for the manpages.debian.net, as Raspbmc (and Raspbian) is based off Debian, so that site would be the closest you would get to an official Raspbmc/Raspbian man page site.

轉載註明原文: Raspbmc - 安裝缺少的手冊頁?