之前,我碰巧查阅了本地 HTML 文档,
/usr/share/doc/HTML/
安装该包后应该可以在该文档下找到dhelp
。
但是,自从运行 Xubuntu LTS 14.04 以来,这个dhelp
包就无法再安装。有人知道为什么吗?
PS:该软件包dwww
可用。但是,我不想为此而安装 Apache 服务器。
$ dhelp
The program 'dhelp' is currently not installed. You can install it by typing:
sudo apt-get install dhelp
$ sudo apt-get install dhelp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dhelp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'dhelp' has no installation candidate
$ dpkg -l dhelp
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================================-======================-======================-==========================================================================
un dhelp <none> <none> (no description available)
答案1
自 Trusty 以来,该软件包dhelp
一直不可用:您可以:
尝试安装 Precise 版本,但是我没有 Trusty 来测试,抱歉;)
wget http://mirrors.kernel.org/ubuntu/pool/universe/d/dhelp/dhelp_0.6.20ubuntu1_all.deb sudo dpkg -i dhelp_0.6.20ubuntu1_all.deb
尝试安装
dwww
而不安装apache2
:可以强制安装dwww
而不安装依赖项,但这是我不愿意在我的系统上测试的其他东西,抱歉!apt-get download dwww sudo dpkg -i --force-all dwww_1.12.1_amd64.deb
因此,在尝试上述任何操作之前,最好先进行系统备份解决方法... ;-)