在 Ubuntu 10.04 上安装 Jabber 服务器时出错

在 Ubuntu 10.04 上安装 Jabber 服务器时出错

我在 Ubuntu 10.04 上设置 Jabber 服务器时遇到一些问题

root@li240-199:/home/ioudas/jabberd14-1.6.1.1# apt-get install jabber
Reading package lists... Done
Building dependency tree
Reading state information... Done
jabber is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up jabberd14 (1.6.1.1-5) ...
chown: cannot access `/etc/jabber/jabber.xml': No such file or directory
dpkg: error processing jabberd14 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jabber:
 jabber depends on jabberd14; however:
  Package jabberd14 is not configured yet.
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: error processing jabber (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 jabberd14
 jabber
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

看来您已将 apt-get 配置为不要求输入配置数据。请尝试运行sudo dpkg --configure jabberd14以配置 jabberd14。

或者,您可以尝试dpkg-reconfigure jabberd14进行配置。

尝试运行dpkg-reconfigure debconf以查看您是否已将界面设置为非交互式,这将在安装新软件包时关闭所需配置数据的提示。

相关内容