libreplan:依赖:tomcat6 但是不会安装

libreplan:依赖:tomcat6 但是不会安装

我尝试在 14.04 服务器系统上安装 Libreplan,使用的步骤如下Libreplan 网站本指南

我可以毫无问题地添加 PPA,但是当我使用该sudo apt-get install libreplan命令时,出现以下错误消息。

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libreplan : Depends: tomcat6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

安装能tomcat6解决这个问题吗?如果能,能和 tomcat7 一起安装吗?还是还有我不知道的问题?

编辑:我没有收到任何来自sudo apt-get update或的错误消息sudo apt-get dist-upgrade

以下是生成的错误消息sudo apt-get install libreplan

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 tomcat6 : Depends: tomcat6-common (>= 6.0.39-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

答案1

是的,你可以并且应该tomcat6同时安装该软件包tomcat7来解决你的问题。两个软件包可以同时安装。

但该软件包应该会自动安装。我怀疑你还有更多问题。

因此,运行

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install tomcat6

并将错误消息添加到您的问题中。

答案2

sudo apt-get install libtomcat6-java 
sudo apt-get install tomcat6

这可以解决您的问题。即使已经安装了 tomcat7,您也可以安装 tomcat6。

相关内容