![在 Lucid 上安装 dnsproxy 时出现问题](https://linux22.com/image/539082/%E5%9C%A8%20Lucid%20%E4%B8%8A%E5%AE%89%E8%A3%85%20dnsproxy%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我正在尝试在 Ubuntu 10.04 64 位服务器上安装 dnsproxy,但是失败了。
root@some:/etc/apache2/mods-enabled# aptitude install dnsproxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
dnsproxy libevent-1.4-2{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 78.0kB of archives. After unpacking 299kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main libevent-1.4-2 1.4.13-stable-1 [61.4kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe dnsproxy 1.15-6build1 [16.6kB]
Fetched 78.0kB in 0s (80.8kB/s)
Selecting previously deselected package libevent-1.4-2.
(Reading database ... 50972 files and directories currently installed.)
Unpacking libevent-1.4-2 (from .../libevent-1.4-2_1.4.13-stable-1_amd64.deb) ...
Selecting previously deselected package dnsproxy.
Unpacking dnsproxy (from .../dnsproxy_1.15-6build1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libevent-1.4-2 (1.4.13-stable-1) ...
Setting up dnsproxy (1.15-6build1) ...
* Starting dnsproxy dnsproxy /usr/sbin/dnsproxy: symbol lookup error: /usr/sbin/dnsproxy: undefined symbol: event_sigcb
[fail]
invoke-rc.d: initscript dnsproxy, action "start" failed.
dpkg: error processing dnsproxy (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
dnsproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dnsproxy (1.15-6build1) ...
* Starting dnsproxy dnsproxy /usr/sbin/dnsproxy: symbol lookup error: /usr/sbin/dnsproxy: undefined symbol: event_sigcb
[fail]
invoke-rc.d: initscript dnsproxy, action "start" failed.
dpkg: error processing dnsproxy (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dnsproxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
有人知道为什么会失败吗?
答案1
初始化dnsproxy
脚本失败。为什么...嗯,这个问题很难回答,但如果某些东西没有干净地安装,那么它就是一个错误,应该报告。您可以通过运行它并查看发生了什么来更清楚地了解初始化脚本发生了/bin/sh -x /etc/init.d/dnsproxy start
什么。