在我的虚拟专用服务器上安装 Sphinx Search

在我的虚拟专用服务器上安装 Sphinx Search

我正在尝试在运行 Debian GNU/Linux 的虚拟专用服务器上安装 sphinxsearch。它似乎依赖于 upstart-job。这是我尝试运行安装程序时得到的输出。

[ps64518]$ sudo dpkg -i sphinxsearch_2.0.4-oneric_amd64.deb
Selecting previously deselected package sphinxsearch.
(Reading database ... 149083 files and directories currently installed.)
Unpacking sphinxsearch (from sphinxsearch_2.0.4-oneric_amd64.deb) ...
dpkg: dependency problems prevent configuration of sphinxsearch:
 sphinxsearch depends on upstart-job; however:
  Package upstart-job is not installed.
dpkg: error processing sphinxsearch (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 sphinxsearch

当我尝试使用 apt-get 安装 upstart 时,我得到以下输出:

[ps64518]$ sudo apt-get install libnih1 libnih-dbus1 upstart
Reading package lists... Done
Building dependency tree   
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 upstart : Conflicts: sysvinit but 2.88dsf-13.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我将这场冲突追溯到一个问题https://unix.stackexchange.com/questions/6042/upstart-on-debian,这似乎是安装 sphinxsearch 的一个非常极端的措施。我做错了什么吗?有人能告诉我如何在我的生产服务器上安装吗?它在我的 Ubuntu 11.10 开发笔记本电脑上运行良好,没有任何问题。

答案1

忘记使用 dpkg 安装 - 从源代码构建并自行运行 searchd 更简单。这对我来说效果更好。

相关内容